Help Me out
Hi everybody, i need a help from u guy(s).
;;;;;; 1)created a user account by '/usr/sbin/useradd amartya' 2)Not Given any password for it. 3)After that i delete the account by '/usr/sbin/userdel amartya' 4)Simultaneously deleted the home directory,deleted the column in /etc/passwd, /etc/shadow, /etc/groups,/etc/gshadow 5)Problem comes after that. When i am going to create the same user 'amartya' through the same above procedure & logging in that user (as su - amartya) &going to give password , then it is asking for current password. But i am not having any password for it. How can i over come from this problem Please help me out .... |
Not enough info-you don't even list what distro you have/use.
|
well, passwd doesn't care about passwords when it's run as root, so doing this as root should work-around the problem:
Code:
passwd amartya |
All times are GMT -5. The time now is 05:48 PM. |