Riku == Riku Saikkonen [EMAIL PROTECTED] writes:
Riku passwd -d guest seems to remove the password for the user guest on
Riku my potato system
One can also do
usermod -p guest
Beware, however, that PAM may not be configured to allow empty
passwords.
Eric Hanchrow [EMAIL PROTECTED] writes:
I later tried to change it to be empty, like this:
# passwd
Enter new UNIX password:(here I just hit the Enter key)
Retype new UNIX password: (again, I just hit Enter)
No password supplied
I've installed a test system, on which there is absolutely no
important information. So for my own convenience, I'd like to be able
to make my root password empty. I realize that on a production
machine, this would not be a great idea.
The system that I installed is the latest version of
Now, I see in /etc/pam.d/passwd a line like this:
password required pam_unix.so nullok obscure min=4 max=8
I wonder if `min=4' means that the password must be four characters
long (although if that's the case, I wonder why I got away with using
`bob').
possibly the initial
I wonder if `min=4' means that the password must be four characters
long (although if that's the case, I wonder why I got away with using
`bob'). In any case, I haven't been able to find any documentation
for the arguments `nullok obscure min=4 max=8'. `man pam.d' tells me
to look at the
correct me if I'm wrong, but this worked for a non-root user: To not
require a password for logging in, edit /etc/shadow and remove the
second field from the user's entry. So for root, it would look
something like:
root::###:###:###:###:::
where each # is 0 or more digits
It's also handy for
Eric Hanchrow said:
Anyway: how do I do it?
I can set root's password to an empty string using passwd on my system,
but...
Having an empty password still results in being prompted for a password and
needing to hit enter. If you want to have _no_ password, you can go into
/etc/passwd (or
7 matches
Mail list logo