summaryrefslogtreecommitdiffstats
path: root/login-utils/chsh.c
Commit message (Collapse)AuthorAgeFilesLines
...
* selinux: is_selinux_enabled() returns 0, 1 and -1Karel Zak2008-07-011-1/+1
| | | | | | | | | | Unfortunately, the current libselinux implementation of is_selinux_enabled() returns -1 on error. This behavior is undocumented. The proper solution is to use "if (is_selinux_enabled() > 0)". Signed-off-by: Karel Zak <kzak@redhat.com>
* chfn, chsh, login: collapsing three similar messages into a single oneBenno Schulenberg2008-04-161-2/+2
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: tweak a few messages for clarityBenno Schulenberg2007-10-261-2/+2
| | | | | | | | Add a missing period, a missing space, a comma and a word for clarity, plus a period and an uppercase letter to match surrounding messages. Further add a missing call to gettext, and undo an unneeded linewrap. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* chsh: should use pam_end function to terminate the PAM transactionYu Zhiguo2007-10-041-24/+33
| | | | | | | | | | | | chsh will use PAM transaction if macros 'REQUIRE_PASSWORD' and 'HAVE_SECURITY_PAM_MISC_H' are defined, but there is no pam_end function be used when the PAM transaction be terminated. This patch also cleanup PAM code in chsh(1). Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com> Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* chsh: don't use empty shell field in /etc/passwdKarel Zak2007-08-141-2/+5
| | | | | | | | | chsh(1) uses empty shell setting (pw->pw_shell="") as a synonym for /bin/sh. This convention is silly and unnecessary. (The vsftpd server will not run if the shell assigned to user "ftp" is a null string -- according to bug rh#103004). Signed-off-by: Karel Zak <kzak@redhat.com>
* chsh: remove tailing wihit-spaces and use PATH_BSHELLKarel Zak2007-03-071-5/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-10/+10
|
* Imported from util-linux-2.12i tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.12b tarball.Karel Zak2006-12-071-1/+7
|
* Imported from util-linux-2.12a tarball.Karel Zak2006-12-071-0/+27
|
* Imported from util-linux-2.11o tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.11f tarball.Karel Zak2006-12-071-24/+16Star
|
* Imported from util-linux-2.11b tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-071-20/+11Star
|
* Imported from util-linux-2.10m tarball.Karel Zak2006-12-071-1/+0Star
|
* Imported from util-linux-2.10f tarball.Karel Zak2006-12-071-1/+0Star
|
* Imported from util-linux-2.9v tarball.Karel Zak2006-12-071-34/+44
|
* Imported from util-linux-2.9i tarball.Karel Zak2006-12-071-5/+0Star
|
* Imported from util-linux-2.8 tarball.Karel Zak2006-12-071-6/+4Star
|
* Imported from util-linux-2.7.1 tarball.Karel Zak2006-12-071-24/+77
|
* Imported from util-linux-2.5 tarball.Karel Zak2006-12-071-11/+58
|
* Imported from util-linux-2.2 tarball.Karel Zak2006-12-071-0/+313