From owner-freebsd-questions Tue Feb 10 18:41:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA06957 for questions-outgoing; Tue, 10 Feb 1998 18:41:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA06950 for ; Tue, 10 Feb 1998 18:40:57 -0800 (PST) (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id UAA26047; Tue, 10 Feb 1998 20:40:55 -0600 (CST) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.8/8.8.5) id UAA28683; Tue, 10 Feb 1998 20:40:54 -0600 (CST) To: spork Cc: freebsd questions Subject: Re: login.conf settings and netscape References: From: stephen farrell Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 10 Feb 1998 20:40:54 -0600 In-Reply-To: Spike Gronim's message of "Tue, 10 Feb 1998 20:53:17 -0500 (EST)" Message-ID: <877m726eyx.fsf@phaedrus.uchicago.edu> Lines: 54 X-Mailer: Gnus v5.5/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Spike Gronim 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 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