user to be never expire ..


 
Thread Tools Search this Thread
Operating Systems Solaris user to be never expire ..
# 1  
Old 05-28-2011
user to be never expire ..

Hi All,

I have Solaris 9 and there is user created in that server called appuser

That user should to be never expire..

can anyone advice me how can I modify that user to be never expire thru the command line without using GUI tool.
# 2  
Old 05-28-2011
You mean password expiration? Use this:
Code:
passwd -x -1 appuser

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Never Expire & Never Lock

Hi There, Actually I'm looking for command in Solaris 11 for the following Command to do User Never Expire. Command to return the user Expire to normal mode. Command to do User Never Lock. Command to return the user Never Lock to normal mode. Please advice .. (1 Reply)
Discussion started by: roooooooooot
1 Replies

2. Shell Programming and Scripting

Shell script to set user password to never expire in UNIX servers

Hi, I have a requirement where in i need to write a shell script to set users password to never expire. I know the command which is used to perform the same .. which is chage command. But, could not figure out how to do the same in shell script. Could you please help me with the shell... (3 Replies)
Discussion started by: suren424
3 Replies

3. Shell Programming and Scripting

Expire license

I have a program that outputs a file on the number days left before software license expired. It reads in a text file name expiredt.txt. expiredt.txt contents are as follows: EM software 30NOV2015 11/30/2015 ABM software 30NOV2015 11/30/2015 ABM software ... (2 Replies)
Discussion started by: dellanicholson
2 Replies

4. AIX

Would like to get email alerts when user password going to expire

Hello, I am trying to write a shell script, which will send email alerts to Admin/users when users password is going to expire in 15 days. Can you please help me with the script. thank you. (3 Replies)
Discussion started by: Kumar7997
3 Replies

5. AIX

Password Expire Message

Does anyone know if the default message displayed when a users password has expired can be changed? I am just assuming the message below is the default one. If so please tell. Using username "justinxx". justinxx@160.23.12.44's password: WARNING: Your password has expired. You must... (2 Replies)
Discussion started by: juredd1
2 Replies

6. Shell Programming and Scripting

Expire Command | Need Help

Hi , I am trying to execute the ipl file as below : my $user="iwadmin"; chomp $user; system("passwd -x 29 $user"); The ipl file executes with out any issues when i have logged in as root in solaris .but when when i try to execute the same file with other user id ie iwadmin ,it says... (3 Replies)
Discussion started by: abhishek1979
3 Replies

7. Solaris

Set Password Never Expire

Hello I want to set the password for user never expire through the command line. For your information the box is running under Solaris 8 platform. (2 Replies)
Discussion started by: shamsul
2 Replies

8. Shell Programming and Scripting

Password expire

Hi, Is there any way to find out the UNIX user's password expire date?. It'll we helpful to inform the users to change the password before it get expires.(FYI - I am not having only admin previlege.) (1 Reply)
Discussion started by: sharif
1 Replies

9. Shell Programming and Scripting

Telnet session does not expire

Dear friends.. Our project has a module that runs on handheld devices. Through the handheld we telnet to solaris where the application actually runs. I noticed that after starting a session through the handheld, if i go out of range or if i remove and replace the battery in the handheld, the... (1 Reply)
Discussion started by: deepsteptom
1 Replies

10. UNIX for Advanced & Expert Users

password will expire

login: TEST7 TEST7's Password: Your password will expire: Wed Feb 19 14:28:08 2003 How can I the same information become in a script (as example in the .profile)????????? My login starts with .profile. These File is a menue with 24 lines and the message " Your password ....." disappear to... (8 Replies)
Discussion started by: Erwin Stocker
8 Replies
Login or Register to Ask a Question