From owner-freebsd-questions Fri Sep 8 12:52:15 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA00975 for questions-outgoing; Fri, 8 Sep 1995 12:52:15 -0700 Received: from jolt.eng.umd.edu (jolt.eng.umd.edu [129.2.102.5]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA00969 for ; Fri, 8 Sep 1995 12:52:12 -0700 Received: from cappuccino.eng.umd.edu (cappuccino.eng.umd.edu [129.2.98.14]) by jolt.eng.umd.edu (8.6.10/8.6.4) with ESMTP id PAA02602; Fri, 8 Sep 1995 15:52:02 -0400 Received: (chuckr@localhost) by cappuccino.eng.umd.edu (8.6.10/8.6.4) id PAA06629; Fri, 8 Sep 1995 15:52:00 -0400 Date: Fri, 8 Sep 1995 15:51:57 -0400 (EDT) From: Chuck Robey To: Byron Halbower cc: questions@freebsd.org Subject: Re: Tech Support In-Reply-To: <199509081142.LAA00328@bsd1.crctraining.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@freebsd.org Precedence: bulk On Fri, 8 Sep 1995, Byron Halbower wrote: > I have reciently purchased and installed FreeBsd . I created a user that I > would like to remove. I have edited the passwd file and commented out that > user, but he still can login. Please reply with step by step instructions > for removing a user. > > I would also like to allow a user access to a specific directory but I am > having alittle trouble with it. > > Is there any daemons available that would help me with administration on my > unix machine at a graphic level? I never heard of a comment feature in the passwd file. I really hope you used vipw to edit it, tho, because FreeBSD doesn't operate from that file, rather a database file that is created from it. vipw automatically calls utilities to rebuild that database after the editing, any other editor does not. Removing a user means simply deleting that user's line in the passwd file (using vipw!). Take a look at the man page for the passwd file by entering: man 5 passwd at the prompt. The last two fields are, in order, the user's home directory (their login directory), then the user's shell (the program called for the user at login. If you're unsure of yourself, don't worry, read the man page, then ask again, we'll help. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD (301) 220-2114 | version 2.2 current -- and great FUN! ----------------------------+-----------------------------------------------