1833479 Members
2739 Online
110052 Solutions
New Discussion

Re: user password

 

user password

I would like to know, a user ID with out a password ( have a null password). If so how can I set taht.

Thank You
Raghu
no personal quote
5 REPLIES 5
Clemens van Everdingen
Honored Contributor

Re: user password

Hi,

Login as root and do:

# passwd

Now you will be asked to set the password.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Jean-Louis Phelix
Honored Contributor

Re: user password

hi,

You just have to empty the password field in /etc/passwd, but it's now a security hole ...

Regards.
It works for me (© Bill McNAMARA ...)
Armin Feller
Honored Contributor

Re: user password

Hi,

lookin as root and use the passwd command:

root> passwd
New password:
Re-enter new password:

If you enter nothing, then the password for this user is set to nothing (password free).

Regards,
Armin
Marek Bednarczyk
Occasional Advisor

Re: user password

It depends on the secrity level of your system.
Normally you can simply edit /etc/passwd (I recommend using vipw) and clear the second field for the account. Of course if this is what you want to do.

Marek

Re: user password

Under the set password format polices for the user the option Allow Null Password was set to NO, that was the problem it was not allowing to have a no password. Thanks for your help
no personal quote