1834066 Members
3035 Online
110063 Solutions
New Discussion

User Account Management

 
G V R Shankar
Valued Contributor

User Account Management

Hi All,

I have requirement to review the password files on all servers every week and need to prepare a consolidated report that users added to a server and users deleted from the server.

If you already have such scripts that can perform the followin

1. Generate the report on server
2. Copy it to a Centralised Server
3. Consolidate the data from all servers and send an email

I know I am asking too much.

Thank you.
Ravi.
2 REPLIES 2
Suraj K Sankari
Honored Contributor

Re: User Account Management

Hi,

Best way is take a copy of your passwd file this week then after one week take a another copy of passwd file and do a diff command .

Suraj
madhuchakkaravarthy
Trusted Contributor

Re: User Account Management

hi

u can generate ssh keys so that u can take a copy of passwd file in all servers within a short time period.

so that u can grep or count(wc -l ) all users from the output.


regards

MC