GNOME panel and sudo
Dennis Kaarsemaker
dennis at kaarsemaker.net
Mon Jul 18 05:09:18 CDT 2005
On ma, 2005-07-18 at 11:17 +0200, Vincent Untz wrote:
> On Mon, July 18, 2005 9:05, Armin Ronacher said:
> > Dennis Kaarsemaker schrieb:
> >>
> >> gdm runs as root, it could do sudo -l -u $USER and pass that information
> >> to the session somehow.
> >>
> > Thats wrong. GDM has his own user, called "gdm"
>
> That's true, but you're wrong :-)
> IIRC, GDM is running a daemon as 'root' and a frontend as 'gdm'.
Indeed:
dennis at mirage ~ $ ps aux | grep gdm
root 7976 0.0 0.4 8812 2308 ? Ss Jul17
0:00 /usr/bin/gdm
root 7986 0.0 0.5 9140 2756 ? S Jul17
0:00 /usr/bin/gdm
root 8021 1.3 7.3 41648 37844 ? SL Jul17
20:54 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth
-nolisten tcp vt7
dennis 11396 0.0 0.1 2888 736 pts/2 S+ 12:06 0:00 grep
gdm
--
Dennis K.
- Linux for human beings: http://www.ubuntulinux.org
- Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050718/9a0a2abe/attachment.pgp
More information about the ubuntu-devel
mailing list