Re: Email only users, and Bulk User Adds/Removes
On Mon, 8 Dec 1997, 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.
To prevent them from logging in via telnet etc., give them /bin/false for
a shell. Don't forget to add a line '/bin/false' to /etc/shells.
To add and delete many users, write a script that calls useradd and
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .