[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gksu: Couldn't set environment variable...



Nigel W wrote:
> Bob Proulx wrote:
> > Raf Czlonka wrote:
> >> Sthu hadn't mentioned even once that he tries to run those as root.
> >
> > Uhm...  What?  But he did!  You must have missed that he said he
> > wanted to run them from gksu.  If you are not familiar with it that is
> > the entire purpose of gksu.  From the gksu man page:
> >
> >   gksu  is a frontend to su and gksudo is a frontend to sudo.  Their pri-
> >   mary purpose is to run graphical commands that need  root  without  the
> >   need to run an X terminal emulator and using su directly.
> >
> > Therefore, yes, he did say he wanted to run those as root.  :-) :-)
> 
> That is a huge assumption.  Both su and sudo are used to switch
> users.  Yes, the primary user that gets switched to is root, but
> that doesn't mean it is the only user that someone would switch to
> using su or sudo.
> 
> I assume gksu and gksudo both have the same ability as su and sudo.
> According the man page that I found for gksu and gksudo they both
> support same options (-u) but all of my linux systems are headless so
> I can't actually test it.

Okay.  You have caught me!  I had jumped to the conclusion that gksu
would be used to run the chromium browser as root.  I had not
considered that it would be used to run it directly as another user.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: