Skip site navigation (1)Skip section navigation (2)
Date:      10 Feb 1998 20:40:54 -0600
From:      stephen farrell <stephen@farrell.org>
To:        spork <sporkl@dti.net>
Cc:        freebsd questions <questions@FreeBSD.ORG>
Subject:   Re: login.conf settings and netscape
Message-ID:  <877m726eyx.fsf@phaedrus.uchicago.edu>
In-Reply-To: Spike Gronim's message of "Tue, 10 Feb 1998 20:53:17 -0500 (EST)"
References:  <Pine.BSF.3.96.980210205308.201A-100000@mental>

next in thread | previous in thread | raw e-mail | index | archive | help
Spike Gronim <spork@dti.net> writes:

> How did you add yourself to a new class?


from the man 5 passwd:


==>

PASSWD(5)		  FreeBSD File Formats Manual		     PASSWD(5)

NAME
     passwd - format of the password file

DESCRIPTION
     The passwd files are files consisting of newline separated records, one
     per user, containing ten colon (``:'') separated fields.  These fields
     are as follows:

	   name      User's login name.

	   password  User's encrypted password.

	   uid	     User's id.

	   gid	     User's login group id.

	   class     User's login class.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

	   change    Password change time.

	   expire    Account expiration time.

	   gecos     General information about the user.

	   home_dir  User's home directory.

	   shell     User's login shell.

<==


Note the "class" field--so you run vipw and edit that field; change it
to "root", for instance.  (yes,it's a little bit tedious,you need to
count the colons... You can also use chpass <username> as root to
change this field in a somewhat nicer way, if you're not using
NIS...)

--

Steve Farrell


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?877m726eyx.fsf>