From owner-freebsd-questions Wed Sep 20 19:40:45 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA07944 for questions-outgoing; Wed, 20 Sep 1995 19:40:45 -0700 Received: from fieber-john.campusview.indiana.edu (Fieber-John.campusview.indiana.edu [149.159.1.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA07929 for ; Wed, 20 Sep 1995 19:40:41 -0700 Received: (from jfieber@localhost) by fieber-john.campusview.indiana.edu (8.6.11/8.6.9) id VAA01145; Wed, 20 Sep 1995 21:40:30 -0500 Date: Wed, 20 Sep 1995 21:40:29 -0500 (EST) From: John Fieber To: David Brockus cc: questions@freebsd.org Subject: Re: User Admin. Questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Tue, 19 Sep 1995, David Brockus wrote: > I am currently running FreeBSD 2.0.5 and I have a few admin > problems. I was wondering if there is a utility that deletes users. I > was told the only way is to edit the password file and delete the user. > Is this the only and/or correct way? Ultimately, any automated tool is going to edit the password file to delete the user. In the absence of an automated tool, you edit the password file manually using the vipw program. After that, you can (manually) remove their home directory if you wish. > Also, I need to give users accounts to use e-mail, but I don't want them > to be able to telnet out or ftp out. I was told by someone to give the > users a fake or non-existent shell. This would stop people from being One way to do it is 1. Make a group in /etc/group for "priveleged" users allowed to use telnet and ftp. Add their usernames to that group. 2. Use chgrp to change the group ownership of telnet and ftp. 3. Use chmod to remove read and execute priveleges on telenet and ftp. "Ordinary" users not in your priveleged group will not be able to use telnet and ftp. Of couse, this does not stop anyone from mailing themself a uuencoded binary of telnet, unpacking it in their own home directory and using it that way. > Can I put a size limit on the amount bytes a user can store on our system? Quotas. I've never used them so I can help you any more... -john == jfieber@indiana.edu =========================================== == http://fieber-john.campusview.indiana.edu/~jfieber ============