This discussion is archived
3 Replies Latest reply: Oct 10, 2012 5:40 AM by Ani RSS

chapsswd is not working for specific password

Ani Newbie
Currently Being Moderated
Hi ,
I want to change the password of one user called testuser. when i am selecting this password (R0na!do8) , chpassword is showing some error, but if i use passwd command then it is working fine .

I want to change this user password through chpasswd command & i want to specify this password only . Any idea how to resolve it??

[root@xxxxx02 ~]# echo "testuser:R0na!do8"|chpasswd
-bash: !do8": event not found
[root@xxxxx02 ~]#



  • Correct Answers - 10 points
  • Helpful Answers - 5 points