Solaris user account de-activated, command to activate again


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris user account de-activated, command to activate again
# 1  
Old 09-26-2008
Question Solaris user account de-activated, command to activate again

My admin has set password policy to de-activate user account if there is not login for 90 days. How can i re-activate user account w/o deleting, or changing user password.

Thanks in advance
Deeps
# 2  
Old 09-26-2008
if i remember right:

edit /etc/passwd by deleting the LK after the username which is locked. safe the file and run "pwconv"...

hth,
DN2
# 3  
Old 09-26-2008
Its not the /etc/passwd. Its /etc/shadow.
You just need to remove the *LK* entry in there. The next time the user logs in, it will force the user to set a new password again.
# 4  
Old 09-26-2008
Sorry my mistake, that was not what you wanted. I tried passwd -u userid , but it set an empty field for the user's passwd. DukeNuke2 might be right. I have not tried that Smilie
# 5  
Old 09-28-2008
Thanks guys for your reply!!
But this is not the case, i can't see any LK for my shadow file. In shadow file there is entry in 2nd last coloum for 90 days. that is restricted login access as user has no activity since 90 days. If i set this to 0...then .login...then quit from user login ....and again set for 90 days as per policy....this will work. But i believe this is not the right way to activate account as i have to wait for user login and quit from his account before to set 90 days again
# 6  
Old 09-29-2008
This might not answer your question but its a good link to have.
New authentication features
AND
this thread says that passwd -u <username> unlocks a/c and uses same password
http://forums.sun.com/thread.jspa?messageID=9841850

Last edited by incredible; 09-29-2008 at 09:33 AM..
# 7  
Old 06-09-2009
Password user account

Dear Helpdesk,

I have account to access to my server. If I type wrong password or wrong username 3x times then solaris will be automatically lock this user account.

So, How to de-activated this policy..??


Best Regards

BejoSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Activate command when computer is idle

I would like to run a command if my computer is idle. I found this, but is not quite working. #!/bin/sh idletime=$(xprintidle) threshold=300000 # 5 min = 5 * 60 * 1000 ms if ; then echo "idle for 5 minutes." fi (4 Replies)
Discussion started by: drew77
4 Replies

2. Solaris

Solaris 11 user account login expired

Hi everyone Please i need urgent help... I have installed solaris 11 using live media.. then i installed sunray.. every thing is fine.. but after system reboot i am unable to login on server on GUI it gives account expired error or some time authentication failed... but i can log in through... (11 Replies)
Discussion started by: amk
11 Replies

3. Solaris

Creating user account in Solaris

Hi I need to create a new user account in salaries. Can anyone tell me the cmd to create the new user acc. But the main thing is it should same permissions ,same group etc of already existing group. For example we have already one user in name “comp” so the newly created user should also have... (3 Replies)
Discussion started by: kkalyan
3 Replies

4. Solaris

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10? What are the steps? (0 Replies)
Discussion started by: ionrivera
0 Replies

5. Solaris

Deactivate a user account in Solaris 10

Hi, I need to deactivate a user account for some time and then reactivate the user account ... Can anybody please help me how to do this..... I don't have root privileges but i have sudo to privileges. Thanks.... (3 Replies)
Discussion started by: firestar
3 Replies

6. UNIX for Advanced & Expert Users

Deactivate a user account in Solaris 10

Hi, I need to deactivate a user account for some time and then reactivate the user account ... Can anybody please help me how to do this..... I don't have root privileges but i have sudo to privileges. Thanks.... Thread closed. Double post. Continued here. (0 Replies)
Discussion started by: firestar
0 Replies

7. Red Hat

User account migrate from solaris to linux

Hi, I have to move user account from solaris to Linux environment because I don't want user to create password again in Linux environment, so could somebody confirm me how to do it, I know there are files /etc/groups, /etc/passwd and /etc/shadows need to copy but somebody confirm me what is the... (2 Replies)
Discussion started by: mnaumanca
2 Replies

8. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

9. Solaris

how to activate snmptrapd deamon in solaris machine

hi i am able to see the snmpd service running in my machine. i would like to get activate snmptrapd deamon services in my solaris box, could any one suggest me in getting activate the snmptrapd service (0 Replies)
Discussion started by: praveen.yenegal
0 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Cannot post thread or activate account

Please help i cannot post a new thread or activate my account i have tried everything!!!:mad: (1 Reply)
Discussion started by: pure_jax
1 Replies
Login or Register to Ask a Question