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

Re: [cobalt-security] How do we shadow these passwords?



1. SSH in as root

You'll need to set PermitRootLogin to yes in sshd_config.  Depending on which version of ssh you run, you'll find it in /etc, /etc/ssh or /etc/ssh2.

It's a horribly insecure thing to do though.   Just ssh in as a normal user and then '/bin/su' to root. 

2.  su  to root 

By default, only admin can 'su' to root.  As a normal user, you'll need to '/bin/su - admin' and then '/bin/su -' to get root access.  Once there, you can add your userid to the wheel group (/etc/group) which will allow you to su directly to root without going through admin.

 - Dave

On Thursday, October 5, 2000, at 09:27 AM, Rod Todd wrote:
  
> Also, we can not su - from admin with the GUI admin 
> password; nor can we SSH in with the root/admin 
> passwords.  Any clues?