The passwd command is used for changing Login passwords in Unix/Linux environment.
Just enter: passwd and it should come up with asking your current password and then the new one's.
Changing password for swapnil
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
if you want to change password for a group or other user's account then you must have proper priveledges.. The command remains same:
passwd <username>
for e.g., if you want to change password for user linuxman then use command
passwd linuxman
To change password for the group use switch -G
e.g., passwd -g sales
No comments:
Post a Comment