summaryrefslogtreecommitdiffstats
path: root/usr.bin/login
Commit message (Collapse)AuthorAgeFilesLines
...
* Add braces to avoid ambiguity in a nested conditional (silences a gccsheldonh2000-04-261-1/+2
| | | | warning).
* Fix excessive use of parenthesis in previous commit.sheldonh2000-04-252-2/+2
| | | | Requested by: bde
* Do not issue a warning when chflags() fails with EOPNOTSUPP.sheldonh2000-04-132-2/+3
| | | | | PR: 17875 Submitted by: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fix diagnostic printing test condition (was always true)ache2000-02-281-1/+1
| | | | Approved by: jkh
* Remove option's description that has gone with PAM.ru2000-02-271-9/+1
|
* Added IPv6 name resolving support for utmp logging.shin2000-02-191-15/+42
| | | | Approved by: jkh
* Remove the version information from `.Os FreeBSD' here. Not onlychris2000-02-141-1/+1
| | | | | | | | might it confuse people, but it causes a warning message with nroff, and no version history mentions a 1.2 version of FreeBSD. If anything, a ``HISTORY'' section should show which version this appeared in.
* Revert the libcrypt/libmd stuff back to how it was. This should not havepeter1999-12-181-2/+2
| | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
* Add libmd (or move it after libcrypt). We don't want the linker to bemarcel1999-12-161-2/+2
| | | | | smart because it will definitely get it wrong. This popped up during cross-linking.
* Correct some hard sentence breaks. Only those surrounding the previoussheldonh1999-09-141-2/+2
| | | | | | | | commit and those which cause ugly nroff output have been fixed, since the purpose of the style guideline which they contravene is to reduce the sizes of deltas. Reported by: bde
* Improve shell documentation:sheldonh1999-09-081-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * Consistently misspell built-in as builtin. * Add a builtin(1) manpage and create builtin(1) MLINKS for all shell builtin commands for which no standalone utility exists. These MLINKS replace those that were created for csh(1). * Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages, as well as to the manpages of standalone utilities which are supported as shell builtin commands in at least one of the shells. In such manpages, explain that similar functionality may be provided as a shell builtin command. * Improve sh(1)'s description of the cd builtin command. Csh(1) already describes it adequately. Replace the cd(1) manpage with a builtin(1) MLINKS link. * Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use Ic instead of Xr for shell builtin commands. * Undo English contractions. Reviewed by: mpp, rgrimes
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Clear all file flags when taking ownership of devices. Do not ignoreimp1999-08-212-3/+16
| | | | | chown failures in some places, but instead log them like we do all other errors.
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+3
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* remove uid switching before login_getpwclass, now done inside libutilache1999-04-241-3/+6
| | | | add gid switching before chdir and comment why it needed
* Don't perform the trimdomain() functionality twice,brian1999-04-071-12/+3
| | | | trimdomain() now works as expected.
* Added xref to nologin(5)wosch1999-02-011-1/+2
|
* Force <bsd.libnames.mk> to be included, regardless of the objectjdp1999-01-221-1/+2
| | | | | format. This fixes the undefined symbols when building login for a.out.
* Allow login to be linked statically even when PAM is used, sincejdp1999-01-201-4/+2
| | | | there is now a static version of libpam.
* Add a compile knob to avoid using PAM code (login will use standard Unixabial1999-01-192-4/+22
| | | | | | | authentication only). This comes handy when you're tight on space. Submitted by: mostly John Baldwin <jobaldwi@vt.edu> Reviewed by: John D. Polstra <jdp@polstra.com>
* Move nologin from /etc to /var/run. This means one less file that hasasami1999-01-111-3/+3
| | | | | | | | | 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)
* Make the timeout handler log any failed logins, to make sure failedeivind1999-01-031-7/+17
| | | | logins get logged.
* Obtained from: "Jan B. Koum " <jkb@best.com>dillon1998-12-012-3/+5
| | | | | Add a reference to pam(8) in the login(1) and login.access(5) manual pages.
* Work around the problem that login won't link if NOSHARED=yes,jdp1998-11-211-1/+2
| | | | | | | | | | because libpam is built shared only. There is a way to build PAM into a static library that contains all (or a selected subset) of the modules. But our Makefiles don't support that yet. Until I get that working, just force NOSHARED=no in login's Makefile. Of course, it still won't work if NOPIC is set. Submitted by: bde
* ATTENTION: INSTALL "/etc/pam.conf" FROM "src/etc"!!!jdp1998-11-213-326/+149
| | | | | | | | Change login to use PAM for authentication. I kept the built-in passwd/NIS authentication support, to handle cases where the system is missing its "/etc/pam.conf" file. S/Key and KerberosIV authentication methods are removed from the login program, but still available in PAM modules.
* unifdef -DLOGIN_CAP. After almost 2 years, I think we can assumejdp1998-11-112-75/+4
| | | | | | it's here to stay. This code is starting to look almost reasonable again.
* Remove support for LOGIN_CAP_AUTH. It was never enabled, it wasjdp1998-11-112-131/+5
| | | | | | | | | not complete, and it hasn't been touched for 18 months. All the ifdefs obfuscate the code. I discussed the LOGIN_CAP_AUTH support with its author and he agreed that it is a dead end. I am bringing PAM into the tree within the next two weeks. It is much more flexible than LOGIN_CAP_AUTH, and will serve as a superior replacement for it.
* Fix a const-related compiler warning.jdp1998-11-111-2/+3
|
* Use KJH's auth.conf parser to turn on/off Kerberos in userland.markm1998-10-092-3/+12
|
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Remove hardcoded constant in favour of login.conf value.jkoshy1998-08-171-2/+2
| | | | | PR: 6529 Submitted by: Dan Lukes <dan@obluda.cz>
* Fix LIBDIR (for aout/ELF).markm1998-08-061-1/+1
|
* Backed out rev.1.31. It was a workaround for bugs in rev.1.4 ofbde1998-07-311-5/+1
| | | | | | | | | | | | | | libc/gen/getpass.c. The old behaviour of blocking SIGINT and not changing SIGQUIT was restored in rev.1.5 of getpass.c. The change here completely restores the old behaviour of not supporting killing login with keyboard signals (only) at the password prompt. There is no reason to support this, since login can be exited normally by typing a couple of ^D's. Login certainly shouldn't dump core in response to user input. Previously, SIGQUIT killed login immediately but SIGINT killed it only after the password was entered. PR: 7444
* Fix a couple of little bugs that prevented login.c from compilingjdp1998-07-221-3/+3
| | | | | | | | if LOGIN_CAP_AUTH was defined. This is kind of silly, because LOGIN_CAP_AUTH doesn't work anyway, is not defined currently, probably will never be defined, and IMHO should not be defined. But I'm sure you'll sleep better tonight, knowing that these bugs are gone.
* Trim a domain part for wtmp as same as showed by "netstat -r".amurai1998-06-011-1/+5
| | | | | | | | | | | | | Here is a some example for avoiding a confusion. It asssumes a logged host domain is "spec.co.jp". All example is longer than UT_HOSTNAMELEN value. 1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama 2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2 3) specgw.spec.co.jp : 202.32.13.1 -> specgw Submitted by: Atsushi Murai <amurai@spec.co.jp>
* *blush*, typo during last minute editing..peter1998-04-301-2/+2
|
* Change euid while reading the user's .login_cap file in case the homedirpeter1998-04-301-2/+8
| | | | | | | | | is on a NFS partion without root read access. Also, flip euid again for the duration of the chdir() to the homedir for the same reason. PR: 5145 Submitted by: Joel.Faedi@esial.u-nancy.fr Also tested by: A Joseph Koshy <koshy@india.hp.com>
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* gcc on alpha complains about nested comments. A comment in thisjb1998-02-151-1/+1
| | | | | | file referred to a path ending in "/*" which was reasonable to me, but gcc wasn't so sure. So now the comment refers to a path ending in "*".
* Fix very rare but dangerous bug:ache1998-02-131-1/+3
| | | | | | | | | | | for some DES passwords crypt(real_password, salt) is equal to crypt("", salt); It means that this user (and not only he) can login without entering password at all, just pressing Return. So if empty password entered and crypted password is not empty, invalidate any crypt result by assigning ":"
* Reset SGINT and SIGQUIT handling to default when asking for passwords.guido1998-02-051-1/+5
| | | | | | | | | Otherwise, when pressing the INT ke at the password prompt, the password will be displayed. Now login will be killed. Probably the same will have to be done for the LOGIN_CAP_AUTH case. I have not done that. Reviewed by: Joerg Wunsch
* Mention S/key and the skey /etc files.obrien1998-01-071-3/+18
|
* Fix a fatal typo.joerg1997-10-191-2/+2
| | | | | PR: bin/4801 Submitted by: mishania@demos.su (Mikhail A. Sokolov)
* Changes for KTH KerberosIV.markm1997-09-285-16/+13
| | | | Also quieten -Wall a bit.
* "lmd" -> "-lmd"nate1997-09-051-2/+2
| | | | Submitted by: Vincent Poy <vince@venus.gaianet.net>
* If building elf, don't link in libmd.a just for libskey.so to use. Underpeter1997-09-051-3/+9
| | | | elf, libskey.so will not expose it's implementation on it's caller.
* = -> ==, strcpy -> strncpy from OpenBSD.charnier1997-07-224-28/+41
| | | | | update man page. Add usage(). Obtained from: OpenBSD
* Fix the man page's title (.Dt).max1997-06-021-1/+1
| | | | (It has been ``SKEY.ACCESS''.)
* Restore backwards compatible default behavior for requirehomepst1997-05-231-1/+1
|
OpenPOWER on IntegriCloud