Never Expired for root password


 
Thread Tools Search this Thread
Operating Systems Solaris Never Expired for root password
# 8  
Old 03-05-2013
Quote:
Originally Posted by rbatte1
One wonders why you would want the root account to never need changing. This is a security risk. You should have a regular procedure to change the root password and keep it secure. If someone managed to get your encrypted password file, then a brute force attack could eventually crack the root password and then they would have full control, including locking you out.


Robin
Liverpool/Blackburn
UK
The OP never said he was never going to change the root password. He just said he didn't want the root account to have an automatic expiration.

Because automatic expiration of the root account is dumb. The only account that can fix it is root. But root's locked out because the account is expired.
# 9  
Old 03-05-2013
Have I got the wrong end of the query then? Are we talking about expiring the password, i.e. forcing it to be changed regularly or expiring the account if the password is not changed?

Fine distinction in the phrasing but a huge difference in meaning.

If I've got it wrong, then I agree, suspending the root account is generally a bad thing. I actually never log in as root though. I have appropriate privileges with sudo so it's all accountable etc. and the password is stored away for use off the console only.


Apologies if I'm got it all the gnorw yaw dnour.



Robin
# 10  
Old 03-09-2013
Never lock
Code:
usermod -K lock_after_retries=no root

Never expire
Code:
passwd -x -1 root

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Change Expired root Password

Hello everybody, hope you all are having a good day. Here is our (my) situation... We have a process where we clone Solaris 8 hard disk drives then have to configure each drive for the system they will be used in. In the old cloning image the root password never expired. We also have... (7 Replies)
Discussion started by: Wrongway
7 Replies

2. UNIX for Dummies Questions & Answers

Request for change password when expired

Hello folks, I have few linux machines and one server from which I can connect to others without password (of course ssh key). On some server when root password will expired is asking me for change passord but on some servers no. When I can find some configuration of this behavior? Thx for any... (1 Reply)
Discussion started by: vikus
1 Replies

3. 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

4. Solaris

Two questions on renew the expired password

Recently, the root pass expired on a Solaris box. And then, i can't log into the system anymore.....Below are two issues i met: 1. I tried to login the system via telnet and ssh. Only the ssh prompt me to set a new password. The system only told me that the pass is expired and turn it off during... (1 Reply)
Discussion started by: sleepy_11
1 Replies

5. UNIX for Dummies Questions & Answers

Password Expired - cfmupdatenode issue

Afternoon All Has anyone seen this type of thing before. Basically we had an issue where an ID that has db2 connect access tried to make the db connection and got an " Attempt to establish connection failed with security reason "1" ("PASSWORD EXPIRED"). SQLSTATE=08001" error. This I know... (0 Replies)
Discussion started by: philib
0 Replies

6. UNIX for Advanced & Expert Users

password expired

Hi When i try to login with my username/password i get the following message 'Password for user 'lmathew' has expired - use passwd(1) to update it' please let me know what to do Thanks in advane Ammu (2 Replies)
Discussion started by: ammu
2 Replies

7. UNIX for Advanced & Expert Users

root pwd expired

Dear friends, I am using linux os . my root passward has expired suddenly. in command prompt iam giving su- and password it is saying that your root password has expired . how to get my root password. anyone pls rep. rajan (3 Replies)
Discussion started by: rajan_ka1
3 Replies

8. Solaris

expired root password

We have expiration set on the root password for 30 days. the only way to login as root remotley is login as another user and then su as root. I logged in to the machine today tried to su as root, and got the message password has expired, use passwd to change but i cant get in as root.. If... (1 Reply)
Discussion started by: csaunders
1 Replies

9. UNIX for Advanced & Expert Users

Root account is expired

Hi all, I am using redhat linux version 9 .I am unable to login to the system and i am getting a warninig sorry root account is expired . How can i activate the account. (2 Replies)
Discussion started by: mallesh
2 Replies

10. AIX

AIX Non Expired Password

Hi, I am into production support and handling some of the AIX servers. We are planning to have a user id on a AIX system with non-expired password. Now the question is that if I have a non expired password then I cannot do a interactive login to AIX machine ( i:e cannot do Telnet ,SSH etc)... (0 Replies)
Discussion started by: siddhhuu
0 Replies
Login or Register to Ask a Question