Find the answer to your Linux question:
Results 1 to 2 of 2
it is needed for sshd. how do I re-create it? Thanks....
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    26

    how to create sshd user? I miss-deleted it.

    it is needed for sshd. how do I re-create it?

    Thanks.

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Well, my sshd user looks like this:

    Code:
    sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
    so the corresponding command would be

    Code:
    useradd -u 74 -g sshd -c "Privilege-seperated SSH" -m /var/empty/sshd -s /sbin/nologin sshd
    This may be different. What distro and version are you running?

Posting Permissions

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