- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User Account Features
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
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
тАО04-22-2009 05:18 AM
тАО04-22-2009 05:18 AM
User Account Features
Could you please help me how can I acheive the following in HPUx, without any 3rd party tools.
1. After 180 days of inactivity the account should be blocked. : I am still looking for exact number
2. After 400 days of inactivity the account should be removed, logged and maintain in another data base as a record history : I am still looking for exact number
For the above 2 points, I couldn't find anything in TCB, /etc/default/security and /etc/pam.conf
Where can I get more information on the following library files related to PAM.
/usr/lib/hpux32/libpam.so.1
/usr/lib/hpux64/libpam.so.1
/usr/lib/libpam.1
/usr/lib/pa20_64/libpam.1
These libraries are being referenced in /etc/pam.conf
I am not sure what are defined in these library files.
Your help is greatly appriciated.
Thank You.
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 05:22 AM
тАО04-22-2009 05:22 AM
Re: User Account Features
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 05:31 AM
тАО04-22-2009 05:31 AM
Re: User Account Features
>>1. After 180 days of inactivity the account should be blocked. : I am still looking for exact number<<
This you can achieve by converting the system into trusted and apply the settings globally(all the users)
>>2. After 400 days of inactivity the account should be removed, logged and maintain in another data base as a record history :<<
I donot have any info to achieve this. But you can schedule a shell script in cron to do this based on the output from getprpw or other commands.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 05:32 AM
тАО04-22-2009 05:32 AM
Re: User Account Features
http://docs.hp.com/en/5992-3387/apas03.html?jumpid=reg_R1002_USEN
http://docs.hp.com/en/B2355-60130/security.4.html
You have to perform task 2 yourself via a script.
For PAM check out the man page http://docs.hp.com/en/B2355-60130/pam.3.html
and all the "see also" pages at the bottom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 05:41 AM
тАО04-22-2009 05:41 AM
Re: User Account Features
Use the switch '-f 180' while creating the user using useradd that will give the functionality of disabling the user if no activity for 180 days.
Deleting can be achieved using a cron script as Pete said. Use the combination of finger and userdel.
Cheers,
uvk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 07:35 AM
тАО04-22-2009 07:35 AM
Re: User Account Features
Thank you for the prompt responses.
Hi Ganesan,
I request you to me to the exact option in SAM.
Hi TTr,
All my systems are trusted. As per the URL http://docs.hp.com/en/B2355-60130/security.4.html
INACTIVITY_MAXDAYS is not applicable to Trusted Systems.
Hi UVK,
I have set it for one of the users using usermod -f 180 username. Where can I see it. getprpw doesn't show any information.
Cheers,
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 04:02 AM
тАО04-23-2009 04:02 AM
Re: User Account Features
Could you please reply to my questions.
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 04:05 PM
тАО04-23-2009 04:05 PM
Re: User Account Features
INACT 180
and then by default, when a new account is created, the lockout will be set to 180 days of inactivity.
There's also a switch for EXPIRE, but I think that just sets how many days before deactivating the account (regardless of activity).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2009 01:05 AM
тАО04-24-2009 01:05 AM
Re: User Account Features
>>>Hi Ganesan,
I request you to me to the exact option in SAM. <<<
Hope you are asking the trusted configuration options in SAM
SAM -> Auditing and Security -> System Security Policies -> General User Account Policies ->Enable Account Policies -> set the value here
Maximum Inactive Time (days):180
Hope this helps
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2009 04:49 AM
тАО04-24-2009 04:49 AM
Re: User Account Features
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 02:42 AM
тАО04-27-2009 02:42 AM