summaryrefslogtreecommitdiffstats
path: root/login-utils/vipw.c
Commit message (Collapse)AuthorAgeFilesLines
* replace bcopy,bzero,index and rindexDaniel Mierswa2009-08-171-2/+2
| | | | | | | | | Those 4 functions are marked as LEGACY in POSIX.1-2001 and removed in POSIX.1-2008. Replaced with memmove,memset,strchr and strrchr. Signed-off-by: Daniel Mierswa <impulze@impulze.org>
* 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>
* vipw: fix permissions (600->400) for edited /etc/[g]shodow filesKarel Zak2007-02-151-3/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.12a tarball.Karel Zak2006-12-071-0/+24
|
* Imported from util-linux-2.11m tarball.Karel Zak2006-12-071-82/+87
|
* Imported from util-linux-2.11b tarball.Karel Zak2006-12-071-29/+65
|
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-071-17/+11Star
|
* Imported from util-linux-2.9v tarball.Karel Zak2006-12-071-10/+23
|
* Imported from util-linux-2.9i tarball.Karel Zak2006-12-071-3/+2Star
|
* Imported from util-linux-2.8 tarball.Karel Zak2006-12-071-14/+10Star
|
* Imported from util-linux-2.7.1 tarball.Karel Zak2006-12-071-48/+87
|
* Imported from util-linux-2.5 tarball.Karel Zak2006-12-071-5/+11
|
* Imported from util-linux-2.2 tarball.Karel Zak2006-12-071-0/+252