I was thinking, maybe i'd like to disable passwords for the root user and only use keys to log in. and if i need to login without keys have a 2nd user that is like root in everyway except has a different name.Is there a way to have a 2nd root user? Is this impossible? is it a bad idea to disable passwords?
make a 2nd root?
security;login;root
Instead of creating a second root user, just give another user account privileges to use sudo. That way if the root account is hosed, you can just do sudo bash or such to have root access to the system again. Although it is better to just use sudo for individual commands...Some distro's such as Ubuntu are actually configured this way out-of-the-box, as a security measure.