Results 1 to 4 of 4
Hello,
In my network I have several (approximately 100) systems. I want to check if one user (for example johnson) exists in all the 100 systems. I cant login to ...
- 09-06-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 8
Checking if the user exists in several systems
Hello,
In my network I have several (approximately 100) systems. I want to check if one user (for example johnson) exists in all the 100 systems. I cant login to each system and check it manually.
Is there any automated process which can simplify this task? Or is there any shell script I can run?
Please suggest me a solution for this.
Thanks,
~Johnson
- 09-06-2007 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
could you modify johnson's login details so that, whenever johnson
logs in, an email is sent to you?the sun is new every day (heraclitus)
- 09-10-2007 #3Just Joined!
- Join Date
- Aug 2007
- Posts
- 8
I can't login to each system and modify the profile. If I can login to each system and modify the profile, I wouldn't have raised my question here.
I want to simplify the task of manually logging into each system and checking for the existence of one user, by writing any shell script.
Hope, you understand the problem now.
Thanks,
~Johnson
- 09-10-2007 #4
Hi,
check out man wtmp
man utmp.
or who command.
and also this link,
http://www.unix.org.ua/orelly/networ...is/ch10_01.htm
I hope it helps- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote

