Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
Originally Posted by scm To me, a blank password is a string consisting of just the terminating NUL character. So it encrypts the NULL character, NULL is something i would ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790

    Quote Originally Posted by scm
    To me, a blank password is a string consisting of just the terminating NUL character.
    So it encrypts the NULL character, NULL is something i would have thought.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  2. #12
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    Quote Originally Posted by sdousley
    Quote Originally Posted by scm
    To me, a blank password is a string consisting of just the terminating NUL character.
    So it encrypts the NULL character, NULL is something i would have thought.
    No, NUL isn't a real character - it simply marks the end of the (empty) string you're encrypting.

  3. #13
    Just Joined!
    Join Date
    Feb 2005
    Posts
    1
    Rehashed from "How to create a linux user with an empty/blank password at Leo's Random Stuff" (leo.steamr.com/?p=171).


    1. Generate hash for blank password (last line is hash):
      Code:
      openssl passwd -1 -salt ADUODeAy
      Password: [enter]
      $1$ADUODeAy$eCJ1lPSxhSGmSvrmWxjLC1
    2. Insert hash into /etc/shadow file in affected user's line, after first colon.
    3. Modify /etc/ssh/sshd_config file's value of
      Code:
      PermitEmptyPasswords no
      to
      Code:
      PermitEmptyPasswords yes
    4. Restart sshd:
      Code:
      service sshd restart

  4. $spacer_open
    $spacer_close
  5. #14
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hi, ghee22!

    This thread is close to 7 years old close. So locking it.
    Please feel free to post more help if you can though!
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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