XP is just a number | |
PerlMonks |
Re^4: replacing password in a fileby manasmita_nayak (Initiate) |
on May 14, 2015 at 12:34 UTC ( [id://1126647]=note: print w/replies, xml ) | Need Help?? |
user1 {
pwd=hello
group=accounts
}
user2 {
pwd=godknows
group=admin
}
i want to change the pasword of a particular user.
I used grep function to get the pasword line no.
after tht i m using awk command to change the pasword.
But how can i used it I cant understand.plz help me ,how can i update tht pasword.
In Section
Seekers of Perl Wisdom
|
|