aboutsummaryrefslogtreecommitdiff
path: root/etc/login.conf
Commit message (Collapse)AuthorAgeFilesLines
* Move fbtab, login.conf, and motd to usr.bin/login/Brad Davis2018-08-301-322/+0
| | | | | | | | Approved by: Approved by: re (gjb), bapt (mentor), will (mentor) Differential Revision: https://reviews.freebsd.org/D16947 Notes: svn path=/head/; revision=338399
* Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), addKonstantin Belousov2016-03-121-0/+1
| | | | | | | | | | | login.conf(5) support. Reviewed by: jilles Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D5610 Notes: svn path=/head/; revision=296723
* Stop enforcing LC_COLLATE to C unicode collation is now supportedBaptiste Daroussin2015-11-071-1/+1
| | | | Notes: svn path=/head/; revision=290497
* Correctly set LC_COLLATE into setenvBaptiste Daroussin2015-04-151-1/+1
| | | | | | | Submitted by: jbeich Notes: svn path=/head/; revision=281546
* Enforce LC_COLLATE="C" until we do support proper UTF-8 collationBaptiste Daroussin2015-04-061-1/+1
| | | | Notes: svn path=/head/; revision=281131
* Switch russian login class to UTF-8Dmitry Marakasov2015-04-061-2/+2
| | | | | | | | | Reviewed by: glebius Approved by: glebius Differential Revision: D2129 Notes: svn path=/head/; revision=281129
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;Colin Percival2015-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes) Notes: svn path=/head/; revision=278616
* Add a resource limit for the total number of kqueues available to theKonstantin Belousov2013-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | | user. Kqueue now saves the ucred of the allocating thread, to correctly decrement the counter on close. Under some specific and not real-world use scenario for kqueue, it is possible for the kqueues to consume memory proportional to the square of the number of the filedescriptors available to the process. Limit allows administrator to prevent the abuse. This is kernel-mode side of the change, with the user-mode enabling commit following. Reported and tested by: pho Discussed with: jmg Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Notes: svn path=/head/; revision=256850
* Increase the "memorylocked" limit for the "daemon" class.Neel Natu2013-01-271-1/+1
| | | | | | | | | | | amd(8) requires more than the 64MB that is currently available to it so bump it up to 128MB. Reviewed by: kib Discussed with: avg, kib, zont Notes: svn path=/head/; revision=246002
* - Set memorylocked limit to 64Kb for default login class.Andrey Zonov2012-12-181-1/+3
| | | | | | | | | | | | | | | This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for daemon login class. Some daemons such as amd(8) and watchdogd(8) calls mlockall(2) on startup, they are run from init(8) which uses daemon login class. - Set memorylocked limit to unlimited for root login class. Suggested by: avg Approved by: kib (mentor) MFC after: 1 week Notes: svn path=/head/; revision=244383
* Passive mode is the default, and has been for a while.Dag-Erling Smørgrav2012-06-191-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=237270
* Switch the default password hash from md5 to sha512.Dag-Erling Smørgrav2012-06-191-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=237269
* Remove vestiges of 'slip'.Brian Somers2010-06-191-7/+2
| | | | | | | | | PR: 145648 Submitted by: alexbestms at wwu dot de and spam at rm-rf dot kiev dot ua MFC after: 1 week Notes: svn path=/head/; revision=209331
* Usermode portion of the support for swap allocation accounting:Konstantin Belousov2009-06-231-0/+1
| | | | | | | | | | | | | | - update for getrlimit(2) manpage; - support for setting RLIMIT_SWAP in login class; - addition to the limits(1) and sh and csh limit-setting builtins; - tuning(7) documentation on the sysctls controlling overcommit. In collaboration with: pho Reviewed by: alc Approved by: re (kensmith) Notes: svn path=/head/; revision=194767
* Integrate the new MPSAFE TTY layer to the FreeBSD operating system.Ed Schouten2008-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan Notes: svn path=/head/; revision=181905
* Remove more vestiges of /usr/X11R6, but leave mtree for portmgr.Doug Barton2007-05-291-2/+2
| | | | Notes: svn path=/head/; revision=170088
* Add a short description of how a literal colon ':' can be inlined in theGiorgos Keramidas2005-08-311-0/+5
| | | | | | | | | | value of capability databases, since it's not really obvious how a colon can be escaped, and a pointer to the getcap(3) manpage for more details. Triggered by: a question by Ceri on -questions Notes: svn path=/head/; revision=149672
* Removed whitespace at BOF, EOL & EOF.Jens Schweikhardt2004-06-061-1/+1
| | | | Notes: svn path=/head/; revision=130151
* add default vmemoryuse (unlimited), and samplesMatthew Dillon2002-06-261-0/+3
| | | | Notes: svn path=/head/; revision=98853
* Fix typo. '|' looks a lot like 'l' in my xterm font.Robert Watson2002-03-011-1/+1
| | | | Notes: svn path=/head/; revision=91528
* When having an expanded name for a class, use '|' instead if ':' toRobert Watson2002-03-011-2/+2
| | | | | | | | | | | | seperate the short name and the long name. This was present for most but not all entries. Because the parsing doesn't reject unrecognized entries, this didn't cause failures, but it wasn't strictly correct. Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> MFC after: 2 weeks Notes: svn path=/head/; revision=91527
* ftp(1) was not the only user of FTP_PASSIVE_MODE, libfetch uses itMike Heffner2001-12-141-1/+1
| | | | | | | too, so add it back Notes: svn path=/head/; revision=87887
* ftp(1) uses passive mode by default now, therefore removeMike Heffner2001-12-141-1/+1
| | | | | | | | | FTP_PASSIVE_MODE=YES. Pointed out by: billf Notes: svn path=/head/; revision=87835
* s/password_format/passwd_format/Ruslan Ermilov2001-09-111-1/+1
| | | | | | | | PR: misc/30494 Submitted by: "brian j. peterson" <rbw@myplace.org> Notes: svn path=/head/; revision=83325
* Remove duplicate entry.Mark Murray2001-03-121-1/+0
| | | | | | | Submitted by: Paul Herman <pherman@frenchfries.net> Notes: svn path=/head/; revision=74143
* Updates for Blowfish password hashing.Mark Murray2001-03-111-0/+1
| | | | Notes: svn path=/head/; revision=74107
* o Back out 1.39, it was a bad idea. There was, and should be, aRobert Watson2000-12-191-2/+2
| | | | | | | | | | | | | distinction between the OS copyright message and the message displayed gratuitously to each user at login. Because, well, they may be different, among other things, and boy can a copyright message each login consume some screen space. If people really want to do this, they can copy /COPYRIGHT to /etc/COPYRIGHT. Submitted by: Anders Andersson <anders@codefactory.se> Notes: svn path=/head/; revision=70189
* o /etc/COPYRIGHT -> /COPYRIGHT, since that's where it's installed.Robert Watson2000-12-171-2/+2
| | | | | | | Submitted by: Anders Andersson <anders@sanyusan.se> Notes: svn path=/head/; revision=70122
* Add `password_format=md5' to the default settings. I've had this locallyDavid E. O'Brien2000-11-211-0/+8
| | | | | | | | | | | for a while, but a recent email to -stable suggests it should be spelled out as the documentation of "password_format" is sparse. Also add a `des_users' entry. Submitted by: Sean O'Connell <sean@stat.Duke.EDU> Notes: svn path=/head/; revision=69015
* document sbsize limit.Alfred Perlstein2000-06-021-0/+1
| | | | Notes: svn path=/head/; revision=61184
* o Improve the comment concerning rebuilding the database using cap_mkdb --Robert Watson2000-03-261-6/+4
| | | | | | | | | | it's not a speed thing, it's a correctness thing :-) o Reorder the path slightly to be more consistent Reviewed by: jhb Notes: svn path=/head/; revision=58579
* Synchronize login.conf default path with skel/dot.cshrc and root/dot.cshrcRobert Watson2000-03-251-1/+1
| | | | Notes: svn path=/head/; revision=58572
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Axe LOGIN_CAP_AUTH.Sheldon Hearn1999-08-131-16/+1
| | | | | | | | | PR: 10115 Reported by: Gene Skonicki <gene@cif.rochester.edu> Requested by: jdp Notes: svn path=/head/; revision=49696
* Be a little clearer about login_getpwclass(3), and its penchant forNik Clayton1999-07-141-1/+3
| | | | | | | | | | looking up a record called "root". PR: docs/12377 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com> Notes: svn path=/head/; revision=48814
* Set FTP_PASSIVE_MODE=YES by default in the default login class.Jordan K. Hubbard1999-05-281-2/+2
| | | | Notes: svn path=/head/; revision=47583
* Change references from "passwordperiod" to "passwordtime", sinceTim Vanderhoek1999-04-301-3/+3
| | | | | | | | | "passwordtime" is what passwd(1) has actually been using. I suspect passwordperiod was the original intent. I can't figure-out which, if either, BSDi uses. If anyone knows... Notes: svn path=/head/; revision=46209
* Add /usr/X11R6/bin to default path also.Jordan K. Hubbard1999-04-281-2/+2
| | | | Notes: svn path=/head/; revision=46158
* remove 'russian' duplicated in commentAndrey A. Chernov1999-04-081-9/+1
| | | | Notes: svn path=/head/; revision=45470
* Ripped out EDITOR=ee with extreme prejudice.David Greenman1999-01-261-3/+3
| | | | Notes: svn path=/head/; revision=43220
* Oops, I missed a few more /etc/nologin references yesterday. It appearsSatoshi Asami1999-01-121-2/+2
| | | | | | | | | my check of the tree was incomplete. Sorry guys. Reported by: Ben Smithurst <ben@scientia.demon.co.uk> Notes: svn path=/head/; revision=42587
* Move nologin from /etc to /var/run. This means one less file that hasSatoshi Asami1999-01-111-2/+2
| | | | | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version) Notes: svn path=/head/; revision=42515
* Slightly clarify wording of "Example".Tim Vanderhoek1998-12-291-2/+2
| | | | Notes: svn path=/head/; revision=42149
* Don't set a MANPATH by default for users who aren't in a login class.Chris Timmons1998-12-271-3/+2
| | | | | | | | | | | | man(1) will utilize manpath(1) if MANPATH is unset in the environment, and with our existing manpath.config it is enough to find the X11 pages among others. PR: 8587 Submitted by: Marc Slemko <marcs@znep.com> Notes: svn path=/head/; revision=42113
* Fix typo: s/;/:/Dmitrij Tejblum1998-09-171-2/+2
| | | | | | | | | | PR: conf/7964 PR: conf/7966 Submitted by: Zach Heilig <zach@gaffaneys.com> Submitted by: Jos Backus <Jos.Backus@nl.origin-it.com> Notes: svn path=/head/; revision=39424
* Effectively disable resource limit setting by default, leaving theMike Smith1998-09-161-203/+274
| | | | | | | | | | | | | original contents of the file preserved as examples for administrators that need to enable them. Also add a comment to the examples pointing out that the authentication functionality is largely unused and requires rebuilding libutil. Reviewed by: jkh Notes: svn path=/head/; revision=39375
* Remove extraneous trailing \'s.Steve Price1998-03-091-3/+3
| | | | | | | | PR: 5949 Submitted by: Studded@dal.net Notes: svn path=/head/; revision=34346
* Expand default datasize to 22M, perl5 & pine are usual memory eatersAndrey A. Chernov1997-12-031-2/+2
| | | | Notes: svn path=/head/; revision=31506
* Revisions 1.14 and 1.9.2.3 fixed PR conf/5127.David E. O'Brien1997-12-011-1/+1
| | | | Notes: svn path=/head/; revision=31479
* datasize-curr -> datasize-cur, typo fix.Steve Price1997-11-271-2/+2
| | | | | | | | PR: 5152 Submitted by: owaki@st.rim.or.jp Notes: svn path=/head/; revision=31431