- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Locking User - Effect
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
Forums
Discussions
Discussions
Discussions
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
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
10-19-2005 08:13 AM
10-19-2005 08:13 AM
What would be the best way to lock a user and how?(both /etc/passwd and NIS) Also two more questions..
1. If the root su's to the locked user-id will it succeed?
2. will the locked users' cron job still run?
Thanks
Joe.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 08:26 AM
10-19-2005 08:26 AM
Re: Locking User - Effect
on a trusted system
/usr/lbin/modprpw -m alock=YES username
on an untrusted system
passwd -l username
1. yes, root will be able to su to a locked out account
2. no, a locked out user's cron jobs will not run
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 08:35 AM
10-19-2005 08:35 AM
Re: Locking User - Effect
On a trusted system, to lock a user ID, issue the command
----------------------------------------------------------------
#/usr/lbin/modprpw -m alock=YES
======================================================
To unlock the user ID which is locked.
------------------------------------------
#/usr/lbin/modprpw -k
su can be done by root eventhough the account is locked out OR password is expired.
cronjob wont run for those users whose account is locked.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 08:39 AM
10-19-2005 08:39 AM
Re: Locking User - Effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 08:53 AM
10-19-2005 08:53 AM
Re: Locking User - Effect
are u sure on this? I havent seen this..can u confirm
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 09:04 AM
10-19-2005 09:04 AM
Solutionroot can still su to the account and run programs and own processes, so the account can still own and run processes, you just can't log in to it.
The crontab file for the account still exists so cron runs the jobs that exist in the crontab file. Cron does not know, or care if the password is active or not. It just cares that the uid is valid enough to own the process to run the job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 09:13 AM
10-19-2005 09:13 AM
Re: Locking User - Effect
Thanks
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 09:14 AM
10-19-2005 09:14 AM
Re: Locking User - Effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 01:50 PM
10-19-2005 01:50 PM
Re: Locking User - Effect
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 11:15 PM
10-19-2005 11:15 PM
Re: Locking User - Effect
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 01:35 AM
10-20-2005 01:35 AM
Re: Locking User - Effect
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 02:00 AM
10-20-2005 02:00 AM
Re: Locking User - Effect
Joe