http://floppix.ccai.com/adduser.html
Please Note
[root@server seantest]# passwd seantest
Changing password for user seantest.
passwd: Authentication token manipulation error
If u are running shadowed passwords there might be no entry for this user.
1. Make a backup of /etc/shadow
Code Snippet
- cp /etc/shadow /etc/shadow.backup
End of Code Snippet
2. Delete /etc/shadow
Code Snippet
- rm /etc/shadow
End of Code Snippet
3. Convert /etc/passwd using password convert
Code Snippet
- pwconv
End of Code Snippet
And the same for groups...
1. Make a backup of /etc/gshadow
Code Snippet
- cp /etc/gshadow /etc/gshadow.backup
End of Code Snippet
2. Delete /etc/gshadow
Code Snippet
- rm /etc/gshadow
End of Code Snippet
3. Convert /etc/group using group convert
Code Snippet
- grpconv
End of Code Snippet
No comments:
Post a Comment