Date: Fri, 10 Jun 2005 19:08:11 -0300 (EST) From: <scuba@centroin.com.br> To: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu> Cc: freebsd-questions@freebsd.org Subject: Re: login.conf limits Message-ID: <Pine.BSI.4.33.0506101902240.22252-100000@hypselo.centroin.com.br> In-Reply-To: <42A9FEEE.8050707@t-hosting.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, =09After doing the modfications on login.conf, run: =09# cap_mkdb /etc/login.conf =09Define 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 =09It is available after next login for that user. - MArcelo Souza On Fri, 10 Jun 2005, K=F6vesd=E1n G=E1bor 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=E1bor K=F6vesd=E1n |_______________________________________________ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" | - Marcelo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.33.0506101902240.22252-100000>