Visit Our UNIX and Linux User Community

Clearing down old and dormant UNIX accounts

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Clearing down old and dormant UNIX accounts
# 1  
Old 04-08-2008
Clearing down old and dormant UNIX accounts

Hi Guys,

First of all apologies if this is in the wrong topic.

I have been given a task of coming up with an approach to identify unix accounts that are no longer in use by the user and applications, and need some ideas to of how to go about this.

These accounts application accounts that can be used by a number of different people via the key logging app powerbroker. I.e every user is null password, login is done via SSH.

Another thing to mention is that we may have accounts on the machine that may not ever be logged on to but may have monthly batch jobs that run automatically and should not be removed.

So I suppose the thing I am getting at is; is there any way to tell easily if an account has been dormant for more than 1 month, (no logins, or processes).

Hopefully I've explained enough, if you have any questions please let me know.

Thanks in advance.

# 2  
Old 04-08-2008
man wtmp for the first issue.
The second (cron or at jobs) can be handled by simply disallowing interactive logins
to the account via password, invalid shell, or inaccessible home directories.
# 3  
Old 04-08-2008
Thanks ramen. Smilie

Previous Thread | Next Thread
Test Your Knowledge in Computers #207
Difficulty: Easy
Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks which uses a link state routing (LSR) algorithm.
True or False?

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UNIX keytab file and service accounts

we are using kerberos authentication for the Oracle database. For automation jobs we are adding service accounts to keytab. does anybody using Kerberos authentication for jobs running through CORN ? if so , how you are getting passwords for service accounts ? if anyone has ideas please share. ... (0 Replies)
Discussion started by: talashil
0 Replies

2. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

3. Shell Programming and Scripting

How to change passwords for User accounts on multiple UNIX/Linux machines remotely?

Hello Experts, Need some direction on creating shell script for following environment: We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Discussion started by: sha2402
3 Replies

4. Shell Programming and Scripting

New To UNIX - Need Script to create report of user & group accounts

Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc. Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies

5. UNIX for Dummies Questions & Answers

System list of all UNIX login accounts

What is the command to list all UNIX system login accounts? What is the command to list all system password parameters for UNIX(minimum length, complexity,age, invalid lockout attempts, expiration date , user inactivity lockout) (1 Reply)
Discussion started by: ma466
1 Replies

6. UNIX for Dummies Questions & Answers

default unix accounts

Hi, Can someone tell me what the default unix accounts are? And what is the default unix admin pwd? Thanks!! (1 Reply)
Discussion started by: kandy19
1 Replies

7. UNIX for Dummies Questions & Answers

I am not able to send mail form unix to other mail accounts.

Using Mailx command i.e mailx -s "subject" < \tmp\chin this command executed sucessfully but not able to receive the mail in please help. (1 Reply)
Discussion started by: chinnigd
1 Replies

8. Shell Programming and Scripting

Deleting some mails from Unix mail accounts

Hi there, Is there a way to delete some messages from the mail account on a Unix machine via a script?. Regards (0 Replies)
Discussion started by: JimJim
0 Replies

Featured Tech Videos