Management of root password in Linux & Unix environment

5 pts.
Tags:
Linux administration
Password management
Unix administration
Any reference available on best practices for managing root access & passwords in unix & linux env. ?

 

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Google for linux/unix system administration will be a good idea. But here I tell you some tips.

1. Try to never use root password to do sysadmin tasks. Instead create a special account for every task.
2. Implement the use of sudo command, read about sudoers file to see the potencial of sudo command.
3. Create groups of users, groups of commands and aliases into sudoers file and grant access using it. This way any command that is not in the file will be not available to the users.

Hope it helps.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • petkoa
    Like Mariodlg wrote, sudo is your friend... But sometimes it's necessary to log in as root. Just two suggestions for this case: (1) As root, you can set any password as weak as you decide :o)) Don't do it for the root password; (2) In pre-ssh times there was a list of "safe" (local) terminals in /etc/securetty and root was not able to log in on other (remote) terminals. Now it is obsolete, but better use sshd setting (in /etc/ssh/sshd_config), which allows root login only if a ssh key is used: PermitRootLogin without-password Of course, you have to put by some means your public key in root's authorized_keys file...
    3,120 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following