Find the answer to your Linux question:
Results 1 to 3 of 3
i want to restrict to make many users with same user id.how to do it ?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    14

    how to restrict too many users with same user id


    i want to restrict to make many users with same user id.how to do it ?

  2. #2
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058

    Re: how to restrict too many users with same user id

    Quote Originally Posted by jyoti100in
    i want to restrict to make many users with same user id.how to do it ?
    you can change the id in the /etc/passwd file to be the same, but somehow I don't think that is what you are asking. Maybe clarify your question a little more.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    14

    i want to restrict to make many users with same user id.how

    no not that.
    when we create a user in linux with useradd command.it has a specific userid.
    #useradd -d /home/jyoti -s /bin/bash -m jyoti
    now the userid in /etc/passwd of jyoti suppose is 500.
    now you can create another user with same id 500.I want to restric that.How to.

Posting Permissions

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