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

Re: su question



On Fri, Jul 07, 2000 at 11:22:38PM +0200, gianluca@pluto.linux.it wrote
> On Fri, Jul 07, 2000 at 03:14:55PM +0200, tom wrote:
> >  howdy guys,
> > 
> > This is one of those things that has
> > been pestering me. while logged in as a user in x, how can I
> > edit files that require su privilages? (like /etc/fstab). I
> > usually su from eterm and "jed filename". can I su from within
> > emacs? nedit?
> 
> I use this method
> 
> [Gianluca][~] => xhost + localhost
> localhost being added to access control list
> [Gianluca][~] => su
> Password:
> [ROOT][gianluca] # 
> 

Not so good if there are other users logged into the
workstation.  I prefer
$ ssh -l root localhost

if I want to run X applications as root while logged in as
an ordinary user.  Easy to remember, and it just works.


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Reply to: