- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to enable deactive account using passwd comma...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:22 AM
тАО06-16-2009 08:22 AM
How to enable deactive account using passwd command in hp-ux
In trusted system we can enable the deactive account using modprpw and i need to know how to do that in non trusted box..In sam i am able to do ..But need using command line.I think there is no solution for this am i right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:24 AM
тАО06-16-2009 08:24 AM
Re: How to enable deactive account using passwd command in hp-ux
I suggest you consult the 'passwd' manpages. There are useful options documented there.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:25 AM
тАО06-16-2009 08:25 AM
Re: How to enable deactive account using passwd command in hp-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:26 AM
тАО06-16-2009 08:26 AM
Re: How to enable deactive account using passwd command in hp-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:31 AM
тАО06-16-2009 08:31 AM
Re: How to enable deactive account using passwd command in hp-ux
Try passwd -d command
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:35 AM
тАО06-16-2009 08:35 AM
Re: How to enable deactive account using passwd command in hp-ux
> I checked in passwd nothing worth is ther ..please help me..
# man passwd
Read further than you did. See the section that begins with :
Privileged User Options
A superuser can modify characteristics associated with the user name using the following options:
...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:36 AM
тАО06-16-2009 08:36 AM
Re: How to enable deactive account using passwd command in hp-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 08:39 AM
тАО06-16-2009 08:39 AM
Re: How to enable deactive account using passwd command in hp-ux
Look following options
-d = Allow user to login without a password by deleting it.In untrusted mode this unlocks/activates the user account if found locked/deactivated.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 09:58 PM
тАО06-16-2009 09:58 PM
Re: How to enable deactive account using passwd command in hp-ux
On non trusted system (hpux 11.11), I use:
# passwd -l
To disable and set a new password to enable or delete and force to set new:
# passwd -d
# passwd -f
so when
Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 10:16 PM
тАО06-16-2009 10:16 PM
Re: How to enable deactive account using passwd command in hp-ux
See this examples,
# passwd ├в d user1 # set a null password
# passwd ├в f user1 # fForce user to change password upon next login by expiring the current password
# passwd ├в l user1 # Lock or Deactivate a user account
# passwd user1 # Unlock or Reactivate a user account
# passwd -s user1 # check a user├в s password status
# passwd ├в sa # check the status of all users
For more information see the man pages of passwd
Suraj