login.conf limits

scuba at centroin.com.br scuba at centroin.com.br
Fri Jun 10 22:08:16 GMT 2005


Hi,

	After doing the modfications on login.conf, run:

	# cap_mkdb /etc/login.conf

	Define the class for each user in passwd, using vipw. The class is
the 5th field, in this example the class was defined as "limiteduser":

zoruega:$1$50258.20$DdcXReDR/lhZI/1CjjEEd0:102:201:limiteduser:0:0:Zoruega Linfo,,,,X:/nonexistent:/bin/sh

	It is available after next login for that user.

- MArcelo Souza

On Fri, 10 Jun 2005, Kövesdán Gábor wrote:

|Hello,
|
|I've been using FreeBSD 5.3-RELEASE on a production machine, but now I
|have some problem with my users. One of them isn't an experienced
|FreeBSD user, and accidentally started 19 instances of the same program,
|and these instances crashed in the background and produced a load
|average about 20. It is a small server with trusted users, but I'd like
|to avoid such issues, so I decided to make a strong limit for the users
|in login.conf.
|
|I've read the documentation and login.conf(5), but I haven't read what
|to do when I redefine the default class. Should I delete and recreate my
|users or the new settings will take effect without doing that? The class
|identifier is stored when I create an account or the settings the class
|name refers?
|
|Cheers,
|
|Gábor Kövesdán
|_______________________________________________
|freebsd-questions at freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
|


- Marcelo




More information about the freebsd-questions mailing list