Extension of passwd expiring


 
Thread Tools Search this Thread
Operating Systems Solaris Extension of passwd expiring
# 1  
Old 04-18-2008
Extension of passwd expiring

Hi all,

Anyway to reset the passwd expiring time without user having to reset it themselve? Beside altering the maximum number of days the password is valid in the shadow file, is there any other ways?
Reason, user forgot passwd and the account passwd cannot be reset, same passwd is need for existing application to login. Due to security audit reason, there is no way I can extend the max number of days the passwd expire.
Thanks
# 2  
Old 04-18-2008
the real issue you need to resolve is you have to completely incompatible requirements. 1. you can't change the password ever, if I read your statement correctly. 2. for security reasons you are required to change the password often.
You need to come to an agreement, one way or the other first. Applications are capable of having a file that's not readable by everyone that has your encrypted password, so anytime it's changed you put the updated encryted password there.
It's also possible to lock the userid in shadow, so you can't login directly, but need to use "su - ID" to become that user, better yet, use a tool like sudo.
# 3  
Old 04-23-2008
I suggest disabling the password altogether (Like NP in the shadow file or something). And then when there is no password, the password expiry field becomes meaningless.

Manage logging in with ssh keys if its possible. Talk to the security guys and come up with something thats acceptable to everyone. In solaris if your password expires then cron will stop functioning for that user, so its not really practical to have password expiry on an application account people rarely log into and dont have an enforced process of manual password resetting.
# 4  
Old 05-21-2008
Btw what is the solaris version?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies

2. Solaris

Expiring password notifications

I have a Solaris 10 server that notified one of my users/database administrators of another users account expiring within X amount of days. It attempted to email the user@ server.com, which failed and was forwarded from the mailer-daemon@ server.com, to the DBA. She's not listed as an alias for... (2 Replies)
Discussion started by: Nvizn
2 Replies

3. UNIX for Advanced & Expert Users

How to generate expiring SSH Key ?

Hi Gurus, I am stuck with a problem here for which I need your expert advice. I need to generate an SSH key in my Sun OS machine which should expire in 2 years. I usually generate the keys using ssh-keygen -t dsa but the keys generated like this would be non-expiring. I checked for the... (2 Replies)
Discussion started by: nathsaba
2 Replies

4. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies

5. Solaris

passwd cmd reenables passwd aging in shadow entry

Hi Folks, I have Solaris 10, latest release. We have passwd aging set in /etc/defalut/passwd. I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging. When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

6. UNIX for Dummies Questions & Answers

Non expiring password

Which files store the information about user with non expiring password in case of HP-UNIX like /etc/shadow in linux Two threads by Anu_1 merged (3 Replies)
Discussion started by: Anu_1
3 Replies

7. Linux

linux/redhat ENT non expiring password

Hi All, Is this true on the command "chage"? Passing the number -1 as MAX_DAYS will remove checking a password on -M parameter. Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies

8. Solaris

Every session is expiring within 1 minute if it kept idle.

Hi, I am accessing a solaris server via client machine. My problem is that every session is expiring within 1 minute if it kept idle. I am facing problem as i have to enter the credentials around 30 to 40 times per day. I tried to set the TMOUT variable but it does n't work. Please help... (7 Replies)
Discussion started by: vamshikrishnab
7 Replies

9. UNIX for Dummies Questions & Answers

Every session is expiring within 1 minute if it kept idle.

Still it is not working. I had given 200 in putty but still it is expiring within 1 minute. (1 Reply)
Discussion started by: vamshikrishnab
1 Replies

10. AIX

Knowing when is the user id expiring

HI, Do we have a command in AIX which will let us know when is the user id password getting expired!! Any advice will be of great help!! Thanks, Siddharth (0 Replies)
Discussion started by: siddhhuu
0 Replies
Login or Register to Ask a Question