Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    478
    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)

  3. #3
    Just 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

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,763

    Smile

    Quote Originally Posted by johnson8582 View Post
    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
    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
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •