shadow/libmisc
nekral-guest e21f90fd68 Add new generic functions to find the next user or group ID available:
find_new_uid() and find_new_gid(). They work the same way as the functions
with the same name of useradd or groupadd, except that they check in the
local database to make sure an ID was not reserved in an uncommitted
change (this is needed to be used in newusers), they report a status
instead of calling exit(), and they can receive a preferred ID. They
should later support system IDs. This should be a little bit slower, but
not too much (if the database is not open the checks against the local
database will exit immediately, and if it is already open, all the checks
will be done regarding the data in memory).
2008-02-03 16:53:07 +00:00
..
.indent.pro Commit the last version from the PLD CVS repository. 2007-10-07 14:36:51 +00:00
addgrps.c Replace printf by puts for fixed strings. This would avoid issues caused 2008-01-24 21:07:14 +00:00
age.c * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c, 2008-02-03 16:28:03 +00:00
audit_help.c Avoid empty file when WITH_AUDIT is not set. 2008-01-01 14:20:36 +00:00
basename.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chkname.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chkname.h Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chowndir.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chowntty.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
console.c * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c, 2008-01-06 11:59:01 +00:00
copydir.c Remove the src parameter of copy_special(). 2008-01-06 12:02:24 +00:00
entry.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
env.c Replace printf by puts for fixed strings. This would avoid issues caused 2008-01-24 21:07:14 +00:00
failure.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
failure.h Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
fields.c Merge Debian's patch 466_fflush-prompt 2007-12-26 16:50:38 +00:00
find_new_ids.c Add new generic functions to find the next user or group ID available: 2008-02-03 16:53:07 +00:00
getdate.h [svn-upgrade] Integrating new upstream version, shadow (4.0.8) 2007-10-07 11:46:07 +00:00
getdate.y * libmisc/obscure.c: Tag the `old' parameter of palindrome(), 2008-01-06 13:20:25 +00:00
getlong.c * src/chpasswd.c: Added crypt method: NONE. 2007-11-23 20:09:57 +00:00
hushed.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
isexpired.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
limits.c Replace printf by puts for fixed strings. This would avoid issues caused 2008-01-24 21:07:14 +00:00
list.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
log.c * lib/prototypes.h: Add the dolastlog() prototype. 2008-01-05 16:44:28 +00:00
loginprompt.c * libmisc/obscure.c: Tag the `old' parameter of palindrome(), 2008-01-06 13:20:25 +00:00
mail.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
Makefile.am Merge Debian's patch 466_fflush-prompt 2007-12-26 16:50:38 +00:00
motd.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
myname.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
obscure.c * libmisc/obscure.c: Tag the `old' parameter of palindrome(), 2008-01-06 13:20:25 +00:00
pam_pass.c do_pam_passwd should not have been defined static, prototypes.h needed 2008-01-05 15:41:58 +00:00
pwd2spwd.c Fix time () prototype. 2007-12-08 23:25:52 +00:00
pwd_init.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
pwdcheck.c * libmisc/pwdcheck.c: Do not include <pwd.h>. Include <shadow.h> 2008-01-05 16:33:43 +00:00
rlogin.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
salt.c Fix build failures with --disable-shadowgrp. Thanks to Jürgen 2008-01-26 17:41:20 +00:00
setugid.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
setupenv.c Merge Debian's patch 451_login_PATH 2007-12-26 23:15:43 +00:00
shell.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
strtoday.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
sub.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
sulog.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
ttytype.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
tz.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
ulimit.c * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c, 2008-01-06 11:59:01 +00:00
utmp.c Remove the declaration of getutent(), getutline(), setutent(), and 2008-01-05 14:09:56 +00:00
valid.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
xgetgrgid.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetgrnam.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetpwnam.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetpwuid.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetspnam.c Add missing include "shadowio.h". (This was OK as long as prototypes.h included this file.) 2008-01-05 13:40:49 +00:00
xgetXXbyYY.c Include config.h as a system include, as recommended by the autoconf documentation. 2008-01-05 13:32:32 +00:00
xmalloc.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
yesno.c * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c, 2008-02-03 16:28:03 +00:00