nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-20-2006, 02:36 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 545
rockdalinux is on a distinguished road
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.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks

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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to change root password sandromax Solaris/OpenSolaris 4 10-11-2007 02:43 AM
Change root password MySQL 5 chiku Databases servers 1 01-16-2007 08:46 PM
Linux Setting the screen to lock with password protection tom Getting started tutorials 1 07-13-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 01-18-2006 07:38 PM


All times are GMT +5.5. The time now is 04:05 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

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