Never Expire & Never Lock


 
Thread Tools Search this Thread
Operating Systems Solaris Never Expire & Never Lock
# 1  
Old 04-28-2016
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 ..

Last edited by rbatte1; 05-07-2016 at 05:22 PM.. Reason: Converted text based list for formatted list
# 2  
Old 04-28-2016
Code:
man usermod

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. UNIX for Advanced & Expert Users

Testing privileges -lock lockfile /var/lock/subsys/..- Permission denied

Hi all, I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...). I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message. Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies

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

4. Solaris

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. (1 Reply)
Discussion started by: Mr.AIX
1 Replies

5. Red Hat

Security Question: Lock after invalid login, Session Lock and Required Minimum Password Length

Hello all, If anyone has time, I have a few questions: How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too. 1. How to lock the account after a few (like 3) invalid password attempts? 2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 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. 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

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

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

10. UNIX for Dummies Questions & Answers

how to lock keyboard without using lock command

how can I lock my keyboard while I'm away from the computer without using lock command. What other commands gives me the option to lock keyboard device? thanks (7 Replies)
Discussion started by: dianayun
7 Replies
Login or Register to Ask a Question