RE: Email only users, and Bulk User Adds/Removes
On 08-Dec-97 Darren Renaud wrote:
>Is there a way to establish an email only account? Also is there a way
>to add or remove a large amount of those accounts (if they can exist)?
>I'm setting up a system for student email, and have to add or remove 40+
>accounts per semester. I'd like to limit the accounts to POP3 only, and
>prevent those users from accessing telnet etc.
There may well be some precanned way to do this, and if so, use that, else
create a perl or shell script (if shell, don't forget to trap interrupts)
that does a chroot, cd $HOME, set appropriate PATH, put only what you want
these user to have (this will take a bit of tinkering) and run that as these
users shell in the /etc/password file (last field). e-mail if you need more
detail or run into problems.
> | Canadore College | Phone: 705 474-7600 X6439
> Darren Renaud | Of Applied Arts | fax: 705 472-7169
> | And Technology | WWW: http://www.canadorec.on.ca
> Professor | |e-mail:
> Information | P.O. Box 5001, | email@example.com
> Technology | North Bay, |
> | Ontario, P1B 8K9,|
> | Canada |
>TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
>Trouble? e-mail to firstname.lastname@example.org .
Ralph Winslow email@example.com
The IQ of the group is that of the member
whose IQ is lowest divided by the number
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .