Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 1995 21:40:29 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        David Brockus <dbrockus@cyberhall.com>
Cc:        questions@freebsd.org
Subject:   Re: User Admin. Questions
Message-ID:  <Pine.BSF.3.91.950920213254.1049C-100000@fieber-john.campusview.indiana.edu>
In-Reply-To: <Pine.BSF.3.91.950919155744.277A-100000@cyber1.cyberhall.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ============




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950920213254.1049C-100000>