From: Adil M. N. <ad...@hc...> - 2004-11-29 16:57:00
|
The format of /etc/shadow file is smithj:Ep6mckrOLChF.:10063:0:99999:7::: each field in the shadow file is separated with ":" colon characters, and first 2 field are as follows: Username, up to 8 characters. Case-sensitive, usually all lowercase. A direct match to the username in the /etc/passwd file. Password, 13 character encrypted. A blank entry (eg. ::) indicates a password is not required to log in (usually a bad idea), and a ``*'' entry (eg. :*:) indicates the account has been disabled. i have made the password field blank in the UML /etc/shadow file. now i reboot the system and try to log in as root with blank password but it says login incorrect Also it is nt taking the old password as well. How to check the pam-configuration? Thanks and Best Regards, Adil Mujeeb -----Original Message----- From: nils toedtmann [mailto:use...@ni...] Sent: Monday, November 29, 2004 10:07 PM To: Adil Mujeeb, Noida Cc: use...@li... Subject: Re: [uml-user] /etc/shadow problem On Mon, Nov 29, 2004 at 09:15:42PM +0530, Adil Mujeeb, Noida wrote: > Hi, > im trying to change the user password to empty. On normal linux u can do it > by making the password field empty in /etc/shadow file. But when im trying > to do on UML, it doesnt update and give message login incorrect. How to make > it empty?? UML does not care about things like this ;-) How did you try to empty the password field, with an editor, with 'vipw'? What do you mean with "doesnt update" - does /etc/shadow get changed or not? Are you sure your uml uses /etc/shadow? Check your pam-configuration. Try this (works at least on FC): passwd -d $USERNAME If it works, check if it changed /etc/shadow or /etc/passwd. /nils. -- there is no sig. |