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

Re: howto make root emacs open in X



On Sun, Jan 11, 2009 at 03:38:30PM -0700, Paul E Condon wrote:
> On Sun, Jan 11, 2009 at 12:48:48PM +0900, Osamu Aoki wrote:
> > On Sat, Jan 10, 2009 at 04:04:03PM -0600, Harry P wrote:
> > > Osamu Aoki <osamu@debian.org> writes:
> > > > On Sat, Jan 10, 2009 at 09:26:07AM -0600, Harry P wrote:
> > > >> Axel Freyn <axel-freyn@gmx.de> writes:
> > > >> > Why do you use ssh to connect to the local machine? I would propose to
> > > > Point of Axel is use of SSH wastes CPU resource while gaining nothing.
> > > > His suggestion is more efficient.  .. I think.
> > > Setting the issue of whether you have to type out a passwd aside:
> > 
> > Hmmm... you must have set up passwordless SSH to root.  I hope this sshd
> > is not accessible from Internet.  You may be attacked easily.
> > 
> 
> I did it with localhost public key in /root/.ssh/known_hosts and my 
> user pub key in /root/.ssh/authorized_keys .

Sorry I have come in a bit late and the answer might have been given
previously.


But isn't it the same as using sudo, sudo caches your password (access)
for a user specified amount of time. Both methods seem to require a
password sudo can be setup to limit access what command and files can be
edited.

and as for X access I can run sudo xterm from my machine and a root
xterm pop's up on my X, what doesn't work is sudo su - and then xterm
but there is a simple work around for that as well - set XAUTHORITY and
DISPLAY

Alex

> 
> 
> -- 
> Paul E Condon           
> pecondon@mesanetworks.net
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
"The legislature's job is to write law. It's the executive branch's job to interpret law."

	- George W. Bush
11/22/2000
Austin, TX

Attachment: signature.asc
Description: Digital signature


Reply to: