- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restrict inactive user accounts
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-06-2009 05:30 AM
тАО01-06-2009 05:30 AM
restrict inactive user accounts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 05:46 AM
тАО01-06-2009 05:46 AM
Re: restrict inactive user accounts
You can deactivate the inactive accounts if the system is trusted.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 05:48 AM
тАО01-06-2009 05:48 AM
Re: restrict inactive user accounts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2009 09:02 AM
тАО01-06-2009 09:02 AM
Re: restrict inactive user accounts
for a `cat /inactive-login_ids.lis`
do
/usr/bin/passwd -l $a
done
You can dress it up....but it gives you an idea.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2009 12:31 AM
тАО01-07-2009 12:31 AM
Re: restrict inactive user accounts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2009 02:59 AM
тАО01-07-2009 02:59 AM
Re: restrict inactive user accounts
" for a `cat /inactive-login_ids.lis`
do
/usr/bin/passwd -l $a
done "
the point of Rita is only that if you already know the user accounts that are inactive for many days, make a list and then use
for a cat
do
/usr/bin/passwd -l $a
done
Best Regards,
prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2009 03:35 AM
тАО01-07-2009 03:35 AM
Re: restrict inactive user accounts
A better form without evil cat would be:
for a in $(< list-you-created); do
/usr/bin/passwd -l $a
done
- Tags:
- evil cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 04:11 AM
тАО01-19-2009 04:11 AM
Re: restrict inactive user accounts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 06:50 AM
тАО01-19-2009 06:50 AM
Re: restrict inactive user accounts
some thoughts to your question and answers:
Do you have a list of these user accounts?
If not: get it.
Which format does this list have?
Create a file named 'inactive.lis' out of this list, having one user account in one line, if the list has not already this format.
Now copy or type the three lines of Dennis' answer in the command line:
for a in $(
done
mfG Peter
PS: Do you know how to create a file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2009 07:54 AM
тАО01-19-2009 07:54 AM
Re: restrict inactive user accounts
Then what are you doing in a System Administrator role? It sounds like you are extremely underqualified for the job.