nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

HP UX user lock password, change password, password aging

This is a discussion on HP UX user lock password, change password, password aging within the HP-UX forums, part of the UNIX operating systems category; Now you know how to add a user. It is time to learn about passwd command. Following are common things. ...


Go Back   nixCraft Linux Forum > UNIX operating systems > HP-UX

Linux answers from nixCraft.


HP-UX Discussions of HP-UX UNIX operating system.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-12-2006, 02:36 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default HP UX user lock password, change password, password aging

Now you know how to add a user. It is time to learn about passwd command. Following are common things.

Change user password for rocky
Code:
passwd rocky
Force password change at next logon
Code:
passwd -f rocky
Nullify password (aka delete password)
Code:
passwd -d rocky
Use above only if you need password less account

Disable account / Lock account
Code:
passwd -l rocky
To enable disabled / locked account, assign a new password
Code:
passwd rocky
List user password aging
Code:
passwd -s rocky
Force aging - minimum number of days before user are allowed to password
Code:
passwd -n 30 rocky
Force aging - maximum number of days a user need to wait between password change
Code:
passwd -x 90 rocky
Read man page for more options and info
Code:
man 4 passwd
man passwd
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to change root password sandromax Solaris/OpenSolaris 4 11-10-2007 02:43 AM
Change root password MySQL 5 chiku Databases servers 1 16-01-2007 08:46 PM
Linux Setting the screen to lock with password protection tom Getting started tutorials 1 13-07-2006 05:56 PM
How to Change Password puppen Linux software 6 06-06-2006 01:56 PM
change password under linux Linux software 1 18-01-2006 07:38 PM


All times are GMT +5.5. The time now is 08:14 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38