Invocation of applications which require root permitions

Gian Piero Carzino gcarzino at tiscali.it
Fri Jan 6 12:51:55 UTC 2006


> Tim Frost:
> 
> 
>>>Don't use 'su -' as that does a full root login.
>>>
>>>In particular, X authentication settings are lost.
>>>
>>>Either run
>>>	su root -c synaptic
>>>  
>>>
> 
> $ su root -c synaptic
> !!! success !!! synaptic is RUNNING
> 
> 
>>>or
>>>	sudo synaptic
>>>  
>>>
> 
> $ sudo synaptic
> $
> Nothing occurs
> 

This happened to me also: installing Breezy in expert mode, and giving a
root password, makes Ubuntu NOT adding the first (administrator) user to
sudoers, thus breaking all X application that need root privileges (also
gksudo fails!)

You need adding the "administrator" user to sudoers file yourself:

add a line like:

%admin ALL=(ALL) ALL

to /etc/sudoers (as root, of course)
and check that the "administrator" (normal) user is in admin group (i.e.
listed in the line starting with "admin" of /etc/group)

-- 
Gian Piero Carzino
<gcarzino at tiscali.it>




More information about the ubuntu-users mailing list