- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: what daemon/process is kicked off and lock the...
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
тАО01-30-2009 08:18 AM
тАО01-30-2009 08:18 AM
what daemon/process is kicked off and lock the account?
My question is, what daemon/process check the expiration days, and perform the locking action?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 10:42 AM
тАО01-30-2009 10:42 AM
Re: what daemon/process is kicked off and lock the account?
This check is implemented in the PAM libraries, so all login methods that use PAM will have the same behavior.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 10:48 AM
тАО01-30-2009 10:48 AM
Re: what daemon/process is kicked off and lock the account?
I am not asking the verification when users login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 11:20 PM
тАО01-30-2009 11:20 PM
Re: what daemon/process is kicked off and lock the account?
As MK said, this is automatically set when you attempt to login. If you never log out, you be able to stay on forever.
You can lock an account with: passwd -l name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 06:32 AM
тАО02-02-2009 06:32 AM
Re: what daemon/process is kicked off and lock the account?
Before the user login, if last login happened more than 90 days ago, then his account attribute under /tcb directory was already locked before he even tried to login. My question is, what process/mechanism to perform that action of locking his account? I am not asking what happend at the moment when he is tryint to login.
Thanks for your patience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 08:13 AM
тАО02-02-2009 08:13 AM
Re: what daemon/process is kicked off and lock the account?
I think that whenever the account is queried, either via a login attempt or via the getprpw command, then the /tcb entry for that account is accessed and all information checked. If a value is out of range (account expired, too many invalid logins, etc.) then the account shows as "locked". If you are using getprpw the you get a '1' in whatever column(s) is/are appropriate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 08:20 PM
тАО02-02-2009 08:20 PM
Re: what daemon/process is kicked off and lock the account?
As mentioned before, this is checked when he tries to login. I.e. it is only checked when there is a need to know.
>I am not asking what happened at the moment when he is trying to login.
This is the only time this is checked. And possibly if you use a command to check as Patrick said.