How to reactivate user with command(no SAM) | Unix Linux Forums | HP-UX

  Go Back    


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

How to reactivate user with command(no SAM)

HP-UX


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-24-2007
arm_naja arm_naja is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 3 July 2014, 4:31 AM EDT
Posts: 59
Thanks: 2
Thanked 0 Times in 0 Posts
How to reactivate user with command(no SAM)

How to reactivate any users (root or non root) by command(no SAM)
HP-UX 11.11
Sponsored Links
    #2  
Old 10-24-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
have you tried "usermod" ?
Sponsored Links
    #3  
Old 10-25-2007
arm_naja arm_naja is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 3 July 2014, 4:31 AM EDT
Posts: 59
Thanks: 2
Thanked 0 Times in 0 Posts
Hi Porter,

I try "man usermod" but no option for reactivate user that was disabled.

** reactivate user mean : reactive to user that was disabled from 3 failed login.


Thanks,
    #4  
Old 10-25-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
Have you done an examination of the state of the user account? For example what is the expiry date now set to, this may be the thing to change with "-e". What attribute is it that makes the account appear deactivated?
Sponsored Links
    #5  
Old 10-25-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 28 August 2014, 9:35 PM EDT
Location: Ashburn, Virginia
Posts: 9,921
Thanks: 60
Thanked 431 Times in 257 Posts
Is this a trusted system? If so it's
/usr/lbin/modprpw -k user
Sponsored Links
    #6  
Old 11-09-2007
arm_naja arm_naja is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 3 July 2014, 4:31 AM EDT
Posts: 59
Thanks: 2
Thanked 0 Times in 0 Posts
Very thanks Perderabo,

I use "/usr/lbin/modprpw -k user" for enable user OK.


and sorry for slow reply ^_^
aRm_nAja
Sponsored Links
    #7  
Old 11-09-2007
411seeker's Avatar
411seeker 411seeker is offline
Registered User
 
Join Date: Nov 2007
Last Activity: 5 May 2009, 3:06 PM EDT
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
You can also use modprpw -x username to reactivate and generate a new temp password.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Command for SSH with @ in User Name davkatjenn Shell Programming and Scripting 9 07-11-2011 09:40 PM
root user command in shell script execute as normal user mnmonu Shell Programming and Scripting 3 10-19-2009 07:42 AM
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 08:12 PM
How to reactivate expired account in Linux as a root user cy163 UNIX for Dummies Questions & Answers 2 05-14-2007 08:46 AM
How to run a command with some other user id csaha Shell Programming and Scripting 4 02-19-2006 04:59 AM



All times are GMT -4. The time now is 04:01 AM.