Hi I'm Kinda new to linux and in my office we have redhat 9 DNS Servers, I need to change the password on these boxes and make sure there are not any more user accounts. Can anyone let me know how to change the password and check for user accounts.
Once you log in as root or a superuser, just run passwd. This will change the password of the account you are currently logged in as.
passwd user1 will change the password for the user1 account if one exists.
To see what other user accounts are created. Look in the /etc/passwd file. This is where all account info is kept. You can look in the file by using cat or vi. so cat /etc/passwd or vi /etc/passwd.
This will show all accounts however. So system accounts will be shown too. If you want it really easy, jump into your gui and run redhat-config-users this will show you what user accounts are around.
To change a password use the "passwd" command, If they have a gui (which they prob don't). you could use "redhat-config-users" . If not you could use "userdel -r username" If you want to delete all users MAYBE userdel -r * (I'm not trying it :) )
|All times are GMT -5. The time now is 07:39 AM.|