D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian 7 and sudo

 

On 14/06/13 09:18, Chris Tipney wrote:
Neil,

I am far from being an expert but...

On 14/06/2013 09:04, Neil Winchurst wrote:
I thought I would have a look at Debian so I have installed v 7 Xfce
in VBox. Since I normally use Ubuntu based distros I expected the
installation to be similar. However I was asked to provide a root
password and separately to set up a 'normal' user. Strange.

Anyway, I have been looking at it and I am well impressed so far. But,
there is always a but, I cannot work out how to run a gui program as
root. Normally for example, to run gedit as root I would enter gksudo
gedit. I would be asked for the password and away we go.

Gksudo is not recognised in Debian. Also, in a terminal, I can't seem
to use sudo.
You need to add yourself to the sudo group so this is what I do:

Open the root terminal, then command

'adduser neil sudo'

close root terminal

The user neil then needs to log out and in again

now you can enter commands such as 'sudo gedit' , the sudo command will
ask for the root password of course

Hope that helps,

Chris

Any experts out there please, who can set me on the right track?

Thanks

Neil




There is no sign of a root terminal facility.

Neil

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq