superuser password change


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers superuser password change
# 1  
Old 04-08-2002
Question superuser password change

how can i change the superuser password?

the admin left the company, and we want to change the password.

to gain su access, i use:
# su -
password:***** (old password)

then, using passwd command it changes my own login password, not the root??

(this is not trying to block anybody's access, it' s just that the guy left without cleaning up and turning over some stuff...)

thanks a lot.
# 2  
Old 04-08-2002
Use # passwd root
thehoghunter
# 3  
Old 04-08-2002
I know this goes without saying, but I will say it.

If you can't su to root, you will have to reboot to single user mode and then execute " passwd root " to change the password. I know that my company has a policy about changing the password/door locks whenever an SA leaves the company.

Also, I think by how you framed the question, that I am assuming that your system is logged in at the console.

I try to never leave the console logged in. just to be safe. I would advise, if that is possible, don't leave root logged in, unless you system is physically secure.
# 4  
Old 04-09-2002
thanks for the tips and answers...
# 5  
Old 04-13-2002
Our company requires root and admin passwd changes every 30 days. It is a real pita! But yes, "passwd root" works. If you are running NIS+ there are a couple other steps to fix the secure RPC passwd (chgkey -p ; nisping org_dir ; keylogin -r).
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies

2. AIX

Change password to blank password

AIX 6.1 User has a password set. It needs to be a blank password (no password). smit passwd enter user name at change password and confirm password, just press ENTER Afterwards, I could not log on with blank password or with original password. How can I change the password to a... (2 Replies)
Discussion started by: landog
2 Replies

3. Linux

Change password

Hello People, How can i make linux's ssh ask a new password when the user's password is expired? I have some linux servers with this feature working, but other aren't. I've already tried to use chage -D 0 and other arguments, but it's not working as I expected. (1 Reply)
Discussion started by: alfastar
1 Replies

4. Shell Programming and Scripting

Change of password

Hi, How can I reset the password for the root on every month that needs to send an email after the password change Via shell script. (5 Replies)
Discussion started by: gsiva
5 Replies

5. Solaris

Reset lost superuser/root password in x86

I've come across this question during interview as Sys Adm. "How you reset lost root/superuser password on x86 system running solaris (8/9/10) which remotely located. (Not locally in front of you)" As much as I know, you must be physically in front of the server to reset the lost... (4 Replies)
Discussion started by: shahru
4 Replies

6. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

7. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

8. Post Here to Contact Site Administrators and Moderators

how to change password?

for my membershi id in this site. :) Regards Indrajit (6 Replies)
Discussion started by: ipzig
6 Replies

9. UNIX for Dummies Questions & Answers

Change password by pushing encrypted password to systems

I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong. The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies
Login or Register to Ask a Question