Subject: Re: Newbie questions....
To: None <port-mac68k@NetBSD.ORG>
From: Christos Zoulas <christos@deshaw.com>
List: port-mac68k
Date: 09/09/1996 14:42:38
In article <199609091226.OAA18903@euas78c27.eua.ericsson.se> Johan.Claesson@uab.ericsson.se (Johan Claesson) writes:
>
>Where the fields are:
><username>:<password>:<userid>:<groupid>:<The full name of the user>:<Home 
>directory>:<Shell>

Actually:
<username>:<password>:<userid>:<groupid>:<class>:<change>:<expire>:<The full name of the user>:<Home directory>:<Shell>

>3. Exit (Escape - ZZ) and check for errors.

ZZ is a bad way to exit vi. Historical versions of vi (I don't know about
nvi) would exit even if the write failed. Use :wq.

>5. Change the owner by typing: chown john /home/john

And the group.

>6. Add the user to the group "wheel" by typing: vi /etc/groups
>Add the following after the last word of the wheel line: ,john

It is /etc/group, not groups.

christos