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

Re: Root login in graphical enviroment



On Wed, 2002-07-31 at 22:13, martin f krafft wrote:
> also sprach Crispin Wellington <crispin@aeonline.net> [2002.07.31.1533 +0200]:
> > Yeh. Maybe it doesn't. I have PermitRootLogin yes in
> > /etc/ssh/sshd_config though. I may have changed it. Cant remember.
> 
> you did. bad idea. 

Why is it a bad idea? Any compromise of ssh will give the user root
anyway because it runs at user level root.

> why need it?

X forwarding.

I use ssh-agent, with 

alias root='ssh -X root@localhost'

And my key in root's authorized_keys.

Saves constantly retyping the password

> sudo sudo sudo sudo sudo!

xauth xauth xauth xauth!

Or do you use xhost +localhost (shudder).

Crispin




Reply to: