The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Replace password field using ed/sed
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Replace password field using ed/sed
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
04-27-2007
munch
Registered User
Join Date: Mar 2006
Posts: 5
Replace password field using ed/sed
I need to edit the password file to change the password field to *LK* for a specified account (abctest) like:
abctest:*LK*:135:20::/home/abctest:/sbin/sh
Can anyone help me do this using ed or sed?
Thanks a lot!
Remove advertisements
Forum Sponsor
munch
View Public Profile
Find all posts by munch