set up a root password

Gene Heskett gene.heskett at
Mon Jan 12 07:12:34 UTC 2009

On Wednesday 06 August 2008, Nils Kassube wrote:
>Derek Broughton wrote:
>> Gene Heskett wrote:
>> > OTOH, that shell with root priv's should somehow make itself marked
>> > as such by a border color change or something, as when popping around
>> > to the various terminal shells running, it would be too easy to hit
>> > the wrong but root shell and mess the whole thing up.
>> Can you imagine a way to do this?  It's a good idea, but I don't know
>> if it could be done.
>You could put something like this line
>[ "$UID" = 0 ] && PS1='\[\033[01m\033[41m\033[37m\]\h: \w/ #\[\033[m\] '
>in the files $HOME/.bashrc and /root/.bashrc right before this line:
>export PS1 PS2 ignoreeof
>It will give you a white prompt with red background independent of the way
>you get a root shell.

That is something I'll try, sounds neat.

Now I have another question.  The machine is 8.04 LTS with kde-4 pulled in.  I 
find that an attempt to 'ssh -l only-user' is a "connection 

I believe sshd is running as it does show up in an lsof, so why is a legit 
user not asked for his passwd, and if the given one is correct, allowed in?

Thank you.

Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
You have an ability to sense and know higher truth.

More information about the kubuntu-users mailing list