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 ...
- 04-05-2005 #11So it encrypts the NULL character, NULL is something i would have thought.
Originally Posted by scm "I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 04-06-2005 #12Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,044
No, NUL isn't a real character - it simply marks the end of the (empty) string you're encrypting.
Originally Posted by sdousley
- 01-06-2012 #13Just 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).
- Generate hash for blank password (last line is hash): Code:
openssl passwd -1 -salt ADUODeAy Password: [enter] $1$ADUODeAy$eCJ1lPSxhSGmSvrmWxjLC1
- Insert hash into /etc/shadow file in affected user's line, after first colon.
- Modify /etc/ssh/sshd_config file's value of toCode:
PermitEmptyPasswords no
Code:PermitEmptyPasswords yes
- Restart sshd: Code:
service sshd restart
- 01-06-2012 #14
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.


