Find the answer to your Linux question:
Results 1 to 5 of 5
Hi 2 all i cant understand what does this command do exactly. please guide me... Code: useradd named -d /usr/local/bind -s /bin/false -g named -c "DNS Jail User" i know ...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3

    [SOLVED] guide for a command

    Hi 2 all

    i cant understand what does this command do exactly. please guide me...


    Code:
    useradd named -d /usr/local/bind -s /bin/false -g named -c "DNS Jail User"
    i know it wanna make a user (named), but i m not sure about the rest of this command..

    thank u

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    It is described in detail in the man page
    Code:
    man useradd
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3
    thanks for ur reply
    i can use manual...

    but i cant understand wt does it mean ::: /bin/false
    what happen here....
    ???

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    /bin/false is defined as the shell for the user named.

    And as /bin/false is not really a shell, but just returns -well- false
    the user cannot login.
    Which is intended here.
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3
    really thans...

Posting Permissions

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