Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt!cadre!pitt!cisunx!nk233514 From: nk233514@cisunx.UUCP (Deus) Newsgroups: comp.unix.questions Subject: Re: Passwords in /etc/group Message-ID: <3671@cisunx.UUCP> Date: Wed, 1-Jul-87 16:22:29 EDT Article-I.D.: cisunx.3671 Posted: Wed Jul 1 16:22:29 1987 Date-Received: Sun, 5-Jul-87 20:35:17 EDT References: <5740010@hpfcdc.HP.COM> <207@macom1.UUCP> Reply-To: nk233514@cisunx.UUCP (Deus) Organization: Univ. of Pittsburgh, Comp & Info Sys Lines: 20 Summary: use vipw not vi on /etc/passwd In article <207@macom1.UUCP> michael@macom1.UUCP (Michael Mullins) writes: [ Some other stuff ] > >Once the password is assigned, I "vi /etc/passwd" and yank the password >field, then change the field back to "**NO WAY**, then ":e /etc/group" >(edit new file) move to the password field of the group in question and use >the put function of vi. At this point, the password you assigned earlier is now >in affect for that group. > [ More Stuff ] One thing I'd like to pas along i to use vipw, not vi, to edit the passwd file. IF for some reason, you make a small mistake in vi, and corrupt the password file - vi will not catch it, but vipw will. vipw could save alot of trouble ! Deus