Quote:
Originally Posted by abhishekrahel
Hi to everyone
Could anyone guide me how to make a system user password less in Linux?
Thanks in advance.
|
Hi
Thanks for the response.
I have tried both options got, when i tried "passwd-d username",
it will simply delete the encrypted password information form /etc/shadow.
[root@pas-3 ~]# useradd aisa
[root@pas-3 ~]# passwd -d aisa
Removing password for user aisa.
passwd: Success
[root@pas-3 ~]# grep aisa /etc/passwd
aisa:x:55019:55019::/home/aisa:/bin/bash
[root@pas-3 ~]# grep aisa /etc/shadow
aisa::14210:0:99999:7:::
But when i tried to login nothing worked:
login as: aisa
aisa@146.223.126.36's password:
Access denied
aisa@146.223.126.36's password:
Any suggestion.
Thanks.