From 0c04b92a9afe5e09a20307d8a5ec98d97ed00f47 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Fri, 21 Jan 2022 23:41:15 +0100 Subject: [PATCH] New upstream version 4.11.1+dfsg1 --- COPYING | 143 +- ChangeLog | 90 +- Makefile.am | 2 +- Makefile.in | 15 +- NEWS | 24 +- README | 150 +- TODO | 2 +- aclocal.m4 | 193 +- compile | 13 +- config.h.in | 12 - configure | 298 +- configure.ac | 12 +- contrib/Makefile.in | 13 +- contrib/adduser-old.c | 52 +- contrib/atudel | 85 - contrib/groupmems.shar | 99 +- depcomp | 8 +- doc/HOWTO | 4 +- doc/Makefile.in | 13 +- doc/README.limits | 1 - doc/README.platforms | 2 +- doc/WISHLIST | 1 - etc/Makefile.in | 15 +- etc/login.access | 14 +- etc/login.defs | 1 - etc/pam.d/Makefile.in | 13 +- install-sh | 36 +- lib/Makefile.am | 7 +- lib/Makefile.in | 259 +- lib/commonio.c | 68 +- lib/commonio.h | 33 +- lib/defines.h | 10 +- lib/encrypt.c | 34 +- lib/exitcodes.h | 27 +- lib/faillog.h | 35 +- lib/fields.c | 33 +- lib/fputsx.c | 33 +- lib/get_gid.c | 27 +- lib/get_pid.c | 27 +- lib/get_uid.c | 27 +- lib/getdef.c | 34 +- lib/getdef.h | 33 +- lib/getlong.c | 27 +- lib/getulong.c | 27 +- lib/groupio.c | 35 +- lib/groupio.h | 35 +- lib/groupmem.c | 35 +- lib/gshadow.c | 33 +- lib/gshadow_.h | 31 +- lib/lockpw.c | 31 +- lib/nscd.c | 9 +- lib/nss.c | 1 + lib/pam_defs.h | 29 +- lib/port.c | 33 +- lib/port.h | 31 +- lib/prototypes.h | 40 +- lib/pwauth.c | 35 +- lib/pwauth.h | 33 +- lib/pwio.c | 35 +- lib/pwio.h | 35 +- lib/pwmem.c | 53 +- lib/run_part.c | 3 +- lib/selinux.c | 36 +- lib/semanage.c | 35 +- lib/sgetgrent.c | 33 +- lib/sgetpwent.c | 35 +- lib/sgetspent.c | 33 +- lib/sgroupio.c | 35 +- lib/sgroupio.h | 35 +- lib/shadow.c | 33 +- lib/shadowio.c | 35 +- lib/shadowio.h | 33 +- lib/shadowlog.c | 31 + lib/shadowlog.h | 41 + lib/shadowlog_internal.h | 2 + lib/shadowmem.c | 47 +- lib/spawn.c | 35 +- lib/sssd.c | 10 +- lib/subordinateio.c | 10 +- lib/tcbfuncs.c | 89 +- lib/utent.c | 31 +- libmisc/Makefile.am | 3 +- libmisc/Makefile.in | 388 +- libmisc/addgrps.c | 35 +- libmisc/age.c | 33 +- libmisc/audit_help.c | 36 +- libmisc/basename.c | 31 +- libmisc/chkname.c | 33 +- libmisc/chkname.h | 33 +- libmisc/chowndir.c | 33 +- libmisc/chowntty.c | 35 +- libmisc/cleanup.c | 27 +- libmisc/cleanup_group.c | 52 +- libmisc/cleanup_user.c | 44 +- libmisc/console.c | 35 +- libmisc/copydir.c | 47 +- libmisc/date_to_str.c | 46 + libmisc/entry.c | 33 +- libmisc/env.c | 36 +- libmisc/failure.c | 58 +- libmisc/failure.h | 33 +- libmisc/find_new_gid.c | 70 +- libmisc/find_new_sub_gids.c | 37 +- libmisc/find_new_sub_uids.c | 37 +- libmisc/find_new_uid.c | 70 +- libmisc/getdate.c | 768 +- libmisc/getdate.h | 31 +- libmisc/getdate.y | 2 +- libmisc/getgr_nam_gid.c | 33 +- libmisc/getrange.c | 27 +- libmisc/gettime.c | 29 +- libmisc/hushed.c | 37 +- libmisc/idmapping.c | 70 +- libmisc/idmapping.h | 27 +- libmisc/isexpired.c | 33 +- libmisc/limits.c | 40 +- libmisc/list.c | 31 +- libmisc/log.c | 35 +- libmisc/loginprompt.c | 35 +- libmisc/mail.c | 33 +- libmisc/motd.c | 35 +- libmisc/myname.c | 31 +- libmisc/obscure.c | 33 +- libmisc/pam_pass.c | 33 +- libmisc/pam_pass_non_interactive.c | 46 +- libmisc/prefix_flag.c | 91 +- libmisc/pwd2spwd.c | 33 +- libmisc/pwd_init.c | 33 +- libmisc/pwdcheck.c | 32 +- libmisc/remove_tree.c | 33 +- libmisc/rlogin.c | 33 +- libmisc/root_flag.c | 58 +- libmisc/salt.c | 39 +- libmisc/setugid.c | 33 +- libmisc/setupenv.c | 36 +- libmisc/shell.c | 33 +- libmisc/strtoday.c | 33 +- libmisc/sub.c | 31 +- libmisc/sulog.c | 33 +- libmisc/ttytype.c | 33 +- libmisc/tz.c | 35 +- libmisc/ulimit.c | 33 +- libmisc/user_busy.c | 46 +- libmisc/utmp.c | 33 +- libmisc/valid.c | 33 +- libmisc/xgetXXbyYY.c | 34 +- libmisc/xgetgrgid.c | 27 +- libmisc/xgetgrnam.c | 27 +- libmisc/xgetpwnam.c | 27 +- libmisc/xgetpwuid.c | 27 +- libmisc/xgetspnam.c | 27 +- libmisc/xmalloc.c | 38 +- libmisc/yesno.c | 29 +- libsubid/Makefile.am | 11 +- libsubid/Makefile.in | 58 +- libsubid/api.c | 62 +- libsubid/subid.h | 40 +- libsubid/subid.h.in | 155 + ltmain.sh | 217 +- m4/libtool.m4 | 27 +- man/Makefile.am | 2 + man/Makefile.in | 17 +- man/chage.1.xml | 30 +- man/chfn.1.xml | 30 +- man/chgpasswd.8.xml | 30 +- man/chpasswd.8.xml | 30 +- man/chsh.1.xml | 30 +- man/cs/Makefile.in | 13 +- man/cs/man5/gshadow.5 | 2 +- man/da/Makefile.in | 13 +- man/da/man1/chfn.1 | 6 +- man/da/man1/groups.1 | 6 +- man/da/man1/id.1 | 6 +- man/da/man1/newgrp.1 | 6 +- man/da/man1/sg.1 | 6 +- man/da/man5/gshadow.5 | 8 +- man/da/man8/groupdel.8 | 6 +- man/da/man8/logoutd.8 | 6 +- man/da/man8/nologin.8 | 6 +- man/da/man8/vipw.8 | 6 +- man/de/Makefile.in | 13 +- man/de/man1/chage.1 | 6 +- man/de/man1/chfn.1 | 6 +- man/de/man1/chsh.1 | 6 +- man/de/man1/expiry.1 | 6 +- man/de/man1/gpasswd.1 | 6 +- man/de/man1/groups.1 | 6 +- man/de/man1/id.1 | 6 +- man/de/man1/login.1 | 10 +- man/de/man1/newgrp.1 | 6 +- man/de/man1/passwd.1 | 6 +- man/de/man1/sg.1 | 6 +- man/de/man1/su.1 | 10 +- man/de/man3/shadow.3 | 6 +- man/de/man5/faillog.5 | 8 +- man/de/man5/gshadow.5 | 8 +- man/de/man5/limits.5 | 8 +- man/de/man5/login.access.5 | 8 +- man/de/man5/login.defs.5 | 12 +- man/de/man5/passwd.5 | 8 +- man/de/man5/porttime.5 | 8 +- man/de/man5/shadow.5 | 8 +- man/de/man5/suauth.5 | 8 +- man/de/man8/chgpasswd.8 | 6 +- man/de/man8/chpasswd.8 | 6 +- man/de/man8/faillog.8 | 6 +- man/de/man8/groupadd.8 | 6 +- man/de/man8/groupdel.8 | 6 +- man/de/man8/groupmems.8 | 6 +- man/de/man8/groupmod.8 | 6 +- man/de/man8/grpck.8 | 6 +- man/de/man8/lastlog.8 | 6 +- man/de/man8/logoutd.8 | 6 +- man/de/man8/newusers.8 | 6 +- man/de/man8/nologin.8 | 6 +- man/de/man8/pwck.8 | 6 +- man/de/man8/pwconv.8 | 6 +- man/de/man8/sulogin.8 | 6 +- man/de/man8/useradd.8 | 18 +- man/de/man8/userdel.8 | 10 +- man/de/man8/usermod.8 | 17 +- man/de/man8/vipw.8 | 6 +- man/es/Makefile.in | 13 +- man/expiry.1.xml | 32 +- man/faillog.5.xml | 32 +- man/faillog.8.xml | 30 +- man/fi/Makefile.in | 13 +- man/fr/Makefile.in | 13 +- man/fr/man1/chage.1 | 6 +- man/fr/man1/chfn.1 | 6 +- man/fr/man1/chsh.1 | 6 +- man/fr/man1/expiry.1 | 6 +- man/fr/man1/gpasswd.1 | 6 +- man/fr/man1/groups.1 | 6 +- man/fr/man1/id.1 | 6 +- man/fr/man1/login.1 | 10 +- man/fr/man1/newgidmap.1 | 6 +- man/fr/man1/newgrp.1 | 6 +- man/fr/man1/newuidmap.1 | 6 +- man/fr/man1/passwd.1 | 6 +- man/fr/man1/sg.1 | 6 +- man/fr/man1/su.1 | 10 +- man/fr/man3/shadow.3 | 6 +- man/fr/man5/faillog.5 | 8 +- man/fr/man5/gshadow.5 | 8 +- man/fr/man5/limits.5 | 8 +- man/fr/man5/login.access.5 | 8 +- man/fr/man5/login.defs.5 | 12 +- man/fr/man5/passwd.5 | 8 +- man/fr/man5/porttime.5 | 8 +- man/fr/man5/shadow.5 | 8 +- man/fr/man5/suauth.5 | 8 +- man/fr/man5/subgid.5 | 8 +- man/fr/man5/subuid.5 | 8 +- man/fr/man8/chgpasswd.8 | 6 +- man/fr/man8/chpasswd.8 | 6 +- man/fr/man8/faillog.8 | 6 +- man/fr/man8/groupadd.8 | 6 +- man/fr/man8/groupdel.8 | 6 +- man/fr/man8/groupmems.8 | 6 +- man/fr/man8/groupmod.8 | 6 +- man/fr/man8/grpck.8 | 6 +- man/fr/man8/lastlog.8 | 6 +- man/fr/man8/logoutd.8 | 6 +- man/fr/man8/newusers.8 | 6 +- man/fr/man8/nologin.8 | 6 +- man/fr/man8/pwck.8 | 6 +- man/fr/man8/pwconv.8 | 6 +- man/fr/man8/sulogin.8 | 6 +- man/fr/man8/useradd.8 | 18 +- man/fr/man8/userdel.8 | 10 +- man/fr/man8/usermod.8 | 17 +- man/fr/man8/vipw.8 | 6 +- man/getsubids.1.xml | 127 + man/gpasswd.1.xml | 30 +- man/groupadd.8.xml | 30 +- man/groupdel.8.xml | 30 +- man/groupmems.8.xml | 34 +- man/groupmod.8.xml | 30 +- man/groups.1.xml | 30 +- man/grpck.8.xml | 30 +- man/gshadow.5.xml | 30 +- man/hu/Makefile.in | 13 +- man/hu/man1/chsh.1 | 32 +- man/hu/man1/groups.1 | 28 +- man/hu/man1/login.1 | 28 +- man/hu/man1/newgrp.1 | 29 +- man/hu/man1/passwd.1 | 31 +- man/hu/man8/lastlog.8 | 29 +- man/id.1.xml | 30 +- man/id/Makefile.in | 13 +- man/it/Makefile.in | 13 +- man/it/man1/chage.1 | 6 +- man/it/man1/chfn.1 | 6 +- man/it/man1/chsh.1 | 6 +- man/it/man1/expiry.1 | 6 +- man/it/man1/gpasswd.1 | 6 +- man/it/man1/groups.1 | 6 +- man/it/man1/id.1 | 6 +- man/it/man1/login.1 | 10 +- man/it/man1/newgrp.1 | 6 +- man/it/man1/passwd.1 | 6 +- man/it/man1/sg.1 | 6 +- man/it/man1/su.1 | 10 +- man/it/man3/shadow.3 | 6 +- man/it/man5/faillog.5 | 8 +- man/it/man5/gshadow.5 | 8 +- man/it/man5/limits.5 | 8 +- man/it/man5/login.access.5 | 8 +- man/it/man5/login.defs.5 | 12 +- man/it/man5/passwd.5 | 8 +- man/it/man5/porttime.5 | 8 +- man/it/man5/shadow.5 | 8 +- man/it/man5/suauth.5 | 8 +- man/it/man8/chgpasswd.8 | 6 +- man/it/man8/chpasswd.8 | 6 +- man/it/man8/faillog.8 | 6 +- man/it/man8/groupadd.8 | 6 +- man/it/man8/groupdel.8 | 6 +- man/it/man8/groupmems.8 | 6 +- man/it/man8/groupmod.8 | 6 +- man/it/man8/grpck.8 | 6 +- man/it/man8/lastlog.8 | 6 +- man/it/man8/logoutd.8 | 6 +- man/it/man8/newusers.8 | 6 +- man/it/man8/nologin.8 | 6 +- man/it/man8/pwck.8 | 6 +- man/it/man8/pwconv.8 | 6 +- man/it/man8/sulogin.8 | 6 +- man/it/man8/useradd.8 | 18 +- man/it/man8/userdel.8 | 10 +- man/it/man8/usermod.8 | 17 +- man/it/man8/vipw.8 | 6 +- man/ja/Makefile.in | 13 +- man/ja/man1/chage.1 | 38 +- man/ja/man1/chfn.1 | 38 +- man/ja/man1/chsh.1 | 35 +- man/ja/man1/expiry.1 | 35 +- man/ja/man1/groups.1 | 40 +- man/ja/man1/id.1 | 36 +- man/ja/man1/login.1 | 30 +- man/ja/man1/newgrp.1 | 34 +- man/ja/man1/passwd.1 | 34 +- man/ja/man1/su.1 | 34 +- man/ja/man3/shadow.3 | 34 +- man/ja/man5/faillog.5 | 34 +- man/ja/man5/login.defs.5 | 34 +- man/ja/man5/passwd.5 | 33 +- man/ja/man5/porttime.5 | 33 +- man/ja/man5/shadow.5 | 33 +- man/ja/man8/chpasswd.8 | 33 +- man/ja/man8/faillog.8 | 34 +- man/ja/man8/groupadd.8 | 33 +- man/ja/man8/groupdel.8 | 33 +- man/ja/man8/groupmod.8 | 34 +- man/ja/man8/grpck.8 | 34 +- man/ja/man8/lastlog.8 | 34 +- man/ja/man8/logoutd.8 | 34 +- man/ja/man8/newusers.8 | 34 +- man/ja/man8/pwck.8 | 34 +- man/ja/man8/sulogin.8 | 34 +- man/ja/man8/useradd.8 | 34 +- man/ja/man8/userdel.8 | 34 +- man/ja/man8/usermod.8 | 34 +- man/ko/Makefile.in | 13 +- man/ko/man8/vipw.8 | 32 +- man/lastlog.8.xml | 32 +- man/limits.5.xml | 36 +- man/login.1.xml | 30 +- man/login.access.5.xml | 34 +- man/login.defs.5.xml | 34 +- man/login.defs.d/CHFN_AUTH.xml | 32 +- man/login.defs.d/CHFN_RESTRICT.xml | 32 +- man/login.defs.d/CHSH_AUTH.xml | 32 +- man/login.defs.d/CONSOLE.xml | 32 +- man/login.defs.d/CONSOLE_GROUPS.xml | 32 +- man/login.defs.d/CREATE_HOME.xml | 28 +- man/login.defs.d/DEFAULT_HOME.xml | 32 +- man/login.defs.d/ENCRYPT_METHOD.xml | 28 +- man/login.defs.d/ENVIRON_FILE.xml | 32 +- man/login.defs.d/ENV_HZ.xml | 32 +- man/login.defs.d/ENV_PATH.xml | 32 +- man/login.defs.d/ENV_SUPATH.xml | 32 +- man/login.defs.d/ENV_TZ.xml | 32 +- man/login.defs.d/ERASECHAR.xml | 32 +- man/login.defs.d/FAILLOG_ENAB.xml | 32 +- man/login.defs.d/FAIL_DELAY.xml | 32 +- man/login.defs.d/FAKE_SHELL.xml | 32 +- man/login.defs.d/FTMP_FILE.xml | 32 +- man/login.defs.d/GID_MAX.xml | 32 +- man/login.defs.d/HMAC_CRYPTO_ALGO.xml | 32 +- man/login.defs.d/HOME_MODE.xml | 32 +- man/login.defs.d/HUSHLOGIN_FILE.xml | 32 +- man/login.defs.d/ISSUE_FILE.xml | 32 +- man/login.defs.d/KILLCHAR.xml | 32 +- man/login.defs.d/LASTLOG_ENAB.xml | 32 +- man/login.defs.d/LASTLOG_UID_MAX.xml | 34 +- man/login.defs.d/LOGIN_RETRIES.xml | 32 +- man/login.defs.d/LOGIN_STRING.xml | 32 +- man/login.defs.d/LOGIN_TIMEOUT.xml | 32 +- man/login.defs.d/LOG_OK_LOGINS.xml | 32 +- man/login.defs.d/LOG_UNKFAIL_ENAB.xml | 32 +- man/login.defs.d/MAIL_CHECK_ENAB.xml | 32 +- man/login.defs.d/MAIL_DIR.xml | 34 +- man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml | 28 +- man/login.defs.d/MD5_CRYPT_ENAB.xml | 32 +- man/login.defs.d/MOTD_FILE.xml | 32 +- man/login.defs.d/NOLOGINS_FILE.xml | 32 +- man/login.defs.d/NONEXISTENT.xml | 32 +- man/login.defs.d/OBSCURE_CHECKS_ENAB.xml | 32 +- man/login.defs.d/PASS_ALWAYS_WARN.xml | 32 +- man/login.defs.d/PASS_CHANGE_TRIES.xml | 32 +- man/login.defs.d/PASS_MAX_DAYS.xml | 32 +- man/login.defs.d/PASS_MAX_LEN.xml | 32 +- man/login.defs.d/PASS_MIN_DAYS.xml | 32 +- man/login.defs.d/PASS_WARN_AGE.xml | 32 +- man/login.defs.d/PORTTIME_CHECKS_ENAB.xml | 32 +- man/login.defs.d/QUOTAS_ENAB.xml | 32 +- man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml | 28 +- man/login.defs.d/SUB_GID_COUNT.xml | 28 +- man/login.defs.d/SUB_UID_COUNT.xml | 28 +- man/login.defs.d/SULOG_FILE.xml | 32 +- man/login.defs.d/SU_NAME.xml | 32 +- man/login.defs.d/SU_WHEEL_ONLY.xml | 32 +- man/login.defs.d/SYSLOG_SG_ENAB.xml | 32 +- man/login.defs.d/SYSLOG_SU_ENAB.xml | 32 +- man/login.defs.d/SYS_GID_MAX.xml | 28 +- man/login.defs.d/SYS_UID_MAX.xml | 28 +- man/login.defs.d/TCB_AUTH_GROUP.xml | 28 +- man/login.defs.d/TCB_SYMLINKS.xml | 28 +- man/login.defs.d/TTYGROUP.xml | 32 +- man/login.defs.d/TTYTYPE_FILE.xml | 32 +- man/login.defs.d/UID_MAX.xml | 32 +- man/login.defs.d/ULIMIT.xml | 32 +- man/login.defs.d/UMASK.xml | 32 +- man/login.defs.d/USERDEL_CMD.xml | 34 +- man/login.defs.d/USERGROUPS_ENAB.xml | 32 +- man/login.defs.d/USE_TCB.xml | 28 +- man/logoutd.8.xml | 30 +- man/man1/chage.1 | 6 +- man/man1/chfn.1 | 6 +- man/man1/chsh.1 | 6 +- man/man1/expiry.1 | 6 +- man/man1/getsubids.1 | 82 + man/man1/gpasswd.1 | 6 +- man/man1/groups.1 | 6 +- man/man1/id.1 | 6 +- man/man1/login.1 | 10 +- man/man1/newgidmap.1 | 6 +- man/man1/newgrp.1 | 6 +- man/man1/newuidmap.1 | 6 +- man/man1/passwd.1 | 6 +- man/man1/sg.1 | 6 +- man/man1/su.1 | 10 +- man/man3/shadow.3 | 6 +- man/man5/faillog.5 | 8 +- man/man5/gshadow.5 | 8 +- man/man5/limits.5 | 8 +- man/man5/login.access.5 | 8 +- man/man5/login.defs.5 | 12 +- man/man5/passwd.5 | 8 +- man/man5/porttime.5 | 8 +- man/man5/shadow.5 | 8 +- man/man5/suauth.5 | 8 +- man/man5/subgid.5 | 8 +- man/man5/subuid.5 | 8 +- man/man8/chgpasswd.8 | 6 +- man/man8/chpasswd.8 | 6 +- man/man8/faillog.8 | 6 +- man/man8/groupadd.8 | 6 +- man/man8/groupdel.8 | 6 +- man/man8/groupmems.8 | 6 +- man/man8/groupmod.8 | 6 +- man/man8/grpck.8 | 6 +- man/man8/lastlog.8 | 6 +- man/man8/logoutd.8 | 6 +- man/man8/newusers.8 | 6 +- man/man8/nologin.8 | 6 +- man/man8/pwck.8 | 6 +- man/man8/pwconv.8 | 6 +- man/man8/sulogin.8 | 6 +- man/man8/useradd.8 | 18 +- man/man8/userdel.8 | 10 +- man/man8/usermod.8 | 17 +- man/man8/vipw.8 | 6 +- man/newgidmap.1.xml | 28 +- man/newgrp.1.xml | 30 +- man/newuidmap.1.xml | 28 +- man/newusers.8.xml | 30 +- man/nologin.8.xml | 30 +- man/passwd.1.xml | 30 +- man/passwd.5.xml | 32 +- man/pl/Makefile.in | 13 +- man/pl/man1/chage.1 | 6 +- man/pl/man1/chsh.1 | 6 +- man/pl/man1/expiry.1 | 6 +- man/pl/man1/groups.1 | 6 +- man/pl/man1/id.1 | 6 +- man/pl/man1/newgrp.1 | 6 +- man/pl/man1/sg.1 | 6 +- man/pl/man3/shadow.3 | 6 +- man/pl/man5/faillog.5 | 8 +- man/pl/man5/porttime.5 | 8 +- man/pl/man8/faillog.8 | 6 +- man/pl/man8/groupadd.8 | 6 +- man/pl/man8/groupdel.8 | 6 +- man/pl/man8/groupmems.8 | 6 +- man/pl/man8/groupmod.8 | 6 +- man/pl/man8/grpck.8 | 6 +- man/pl/man8/lastlog.8 | 6 +- man/pl/man8/logoutd.8 | 6 +- man/pl/man8/userdel.8 | 10 +- man/pl/man8/usermod.8 | 17 +- man/pl/man8/vipw.8 | 6 +- man/po/Makefile.in | 14 +- man/po/da.po | 18859 +++++++------ man/po/de.po | 26505 +++++++++++------- man/po/fr.po | 25934 ++++++++++------- man/po/it.po | 27308 +++++++++++------- man/po/pl.po | 21781 +++++++++------ man/po/ru.po | 27548 ++++++++++++------- man/po/shadow-man-pages.pot | 17334 ++++++++---- man/po/sv.po | 20860 ++++++++------ man/po/zh_CN.po | 23469 ++++++++++------ man/porttime.5.xml | 32 +- man/pt_BR/Makefile.in | 13 +- man/pt_BR/man5/shadow.5 | 28 +- man/pwck.8.xml | 30 +- man/pwconv.8.xml | 32 +- man/ru/Makefile.in | 13 +- man/ru/man1/chage.1 | 6 +- man/ru/man1/chfn.1 | 6 +- man/ru/man1/chsh.1 | 6 +- man/ru/man1/expiry.1 | 6 +- man/ru/man1/gpasswd.1 | 6 +- man/ru/man1/groups.1 | 6 +- man/ru/man1/id.1 | 6 +- man/ru/man1/login.1 | 10 +- man/ru/man1/newgrp.1 | 6 +- man/ru/man1/passwd.1 | 6 +- man/ru/man1/sg.1 | 6 +- man/ru/man1/su.1 | 10 +- man/ru/man3/shadow.3 | 6 +- man/ru/man5/faillog.5 | 8 +- man/ru/man5/gshadow.5 | 8 +- man/ru/man5/limits.5 | 8 +- man/ru/man5/login.access.5 | 8 +- man/ru/man5/login.defs.5 | 12 +- man/ru/man5/passwd.5 | 8 +- man/ru/man5/porttime.5 | 8 +- man/ru/man5/shadow.5 | 8 +- man/ru/man5/suauth.5 | 8 +- man/ru/man8/chgpasswd.8 | 6 +- man/ru/man8/chpasswd.8 | 6 +- man/ru/man8/faillog.8 | 6 +- man/ru/man8/groupadd.8 | 6 +- man/ru/man8/groupdel.8 | 6 +- man/ru/man8/groupmems.8 | 6 +- man/ru/man8/groupmod.8 | 6 +- man/ru/man8/grpck.8 | 6 +- man/ru/man8/lastlog.8 | 6 +- man/ru/man8/logoutd.8 | 6 +- man/ru/man8/newusers.8 | 6 +- man/ru/man8/nologin.8 | 6 +- man/ru/man8/pwck.8 | 6 +- man/ru/man8/pwconv.8 | 6 +- man/ru/man8/sulogin.8 | 6 +- man/ru/man8/useradd.8 | 18 +- man/ru/man8/userdel.8 | 10 +- man/ru/man8/usermod.8 | 17 +- man/ru/man8/vipw.8 | 6 +- man/sg.1.xml | 30 +- man/shadow.3.xml | 30 +- man/shadow.5.xml | 32 +- man/su.1.xml | 30 +- man/suauth.5.xml | 32 +- man/subgid.5.xml | 30 +- man/subuid.5.xml | 30 +- man/sulogin.8.xml | 30 +- man/sv/Makefile.in | 13 +- man/sv/man1/chage.1 | 6 +- man/sv/man1/chsh.1 | 6 +- man/sv/man1/expiry.1 | 6 +- man/sv/man1/groups.1 | 6 +- man/sv/man1/id.1 | 6 +- man/sv/man1/newgrp.1 | 6 +- man/sv/man1/passwd.1 | 6 +- man/sv/man1/sg.1 | 6 +- man/sv/man3/shadow.3 | 6 +- man/sv/man5/faillog.5 | 8 +- man/sv/man5/gshadow.5 | 8 +- man/sv/man5/limits.5 | 8 +- man/sv/man5/passwd.5 | 8 +- man/sv/man5/porttime.5 | 8 +- man/sv/man5/suauth.5 | 8 +- man/sv/man8/faillog.8 | 6 +- man/sv/man8/groupadd.8 | 6 +- man/sv/man8/groupdel.8 | 6 +- man/sv/man8/groupmems.8 | 6 +- man/sv/man8/groupmod.8 | 6 +- man/sv/man8/grpck.8 | 6 +- man/sv/man8/lastlog.8 | 6 +- man/sv/man8/logoutd.8 | 6 +- man/sv/man8/nologin.8 | 6 +- man/sv/man8/pwck.8 | 6 +- man/sv/man8/userdel.8 | 10 +- man/sv/man8/vipw.8 | 6 +- man/tr/Makefile.in | 13 +- man/tr/man1/chage.1 | 30 +- man/tr/man1/passwd.1 | 39 +- man/tr/man5/shadow.5 | 30 +- man/tr/man8/groupadd.8 | 30 +- man/tr/man8/groupdel.8 | 30 +- man/tr/man8/groupmod.8 | 30 +- man/tr/man8/useradd.8 | 30 +- man/tr/man8/userdel.8 | 30 +- man/tr/man8/usermod.8 | 30 +- man/useradd.8.xml | 36 +- man/userdel.8.xml | 30 +- man/usermod.8.xml | 41 +- man/vipw.8.xml | 32 +- man/zh_CN/Makefile.in | 13 +- man/zh_CN/man1/chage.1 | 6 +- man/zh_CN/man1/chfn.1 | 6 +- man/zh_CN/man1/chsh.1 | 6 +- man/zh_CN/man1/expiry.1 | 6 +- man/zh_CN/man1/gpasswd.1 | 6 +- man/zh_CN/man1/groups.1 | 6 +- man/zh_CN/man1/id.1 | 6 +- man/zh_CN/man1/login.1 | 10 +- man/zh_CN/man1/newgrp.1 | 6 +- man/zh_CN/man1/passwd.1 | 6 +- man/zh_CN/man1/sg.1 | 6 +- man/zh_CN/man1/su.1 | 10 +- man/zh_CN/man3/shadow.3 | 6 +- man/zh_CN/man5/faillog.5 | 8 +- man/zh_CN/man5/gshadow.5 | 8 +- man/zh_CN/man5/limits.5 | 8 +- man/zh_CN/man5/login.access.5 | 8 +- man/zh_CN/man5/login.defs.5 | 12 +- man/zh_CN/man5/passwd.5 | 8 +- man/zh_CN/man5/porttime.5 | 8 +- man/zh_CN/man5/shadow.5 | 8 +- man/zh_CN/man5/suauth.5 | 8 +- man/zh_CN/man8/chgpasswd.8 | 6 +- man/zh_CN/man8/chpasswd.8 | 6 +- man/zh_CN/man8/faillog.8 | 6 +- man/zh_CN/man8/groupadd.8 | 6 +- man/zh_CN/man8/groupdel.8 | 6 +- man/zh_CN/man8/groupmems.8 | 6 +- man/zh_CN/man8/groupmod.8 | 6 +- man/zh_CN/man8/grpck.8 | 6 +- man/zh_CN/man8/lastlog.8 | 6 +- man/zh_CN/man8/logoutd.8 | 6 +- man/zh_CN/man8/newusers.8 | 6 +- man/zh_CN/man8/nologin.8 | 6 +- man/zh_CN/man8/pwck.8 | 6 +- man/zh_CN/man8/pwconv.8 | 6 +- man/zh_CN/man8/sulogin.8 | 6 +- man/zh_CN/man8/useradd.8 | 18 +- man/zh_CN/man8/userdel.8 | 10 +- man/zh_CN/man8/usermod.8 | 17 +- man/zh_CN/man8/vipw.8 | 6 +- man/zh_TW/Makefile.in | 13 +- man/zh_TW/man8/chpasswd.8 | 27 +- man/zh_TW/man8/groupadd.8 | 28 +- man/zh_TW/man8/groupdel.8 | 28 +- man/zh_TW/man8/groupmod.8 | 28 +- man/zh_TW/man8/useradd.8 | 28 +- man/zh_TW/man8/userdel.8 | 28 +- man/zh_TW/man8/usermod.8 | 28 +- missing | 16 +- po/POTFILES.in | 1 + po/bs.po | 52 +- po/ca.gmo | Bin 66549 -> 66317 bytes po/ca.po | 71 +- po/cs.gmo | Bin 69947 -> 69669 bytes po/cs.po | 70 +- po/da.gmo | Bin 62140 -> 61894 bytes po/da.po | 73 +- po/de.gmo | Bin 68176 -> 67942 bytes po/de.po | 75 +- po/dz.gmo | Bin 32900 -> 32709 bytes po/dz.po | 60 +- po/el.gmo | Bin 83580 -> 83310 bytes po/el.po | 74 +- po/es.gmo | Bin 59622 -> 59369 bytes po/es.po | 70 +- po/eu.gmo | Bin 47327 -> 47106 bytes po/eu.po | 73 +- po/fi.gmo | Bin 19097 -> 18952 bytes po/fi.po | 60 +- po/fr.po | 53 +- po/gl.gmo | Bin 19179 -> 19054 bytes po/gl.po | 60 +- po/he.gmo | Bin 4658 -> 4599 bytes po/he.po | 55 +- po/hu.gmo | Bin 18878 -> 18741 bytes po/hu.po | 60 +- po/id.gmo | Bin 16076 -> 15923 bytes po/id.po | 60 +- po/it.gmo | Bin 21358 -> 21254 bytes po/it.po | 63 +- po/ja.gmo | Bin 71583 -> 71324 bytes po/ja.po | 71 +- po/kk.gmo | Bin 83257 -> 82946 bytes po/kk.po | 70 +- po/km.gmo | Bin 28595 -> 28399 bytes po/km.po | 60 +- po/ko.gmo | Bin 31461 -> 31330 bytes po/ko.po | 61 +- po/nb.gmo | Bin 65785 -> 65557 bytes po/nb.po | 74 +- po/ne.gmo | Bin 28281 -> 28128 bytes po/ne.po | 60 +- po/nl.gmo | Bin 80009 -> 84111 bytes po/nl.po | 198 +- po/nn.gmo | Bin 12769 -> 12661 bytes po/nn.po | 60 +- po/pl.gmo | Bin 19279 -> 19154 bytes po/pl.po | 60 +- po/pt.gmo | Bin 66036 -> 65794 bytes po/pt.po | 74 +- po/pt_BR.gmo | Bin 56904 -> 56665 bytes po/pt_BR.po | 74 +- po/ro.gmo | Bin 19039 -> 18906 bytes po/ro.po | 60 +- po/ru.gmo | Bin 89662 -> 89319 bytes po/ru.po | 73 +- po/shadow.pot | 48 +- po/sk.gmo | Bin 43377 -> 43211 bytes po/sk.po | 66 +- po/sq.po | 52 +- po/sv.gmo | Bin 54445 -> 54218 bytes po/sv.po | 70 +- po/tl.gmo | Bin 19116 -> 18989 bytes po/tl.po | 60 +- po/tr.gmo | Bin 20771 -> 20657 bytes po/tr.po | 63 +- po/uk.gmo | Bin 23361 -> 23189 bytes po/uk.po | 60 +- po/vi.gmo | Bin 74388 -> 74108 bytes po/vi.po | 71 +- po/zh_CN.gmo | Bin 63024 -> 62801 bytes po/zh_CN.po | 68 +- po/zh_TW.gmo | Bin 66913 -> 66658 bytes po/zh_TW.po | 68 +- src/Makefile.am | 18 +- src/Makefile.in | 318 +- src/chage.c | 73 +- src/check_subid_range.c | 5 +- src/chfn.c | 42 +- src/chgpasswd.c | 40 +- src/chpasswd.c | 42 +- src/chsh.c | 38 +- src/expiry.c | 42 +- src/faillog.c | 45 +- src/free_subid_range.c | 11 +- src/get_subid_owners.c | 11 +- src/{list_subid_ranges.c => getsubids.c} | 14 +- src/gpasswd.c | 50 +- src/groupadd.c | 38 +- src/groupdel.c | 40 +- src/groupmems.c | 44 +- src/groupmod.c | 38 +- src/groups.c | 59 +- src/grpck.c | 42 +- src/grpconv.c | 36 +- src/grpunconv.c | 38 +- src/id.c | 49 +- src/lastlog.c | 46 +- src/login.c | 60 +- src/login_nopam.c | 9 +- src/logoutd.c | 38 +- src/new_subid_range.c | 11 +- src/newgidmap.c | 32 +- src/newgrp.c | 58 +- src/newuidmap.c | 34 +- src/newusers.c | 40 +- src/nologin.c | 24 +- src/passwd.c | 69 +- src/pwck.c | 39 +- src/pwconv.c | 36 +- src/pwunconv.c | 38 +- src/su.c | 102 +- src/suauth.c | 35 +- src/sulogin.c | 40 +- src/useradd.c | 207 +- src/userdel.c | 50 +- src/usermod.c | 365 +- src/vipw.c | 37 +- ylwrap | 8 +- 792 files changed, 136713 insertions(+), 93536 deletions(-) delete mode 100755 contrib/atudel create mode 100644 lib/shadowlog.c create mode 100644 lib/shadowlog.h create mode 100644 lib/shadowlog_internal.h create mode 100644 libmisc/date_to_str.c create mode 100644 libsubid/subid.h.in create mode 100644 man/getsubids.1.xml create mode 100644 man/man1/getsubids.1 rename src/{list_subid_ranges.c => getsubids.c} (76%) diff --git a/COPYING b/COPYING index 88bd403e..5b1b5e2d 100644 --- a/COPYING +++ b/COPYING @@ -1,118 +1,41 @@ -NOTE: - This license has been obsoleted by the change to the BSD-style copyright. - You may continue to use this license if you wish, but you are under no - obligation to do so. +SPDX-License-Identifier: BSD-3-Clause -(* -This document is freely plagiarised from the 'Artistic Licence', -distributed as part of the Perl v4.0 kit by Larry Wall, which is -available from most major archive sites. I stole it from CrackLib. +All files under this project either - $Id$ -*) +1. fall under the BSD 3 clause license (by default). -This documents purpose is to state the conditions under which this -Package (See definition below) viz: "Shadow", the Shadow Password Suite -which is held by Julianne Frances Haugh, may be copied, such that the -copyright holder maintains some semblance of artistic control over the -development of the package, while giving the users of the package the -right to use and distribute the Package in a more-or-less customary -fashion, plus the right to make reasonable modifications. +2. carry an SPDX header declaring what license applies. -So there. +or -*************************************************************************** +3. list a full custom license -Definitions: +This software is originally + * Copyright (c) 1989 - 1994, Julianne Frances Haugh -A "Package" refers to the collection of files distributed by the -Copyright Holder, and derivatives of that collection of files created -through textual modification, or segments thereof. - -"Standard Version" refers to such a Package if it has not been modified, -or has been modified in accordance with the wishes of the Copyright -Holder. - -"Copyright Holder" is whoever is named in the copyright or copyrights -for the package. - -"You" is you, if you're thinking about copying or distributing this -Package. - -"Reasonable copying fee" is whatever you can justify on the basis of -media cost, duplication charges, time of people involved, and so on. -(You will not be required to justify it to the Copyright Holder, but -only to the computing community at large as a market that must bear the -fee.) - -"Freely Available" means that no fee is charged for the item itself, -though there may be fees involved in handling the item. It also means -that recipients of the item may redistribute it under the same -conditions they received it. - - -1. You may make and give away verbatim copies of the source form of the -Standard Version of this Package without restriction, provided that you -duplicate all of the original copyright notices and associated -disclaimers. - -2. You may apply bug fixes, portability fixes and other modifications -derived from the Public Domain or from the Copyright Holder. A Package -modified in such a way shall still be considered the Standard Version. - -3. You may otherwise modify your copy of this Package in any way, -provided that you insert a prominent notice in each changed file stating -how and when AND WHY you changed that file, and provided that you do at -least ONE of the following: - -a) place your modifications in the Public Domain or otherwise make them -Freely Available, such as by posting said modifications to Usenet or an -equivalent medium, or placing the modifications on a major archive site -such as uunet.uu.net, or by allowing the Copyright Holder to include -your modifications in the Standard Version of the Package. - -b) use the modified Package only within your corporation or organization. - -c) rename any non-standard executables so the names do not conflict with -standard executables, which must also be provided, and provide separate -documentation for each non-standard executable that clearly documents -how it differs from the Standard Version. - -d) make other distribution arrangements with the Copyright Holder. - -4. You may distribute the programs of this Package in object code or -executable form, provided that you do at least ONE of the following: - -a) distribute a Standard Version of the executables and library files, -together with instructions (in the manual page or equivalent) on where -to get the Standard Version. - -b) accompany the distribution with the machine-readable source of the -Package with your modifications. - -c) accompany any non-standard executables with their corresponding -Standard Version executables, giving the non-standard executables -non-standard names, and clearly documenting the differences in manual -pages (or equivalent), together with instructions on where to get the -Standard Version. - -d) make other distribution arrangements with the Copyright Holder. - -5. You may charge a reasonable copying fee for any distribution of this -Package. You may charge any fee you choose for support of this Package. -YOU MAY NOT CHARGE A FEE FOR THIS PACKAGE ITSELF. However, you may -distribute this Package in aggregate with other (possibly commercial) -programs as part of a larger (possibly commercial) software distribution -provided that YOU DO NOT ADVERTISE this package as a product of your -own. - -6. The name of the Copyright Holder may not be used to endorse or -promote products derived from this software without specific prior -written permission. - -7. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - - The End + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the copyright holders or contributors may not be used to + * endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/ChangeLog b/ChangeLog index 5f42a2b3..c6cc8f60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,63 @@ +2022-01-02 Serge Hallyn + + * build: include lib/shadowlog_internal.h in dist tarballs (Sam James) + +2022-01-02 Serge Hallyn + + * Handle possible TOCTTOU issues in usermod/userdel (edneville) + * (CVE-2013-4235) + * Use O_NOFOLLOW when copying file + * Kill all user tasks in userdel + * Fix useradd -D segfault (Xi Ruoyao) + * Clean up obsolete libc feature-check ifdefs (Alejandro Colomar) + * Fix -fno-common build breaks due to duplicate Prog declarations + (Adam Sampson) + * Have single date_to_str definition (Alejandro Colomar) + * Fix libsubid SONAME version (Sam James) + +2021-12-19 Serge Hallyn + + Note: From this release forward, su from this package should be + considered deprecated. Please replace any users of it with su from + util-linux. Please open an issue if there is a problem with that. + We intend to remove it in an upcoming release. + + * libsubid fixes (Xi Ruoyao, Serge Hallyn, Iker Pedrosa, Mike Gilbert, + GalaxyMaster, and Luís Ferreira) + * Rename the test program list_subid_ranges to getsubids, write + a manpage, so distros can ship it. (Iker Pedrosa) + * Add libeconf dep for new*idmap (Iker Pedrosa) + * Allow all group types with usermod -G (Iker Pedrosa) + * Avoid useradd generating empty subid range (Iker Pedrosa) + * Handle NULL pw_passwd (Jaroslav Jindrak) + * Fix default value SHA_get_salt_rounds (Mike Gilbert) + * Use https where possible in README (Paul Menzel) + * Update content and format of README (Iker Pedrosa) + * Translation updates (Balint Reczey, Frans Spiesschaert) + * Switch from xml2po to itstool in 'make dist' (Serge Hallyn) + * Fix double frees (Michael Vetter) + * Add LOG_INIT configurable to useradd (Andy Zaugg) + * Add CREATE_MAIL_SPOOL documentation (Andy Zaugg) + * Create a security.md + * Fix su never being SIGKILLd when trapping TERM (Ruihan li) + * Fix wrong SELinux labels in several possible cases (Iker Pedrosa) + * Fix missing chmod in chadowtb_move (GalaxyMaster) + * Handle malformed hushlogins entries (Tobias Stoeckmann) + * Fix groupdel segv when passwd does not exist (François Rigault) + * Fix covscan-found newgrp segfault (Iker Pedrosa) + * Remove trailing slash on hoedir (Ed Neville) + * Fix passwd -l message - it does not change expirey (Ed Neville) + * Fix SIGCHLD handling bugs in su and vipw (Tobias Stoeckmann) + * Remove special case for "" in usermod (Alejandro Colomar) + * Implement usermod -rG to remove a specific group + (Andy Zaugg) + * call pam_end() after fork in child path for su and login + (Björn Fischer) + * useradd: In absence of /etc/passwd, assume 0 == root + (Ludwig Nussel) + * lib: check NULL before freeing data (Iker Pedrosa) + * Fix pwck segfault (Iker Pedrosa) + 2021-07-22 Serge Hallyn * Updated translations (Björn Esser, Juergen Hoetzel) @@ -285,7 +345,7 @@ 2013-08-15 Nicolas François * src/usermod.c: Check early if /etc/subuid (/etc/subgid) exists - when option -v/-V (-w/-W) are provided. + when option -v/-V (-w/-W) are provided. 2013-08-15 Nicolas François @@ -662,8 +722,8 @@ * configure.in: Prepare for next point release 4.2. * if using the static char* for pw_dir, strdup it so - pw_free() can be used. (Closes: Debian#691459, alioth#313957) - * Kill the child process group, rather than just the + pw_free() can be used. (Closes: Debian#691459, alioth#313957) + * Kill the child process group, rather than just the immediate child; this is needed now that su no longer starts a controlling terminal when not running an interactive shell (closes: Debian#713979) @@ -890,7 +950,7 @@ * po/pt.po: Updated to 557t. -2012-01-19 Holger Wansing +2012-01-19 Holger Wansing * po/de.po: Updated to 557t. @@ -1477,8 +1537,8 @@ * NEWS, src/chpasswd.c: Create a shadow entry if the password is set to 'x' in passwd and there are no entry in shadow for the user. - * NEWS, src/chgpasswd.c: Create a gshadow entry if the password is - set to 'x' in group and there are no entry in gshadow for the + * NEWS, src/chgpasswd.c: Create a gshadow entry if the password is + set to 'x' in group and there are no entry in gshadow for the group. 2011-07-28 Nicolas François @@ -1550,7 +1610,7 @@ 2011-07-22 Nicolas François * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Fail in case of - invalid configuration. + invalid configuration. * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Updated comments. * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Be more strict @@ -1787,7 +1847,7 @@ man/login.defs.d/DEFAULT_HOME.xml, man/login.defs.d/LOGIN_RETRIES.xml, man/login.defs.d/MD5_CRYPT_ENAB.xml, - man/login.defs.d/PORTTIME_CHECKS_ENAB.xml, + man/login.defs.d/PORTTIME_CHECKS_ENAB.xml, man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Fix typos * man/po/de.po: German translation of manpages completed @@ -1834,7 +1894,7 @@ 2011-03-30 YunQiang Su - * man/po/zh_CN.po: convert Simplified Chinese translation + * man/po/zh_CN.po: convert Simplified Chinese translation of manpages to gettext * po/zh_CN.po: Simplified Chinese translation completed @@ -1973,7 +2033,7 @@ boolean. safe_system last argument is a boolean. * libmisc/system.c: Check return value of dup2. * libmisc/system.c: Do not check *printf/*puts return value. - * libmisc/system.c: Do not check execve return value. + * libmisc/system.c: Do not check execve return value. * libmisc/salt.c: Do not check *printf/*puts return value. * libmisc/loginprompt.c: Do not check gethostname return value. * libmisc/find_new_gid.c, libmisc/find_new_uid.c: Do not check @@ -2126,7 +2186,7 @@ 2010-04-04 Nicolas François * src/useradd.c: spool is a constant string. - * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false + * src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 2010-04-04 Nicolas François @@ -4975,7 +5035,7 @@ * src/groupadd.c: Log to audit with type AUDIT_ADD_GROUP instead of AUDIT_USER_CHAUTHTOK. - * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead + * src/groupdel.c: Log to audit with type AUDIT_DEL_GROUP instead of AUDIT_USER_CHAUTHTOK. * src/useradd.c: Log to audit with type AUDIT_ADD_USER / AUDIT_ADD_GROUP / AUDIT_USYS_CONFIG instead of @@ -5231,7 +5291,7 @@ * NEWS, src/gpasswd.c: Use getopt_long instead of getopt. Added support for long options --add (-a), --delete (-d), --remove-password (-r), --restrict (-R), --administrators (-A), - and --members (-M) + and --members (-M) * man/gpasswd.1.xml: Document the new long options. * src/gpasswd.c: The sgrp structure is only used if SHADOWGRP is defined. @@ -7420,7 +7480,7 @@ to mimic useradd's behavior choices of UID and GID. * src/newusers.c: Reuse the generic find_new_uid() and find_new_gid() functions. This permits to respect the - UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should + UID_MIN/UID_MAX and GID_MIN/GID_MAX variables, should * src/newusers.c: Check if the user or group exist using the external databases (with the libc getpwnam/getgrnam functions). Refuse to update an user which exist in an external database but @@ -9217,7 +9277,7 @@ Debian's patch 202_it_man_uses_gettext. Thanks to Giuseppe Sacco who contributed the Italian translation. * man/de/de.po: (nearly) complete German translation of man pages - Imported from Debian's patch 203_de-man-update. Thanks to + Imported from Debian's patch 203_de-man-update. Thanks to Simon Brandmair * src/usermod.c: Clarify the online help of usermod for "-a" Imported from Debian's patch 402-clarify_usermod_usage diff --git a/Makefile.am b/Makefile.am index b6456cf9..630e2aa9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ EXTRA_DIST = NEWS README TODO shadow.spec.in -SUBDIRS = libmisc lib +SUBDIRS = libmisc lib if ENABLE_SUBIDS SUBDIRS += libsubid diff --git a/Makefile.in b/Makefile.in index 2fc6adfb..7999454e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -143,7 +143,7 @@ am__recursive_targets = \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - cscope distdir dist dist-all distcheck + cscope distdir distdir-am dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, @@ -399,8 +399,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -546,7 +546,10 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ diff --git a/NEWS b/NEWS index dbf06537..7cfd1b7f 100644 --- a/NEWS +++ b/NEWS @@ -15,7 +15,7 @@ shadow-4.1.5.1 -> shadow-4.2 UNRELEASED - su * When su receives a signal (SIGTERM, or SIGINT/SIGQUIT in non - interactive mode), kill the child process group, rather than just the + interactive mode), kill the child process group, rather than just the immediate child. * Fix segmentation faults for users without a proper home or shell in their passwd entries. @@ -622,7 +622,7 @@ shadow-4.0.18.2 -> shadow-4.1.0 09-12-2007 - Add support for uClibc with no l64a(). - userdel, usermod: Fix infinite loop caused by erroneous group file containing two entries with the same name. (The fix strategy differs - from + from (https://bugzilla.redhat.com/show_bug.cgi?id=240915) - userdel: Abort if an error is detected while updating the passwd or group databases. The passwd or group files will not be written. @@ -1001,9 +1001,9 @@ shadow-4.0.12 -> shadow-4.0.13 10-10-2005 shadow-4.0.11.1 -> shadow-4.0.12 22-08-2005 *** general: -- newgrp, login: remove using login.defs::CLOSE_SESSIONS variable and always +- newgrp, login: remove using login.defs::CLOSE_SESSIONS variable and always close PAM session, -- fixed configure.in: really enable shadow group support by default (pointed by +- fixed configure.in: really enable shadow group support by default (pointed by Greg Schafer and Peter Vrabec ), - login.defs: removed handle QMAIL_DIR variable, - login: allow regular user to login on read-only root file system (not only for root) @@ -1080,7 +1080,7 @@ shadow-4.0.10 -> shadow-4.0.11 18-07-2005 - S/Key support is back, - usermod: added -a option. This flag can only be used in conjunction with the -G option. It cause usermod to append user to the current supplementary group list. - (patch by Peter Vrabec ) + (patch by Peter Vrabec ) - chage: added missing \n in error messages, - useradd, groupadd: change -O option to -K and document it in man page, - su, sulogin, login: fixed erroneous warning messages when used with PAM about some @@ -1130,7 +1130,7 @@ shadow-4.0.9 -> shadow-4.0.10 28-06-2005 http://bugs.debian.org/53570 http://bugs.debian.org/195048 http://bugs.debian.org/211884 - login: made login's -f option also able to use the username after -- if none was passed as it's optarg - http://bugs.debian.org/53702 + http://bugs.debian.org/53702 - login: check for hushed login and pass PAM_SILENT if true, http://bugs.debian.org/48002 - login: fixed username on succesful login (was using the normal username, @@ -1208,7 +1208,7 @@ shadow-4.0.7 -> shadow-4.0.8 26-04-2005 -- new: chage.1, chpasswd.8, expiry.1, faillog.5, faillog.8, getspnam.3, logoutd.8, porttime.5, pwck.8, shadow.3, shadowconfig.8, su.1, - passwd(1): fix #160477 Debian bug: improve -S output description, -- newgrp(1): fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group +- newgrp(1): fix #251926, #166173, #113191 Debian bugs: explain why editing /etc/group (without gshadow) doesn't permit to use newgrp, - newgrp(1): newgrp uses /bin/sh (not bash), - faillog(8): updated after rewritten faillog command for use getopt_long(), @@ -1238,7 +1238,7 @@ shadow-4.0.6 -> shadow-4.0.7 26-01-2005 - chpasswd: -- switch chpasswd to use getopt_long() and adds a --md5 option (by Ian Gulliver ), --- rewritten chpasswd(8) man page. +-- rewritten chpasswd(8) man page. shadow-4.0.5 -> shadow-4.0.6 08-11-2004 @@ -1309,7 +1309,7 @@ shadow-4.0.4 => shadow-4.0.4.1 14-01-2004 - bug fixes in automake files for generate correct tar ball on "make dist": added missing "EXTRA_DIST = $(man_MANS)" in man/*/Makefile.am. -shadow-4.0.3 => shadow-4.0.4 14-01-2004 +shadow-4.0.3 => shadow-4.0.4 14-01-2004 *** general: - added missing information about -f options in groupadd usage message @@ -1408,7 +1408,7 @@ shadow-4.0.0 => shadow-4.0.1 - fixes for handle/print correctly 32bit uid/gid (Thorsten Kukuk ), - implemented functions for better reloading the nscd cache (per NSS map) (Thorsten Kukuk ), -- fixed warnings "not used but defined" on compile using gcc 3.0.x +- fixed warnings "not used but defined" on compile using gcc 3.0.x (bulletpr00ph ), - added ja, ko translations found in SuSE, - added symlinks: newgrp -> sg, vipw -> vigr, @@ -1416,7 +1416,7 @@ shadow-4.0.0 => shadow-4.0.1 - added sg(1) man page as roff .so link to newgrp(1), - installed fix for SEGV when using pwck -s on /etc/passwd file with empty lines in it. - + shadow-20001016 => shadow-4.0.0 06-01-2002 - fix bug discovered and fixed by Marcel Ritter @@ -1466,7 +1466,7 @@ shadow-20000902 => shadow-20001012 overwrite previously existing groups in adduser, - added PAM support for chage (bind to "chage" PAM config file) also added PAM support for all other small tools like chpasswd, groupadd, - groupdel, groupmod, newusers, useradd, userdel, usermod (bind to common + groupdel, groupmod, newusers, useradd, userdel, usermod (bind to common "shadow" PAM config file) - this modifications mainly based on modifications prepared by Janek Rękojarski , - many small fixes and improvements in automake (mow "make dist" diff --git a/README b/README index f3b734d3..3c035ef6 100644 --- a/README +++ b/README @@ -1,124 +1,36 @@ -Shadow SITES -============ +# shadow-utils -Homepage - http://github.com/shadow-maint/shadow +## Introduction +The shadow-utils package includes the necessary programs for +converting UNIX password files to the shadow password format, plus +programs for managing user and group accounts. The pwconv command +converts passwords to the shadow password format. The pwunconv command +unconverts shadow passwords and generates a passwd file (a standard +UNIX password file). The pwck command checks the integrity of password +and shadow files. The lastlog command prints out the last login times +for all users. The useradd, userdel, and usermod commands are used for +managing user accounts. The groupadd, groupdel, and groupmod commands +are used for managing group accounts. -Issue tracker - http://github.com/shadow-maint/shadow/issues +## Sites +* [Homepage](https://github.com/shadow-maint/shadow) +* [Issue tracker](https://github.com/shadow-maint/shadow/issues) +* [Releases](https://github.com/shadow-maint/shadow/releases) -Releases - https://github.com/shadow-maint/shadow/releases +## Contacts +There are several ways to contact us: +* [the general discussion mailing list]( + https://alioth-lists.debian.net/mailman/listinfo/pkg-shadow-devel) +* the #shadow IRC channel on libera.chat: + * irc://irc.libera.chat/shadow -Mailing lists - for general discuss: pkg-shadow-devel@alioth-lists.debian.net - commit list: pkg-shadow-commits@alioth-lists.debian.net - -Mailing lists subscription - http://alioth-lists.debian.net/mailman/listinfo/pkg-shadow-devel - http://alioth-lists.debian.net/mailman/listinfo/pkg-shadow-commits - -Mailing lists archives: - http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/ - http://alioth-lists.debian.net/pipermail/pkg-shadow-commits/ - -S/Key support: - Shadow can be built with S/Key support using the S/Key package from: - - http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libskey/ - or - http://gentoo.osuosl.org/distfiles/skey-1.1.5.tar.bz2 - -Authors and contributors -======================== - -Thanks to at least the following people for sending patches, bug -reports and various comments. This list may be incomplete, I received -a lot of mail... - - -Adam Rudnicki -Alan Curry -Aleksa Sarai -Alexander O. Yuriev -Algis Rudys -Andreas Jaeger -Aniello Del Sorbo -Anton Gluck -Arkadiusz Miskiewicz -Ben Collins -Brian R. Gaeke -Calle Karlsson -Chip Rosenthal -Chris Evans -Chris Lamb -Cristian Gafton -Dan Walsh -Darcy Boese -Dave Hagewood -David A. Holland -David Frey -Ed Carp -Ed Neville -Eric W. Biederman" -Floody -Frank Denis -George Kraft IV -Greg Mortensen -Guido van Rooij -Guy Maor -Hrvoje Dogan -Jakub Hrozek -Janos Farkas -Jason Franklin -Jay Soffian -Jesse Thilo -Joey Hess -John Adelsberger -Jonathan Hankins -Jon Lewis -Joshua Cowan -Judd Bourgeois -Juergen Heinzl -Juha Virtanen -Julian Pidancet -Julianne Frances Haugh -Leonard N. Zubkoff -Luca Berra -Lukáš Kuklínek -Lutz Schwalowsky -Marc Ewing -Martin Bene -Martin Mares -Michael Meskes -Michael Talbot-Wilson -Michael Vetter -Mike Frysinger -Mike Pakovic -Nicolas François -Nikos Mavroyanopoulos -Pavel Machek -Peter Vrabec -Phillip Street -Rafał Maszkowski -Rani Chouha -Sami Kerola -Scott Garman -Sebastian Rick Rijkers -Seraphim Mellos -Shane Watts -Steve M. Robbins -Thorsten Kukuk -Tim Hockin -Timo Karjalainen -Ulisses Alonso Camaro -Werner Fink - -Maintainers -=========== - -Tomasz Kłoczko (2000-2007) -Nicolas François (2007-2014) -Serge E. Hallyn (2014-now) -Christian Brauner (2019-now) +### Mailing archives +* [the general discussion mailing list archive]( + https://alioth-lists.debian.net/pipermail/pkg-shadow-devel/) +* [the commit mailing list archive]( + https://alioth-lists-archive.debian.net/pipermail/pkg-shadow-commits/), + only used for historical purposes +## Authors and maintainers +Authors and maintainers are listed in [AUTHORS.md]( +https://github.com/shadow-maint/shadow/blob/master/AUTHORS.md). diff --git a/TODO b/TODO index 5cfa252e..8783ccd1 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ - * Create a common usage function that'd take the array of + * Create a common usage function that'd take the array of long options and an array of descriptions and output that so things would be standardized across the utils. Usage strings should be normalized and split first. diff --git a/aclocal.m4 b/aclocal.m4 index 60c1773f..82a2222f 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.1 -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2017 Free Software Foundation, Inc. +# Copyright (C) 2002-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.]) # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.15' +[am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15.1], [], +m4_if([$1], [1.16.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15.1])dnl +[AM_AUTOMAKE_VERSION([1.16.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# Copyright (C) 1997-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -332,13 +332,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. - # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], @@ -346,49 +345,41 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac + # TODO: see whether this extra hack can be removed once we start + # requiring Autoconf 2.70 or later. + AS_CASE([$CONFIG_FILES], + [*\'*], [eval set x "$CONFIG_FILES"], + [*], [set x $CONFIG_FILES]) shift - for mf + # Used to flag and report bootstrapping failures. + am_rc=0 + for am_mf do # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named 'Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile which includes + # dependency-tracking related rules and includes. + # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running 'make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "$am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ + || continue + am_dirpart=`AS_DIRNAME(["$am_mf"])` + am_filepart=`AS_BASENAME(["$am_mf"])` + AM_RUN_LOG([cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles]) || am_rc=$? done + if test $am_rc -ne 0; then + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments + for automatic dependency tracking. Try re-running configure with the + '--disable-dependency-tracking' option to at least be able to build + the package (albeit without support for automatic dependency tracking).]) + fi + AS_UNSET([am_dirpart]) + AS_UNSET([am_filepart]) + AS_UNSET([am_mf]) + AS_UNSET([am_rc]) + rm -f conftest-deps.mk } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS @@ -397,18 +388,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each '.P' file that we will -# need in order to bootstrap the dependency handling code. +# This code is only required when automatic dependency tracking is enabled. +# This creates each '.Po' and '.Plo' makefile fragment that we'll need in +# order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -495,8 +485,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. @@ -563,7 +553,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -605,7 +595,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -626,7 +616,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2017 Free Software Foundation, Inc. +# Copyright (C) 2003-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -648,7 +638,7 @@ AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -683,7 +673,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -691,49 +681,42 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) # AM_MAKE_INCLUDE() # ----------------- -# Check to see how make treats includes. +# Check whether make has an 'include' directive that can support all +# the idioms we need for our automatic dependency tracking code. AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=${MAKE-make} -cat > confinc << 'END' +[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) +cat > confinc.mk << 'END' am__doit: - @echo this is the am__doit target + @echo this is the am__doit target >confinc.out .PHONY: am__doit END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from 'make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD - ;; - esac -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) +# BSD make does it like this. +echo '.include "confinc.mk" # ignored' > confmf.BSD +# Other make implementations (GNU, Solaris 10, AIX) do it like this. +echo 'include confinc.mk # ignored' > confmf.GNU +_am_result=no +for s in GNU BSD; do + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) + AS_CASE([$?:`cat confinc.out 2>/dev/null`], + ['0:this is the am__doit target'], + [AS_CASE([$s], + [BSD], [am__include='.include' am__quote='"'], + [am__include='include' am__quote=''])]) + if test "$am__include" != "#"; then + _am_result="yes ($s style)" + break + fi +done +rm -f confinc.* confmf.* +AC_MSG_RESULT([${_am_result}]) +AC_SUBST([am__include])]) +AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# Copyright (C) 1997-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -770,7 +753,7 @@ else fi ]) -# Copyright (C) 2003-2017 Free Software Foundation, Inc. +# Copyright (C) 2003-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -804,7 +787,7 @@ esac # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -833,7 +816,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -880,7 +863,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -899,7 +882,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -980,7 +963,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2017 Free Software Foundation, Inc. +# Copyright (C) 2009-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1040,7 +1023,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1068,7 +1051,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2017 Free Software Foundation, Inc. +# Copyright (C) 2006-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1087,7 +1070,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2017 Free Software Foundation, Inc. +# Copyright (C) 2004-2018 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/compile b/compile index a85b723c..99e50524 100755 --- a/compile +++ b/compile @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-10-14.11; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ scriptversion=2012-10-14.11; # UTC # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -255,7 +255,8 @@ EOF echo "compile $scriptversion" exit $? ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac @@ -339,9 +340,9 @@ exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/config.h.in b/config.h.in index 3d2b8b08..68b45de1 100644 --- a/config.h.in +++ b/config.h.in @@ -110,9 +110,6 @@ /* Define to 1 if you have the `getgrnam_r' function. */ #undef HAVE_GETGRNAM_R -/* Define to 1 if you have the `getgroups' function. */ -#undef HAVE_GETGROUPS - /* Define to 1 if you have the `gethostname' function. */ #undef HAVE_GETHOSTNAME @@ -200,15 +197,9 @@ /* Define to 1 if you have the `lutimes' function. */ #undef HAVE_LUTIMES -/* Define to 1 if you have the `memcpy' function. */ -#undef HAVE_MEMCPY - /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H -/* Define to 1 if you have the `memset' function. */ -#undef HAVE_MEMSET - /* Define to 1 if you have the `mkdir' function. */ #undef HAVE_MKDIR @@ -299,9 +290,6 @@ /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR -/* Define to 1 if you have the `strftime' function. */ -#undef HAVE_STRFTIME - /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H diff --git a/configure b/configure index e4caa8ee..06817832 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for shadow 4.9. +# Generated by GNU Autoconf 2.69 for shadow 4.11.1. # # Report bugs to . # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='shadow' PACKAGE_TARNAME='shadow' -PACKAGE_VERSION='4.9' -PACKAGE_STRING='shadow 4.9' +PACKAGE_VERSION='4.11.1' +PACKAGE_STRING='shadow 4.11.1' PACKAGE_BUGREPORT='pkg-shadow-devel@lists.alioth.debian.org' PACKAGE_URL='https://github.com/shadow-maint/shadow' @@ -743,7 +743,6 @@ am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE -am__quote am__include DEPDIR OBJEXT @@ -822,7 +821,8 @@ PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR -SHELL' +SHELL +am__quote' ac_subst_files='' ac_user_opts=' enable_option_checking @@ -1429,7 +1429,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures shadow 4.9 to adapt to many kinds of systems. +\`configure' configures shadow 4.11.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1500,7 +1500,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of shadow 4.9:";; + short | recursive ) echo "Configuration of shadow 4.11.1:";; esac cat <<\_ACEOF @@ -1666,7 +1666,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -shadow configure 4.9 +shadow configure 4.11.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2375,7 +2375,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by shadow $as_me 4.9, which was +It was created by shadow $as_me 4.11.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2725,7 +2725,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.15' +am__api_version='1.16' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -3240,7 +3240,7 @@ fi # Define the identity of the package. PACKAGE='shadow' - VERSION='4.9' + VERSION='4.11.1' cat >>confdefs.h <<_ACEOF @@ -3270,8 +3270,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The @@ -3322,7 +3322,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -3376,13 +3376,13 @@ AM_BACKSLASH='\' ac_config_headers="$ac_config_headers config.h" -LIBSUBID_ABI_MAJOR=3 +LIBSUBID_ABI_MAJOR=4 LIBSUBID_ABI_MINOR=0 LIBSUBID_ABI_MICRO=0 -LIBSUBID_ABI=3.0.0 +LIBSUBID_ABI=4.0.0 test "$prefix" = "NONE" && prefix="/usr" @@ -3392,45 +3392,45 @@ DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" - -am_make=${MAKE-make} -cat > confinc << 'END' +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } +cat > confinc.mk << 'END' am__doit: - @echo this is the am__doit target + @echo this is the am__doit target >confinc.out .PHONY: am__doit END -# If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -$as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from 'make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=include - am__quote= - _am_result=GNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=.include - am__quote="\"" - _am_result=BSD +# BSD make does it like this. +echo '.include "confinc.mk" # ignored' > confmf.BSD +# Other make implementations (GNU, Solaris 10, AIX) do it like this. +echo 'include confinc.mk # ignored' > confmf.GNU +_am_result=no +for s in GNU BSD; do + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + case $?:`cat confinc.out 2>/dev/null` in #( + '0:this is the am__doit target') : + case $s in #( + BSD) : + am__include='.include' am__quote='"' ;; #( + *) : + am__include='include' am__quote='' ;; +esac ;; #( + *) : ;; - esac -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -$as_echo "$_am_result" >&6; } -rm -f confinc confmf +esac + if test "$am__include" != "#"; then + _am_result="yes ($s style)" + break + fi +done +rm -f confinc.* confmf.* +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 +$as_echo "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : @@ -7341,7 +7341,7 @@ esac fi : ${AR=ar} -: ${AR_FLAGS=cru} +: ${AR_FLAGS=cr} @@ -7842,11 +7842,8 @@ _LT_EOF test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 - (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s "$nlist"; then + $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 + if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -9065,8 +9062,8 @@ int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 - echo "$AR cru libconftest.a conftest.o" >&5 - $AR cru libconftest.a conftest.o 2>&5 + echo "$AR cr libconftest.a conftest.o" >&5 + $AR cr libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF @@ -9868,6 +9865,12 @@ lt_prog_compiler_static= lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; + # flang / f18. f95 an alias for gfortran or flang on Debian + flang* | f18* | f95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) @@ -13861,9 +13864,9 @@ fi -for ac_func in arc4random_buf l64a fchmod fchown fsync futimes getgroups \ +for ac_func in arc4random_buf l64a fchmod fchown fsync futimes \ gethostname getentropy getrandom getspnam gettimeofday getusershell \ - getutent initgroups lchown lckpwdf lstat lutimes memcpy memset \ + getutent initgroups lchown lckpwdf lstat lutimes \ setgroups sigaction strchr updwtmp updwtmpx innetgr getpwnam_r \ getpwuid_r getgrnam_r getgrgid_r getspnam_r getaddrinfo ruserok \ dlopen @@ -14776,61 +14779,6 @@ $as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h fi rm -f conftest.data -for ac_func in strftime -do : - ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" -if test "x$ac_cv_func_strftime" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRFTIME 1 -_ACEOF - -else - # strftime is in -lintl on SCO UNIX. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 -$as_echo_n "checking for strftime in -lintl... " >&6; } -if ${ac_cv_lib_intl_strftime+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lintl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char strftime (); -int -main () -{ -return strftime (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_intl_strftime=yes -else - ac_cv_lib_intl_strftime=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 -$as_echo "$ac_cv_lib_intl_strftime" >&6; } -if test "x$ac_cv_lib_intl_strftime" = xyes; then : - $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h - -LIBS="-lintl $LIBS" -fi - -fi -done - ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" if test "x$ac_cv_func_mkdir" = xyes; then : $as_echo "#define HAVE_MKDIR 1" >>confdefs.h @@ -15467,7 +15415,7 @@ fi if test "$with_su" != "no"; then : $as_echo "#define WITH_SU 1" >>confdefs.h -] + fi if test "x$with_su" != "xno"; then WITH_SU_TRUE= @@ -19029,7 +18977,7 @@ else fi -ac_config_files="$ac_config_files Makefile po/Makefile.in doc/Makefile man/Makefile man/config.xml man/po/Makefile man/cs/Makefile man/da/Makefile man/de/Makefile man/es/Makefile man/fi/Makefile man/fr/Makefile man/hu/Makefile man/id/Makefile man/it/Makefile man/ja/Makefile man/ko/Makefile man/pl/Makefile man/pt_BR/Makefile man/ru/Makefile man/sv/Makefile man/tr/Makefile man/zh_CN/Makefile man/zh_TW/Makefile libmisc/Makefile lib/Makefile libsubid/Makefile src/Makefile contrib/Makefile etc/Makefile etc/pam.d/Makefile shadow.spec" +ac_config_files="$ac_config_files Makefile po/Makefile.in doc/Makefile man/Makefile man/config.xml man/po/Makefile man/cs/Makefile man/da/Makefile man/de/Makefile man/es/Makefile man/fi/Makefile man/fr/Makefile man/hu/Makefile man/id/Makefile man/it/Makefile man/ja/Makefile man/ko/Makefile man/pl/Makefile man/pt_BR/Makefile man/ru/Makefile man/sv/Makefile man/tr/Makefile man/zh_CN/Makefile man/zh_TW/Makefile libmisc/Makefile lib/Makefile libsubid/Makefile libsubid/subid.h src/Makefile contrib/Makefile etc/Makefile etc/pam.d/Makefile shadow.spec" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -19629,7 +19577,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by shadow $as_me 4.9, which was +This file was extended by shadow $as_me 4.11.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19696,7 +19644,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -shadow config.status 4.9 +shadow config.status 4.11.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -19815,7 +19763,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" # The HP-UX ksh and POSIX shell print the target directory to stdout @@ -20146,6 +20094,7 @@ do "libmisc/Makefile") CONFIG_FILES="$CONFIG_FILES libmisc/Makefile" ;; "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "libsubid/Makefile") CONFIG_FILES="$CONFIG_FILES libsubid/Makefile" ;; + "libsubid/subid.h") CONFIG_FILES="$CONFIG_FILES libsubid/subid.h" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; @@ -20750,29 +20699,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;} # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac + # TODO: see whether this extra hack can be removed once we start + # requiring Autoconf 2.70 or later. + case $CONFIG_FILES in #( + *\'*) : + eval set x "$CONFIG_FILES" ;; #( + *) : + set x $CONFIG_FILES ;; #( + *) : + ;; +esac shift - for mf + # Used to flag and report bootstrapping failures. + am_rc=0 + for am_mf do # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named 'Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile which includes + # dependency-tracking related rules and includes. + # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ + || continue + am_dirpart=`$as_dirname -- "$am_mf" || +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$am_mf" : 'X\(//\)[^/]' \| \ + X"$am_mf" : 'X\(//\)$' \| \ + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -20790,53 +20745,48 @@ $as_echo X"$mf" | q } s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running 'make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "$am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + am_filepart=`$as_basename -- "$am_mf" || +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ + X"$am_mf" : 'X\(//\)$' \| \ + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$am_mf" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } - /^X\(\/\/\)[^/].*/{ + /^X\/\(\/\/\)$/{ s//\1/ q } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ + /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done + { echo "$as_me:$LINENO: cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles" >&5 + (cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } || am_rc=$? done + if test $am_rc -ne 0; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "Something went wrong bootstrapping makefile fragments + for automatic dependency tracking. Try re-running configure with the + '--disable-dependency-tracking' option to at least be able to build + the package (albeit without support for automatic dependency tracking). +See \`config.log' for more details" "$LINENO" 5; } + fi + { am_dirpart=; unset am_dirpart;} + { am_filepart=; unset am_filepart;} + { am_mf=; unset am_mf;} + { am_rc=; unset am_rc;} + rm -f conftest-deps.mk } ;; "libtool":C) diff --git a/configure.ac b/configure.ac index 0f237cc1..5dcae191 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,10 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -m4_define([libsubid_abi_major], 3) +m4_define([libsubid_abi_major], 4) m4_define([libsubid_abi_minor], 0) m4_define([libsubid_abi_micro], 0) m4_define([libsubid_abi], [libsubid_abi_major.libsubid_abi_minor.libsubid_abi_micro]) -AC_INIT([shadow], [4.9], [pkg-shadow-devel@lists.alioth.debian.org], [], +AC_INIT([shadow], [4.11.1], [pkg-shadow-devel@lists.alioth.debian.org], [], [https://github.com/shadow-maint/shadow]) AM_INIT_AUTOMAKE([1.11 foreign dist-xz]) AC_CONFIG_MACRO_DIRS([m4]) @@ -51,9 +51,9 @@ AC_CHECK_HEADERS(crypt.h errno.h fcntl.h limits.h unistd.h sys/time.h utmp.h \ dnl shadow now uses the libc's shadow implementation AC_CHECK_HEADER([shadow.h],,[AC_MSG_ERROR([You need a libc with shadow.h])]) -AC_CHECK_FUNCS(arc4random_buf l64a fchmod fchown fsync futimes getgroups \ +AC_CHECK_FUNCS(arc4random_buf l64a fchmod fchown fsync futimes \ gethostname getentropy getrandom getspnam gettimeofday getusershell \ - getutent initgroups lchown lckpwdf lstat lutimes memcpy memset \ + getutent initgroups lchown lckpwdf lstat lutimes \ setgroups sigaction strchr updwtmp updwtmpx innetgr getpwnam_r \ getpwuid_r getgrnam_r getgrgid_r getspnam_r getaddrinfo ruserok \ dlopen) @@ -115,7 +115,6 @@ dnl Checks for library functions. AC_TYPE_GETGROUPS AC_TYPE_SIGNAL AC_FUNC_UTIME_NULL -AC_FUNC_STRFTIME AC_REPLACE_FUNCS(mkdir putgrent putpwent putspent rename rmdir) AC_REPLACE_FUNCS(sgetgrent sgetpwent sgetspent) AC_REPLACE_FUNCS(snprintf strcasecmp strdup strerror strstr) @@ -343,7 +342,7 @@ if test "$with_sssd" = "yes"; then [AC_MSG_ERROR([posix_spawn is needed for sssd support])]) fi -AS_IF([test "$with_su" != "no"], AC_DEFINE(WITH_SU, 1, [Build with su])]) +AS_IF([test "$with_su" != "no"], AC_DEFINE(WITH_SU, 1, [Build with su])) AM_CONDITIONAL([WITH_SU], [test "x$with_su" != "xno"]) dnl Check for some functions in libc first, only if not found check for @@ -739,6 +738,7 @@ AC_CONFIG_FILES([ libmisc/Makefile lib/Makefile libsubid/Makefile + libsubid/subid.h src/Makefile contrib/Makefile etc/Makefile diff --git a/contrib/Makefile.in b/contrib/Makefile.in index f68e3c7a..f77b1d3a 100644 --- a/contrib/Makefile.in +++ b/contrib/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -311,8 +311,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -336,7 +336,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/contrib/adduser-old.c b/contrib/adduser-old.c index 1bf1f225..e920e008 100644 --- a/contrib/adduser-old.c +++ b/contrib/adduser-old.c @@ -4,14 +4,14 @@ ** --marekm ** ** 02/26/96 -** modified to call shadow utils (useradd,chage,passwd) on shadowed +** modified to call shadow utils (useradd,chage,passwd) on shadowed ** systems - Cristian Gafton, gafton@sorosis.ro ** ** 6/27/95 ** shadow-adduser 1.4: ** -** now it copies the /etc/skel dir into the person's dir, -** makes the mail folders, changed some defaults and made a 'make +** now it copies the /etc/skel dir into the person's dir, +** makes the mail folders, changed some defaults and made a 'make ** install' just for the hell of it. ** ** Greg Gallagher @@ -19,20 +19,20 @@ ** ** 1/28/95 ** shadow-adduser 1.3: -** -** Basically a bug-fix on my additions in 1.2. Thanks to Terry Stewart +** +** Basically a bug-fix on my additions in 1.2. Thanks to Terry Stewart ** (stew@texas.net) for pointing out one of the many idiotic bugs I introduced. ** It was such a stupid bug that I would have never seen it myself. ** ** Brandon ***** ** 01/27/95 -** +** ** shadow-adduser 1.2: ** I took the C source from adduser-shadow (credits are below) and made ** it a little more worthwhile. Many small changes... Here's ** the ones I can remember: -** +** ** Removed support for non-shadowed systems (if you don't have shadow, ** use the original adduser, don't get this shadow version!) ** Added support for the correct /etc/shadow fields (Min days before @@ -56,7 +56,7 @@ ** Brandon ** photon@usis.com ** -***** +***** ** adduser 1.0: add a new user account (For systems not using shadow) ** With a nice little interface and a will to do all the work for you. ** @@ -119,14 +119,14 @@ void main() { - char foo[32]; + char foo[32]; char uname[9],person[32],dir[32],shell[32]; unsigned int group,min_pass,max_pass,warn_pass,user_die; /* the group and uid of the new user */ int bad=0,done=0,correct=0,gets_warning=0; char cmd[255]; struct group *grp; - + /* flags, in order: * bad to see if the username is in /etc/passwd, or if strange stuff has * been typed if the user might be put in group 0 @@ -137,24 +137,24 @@ void main() */ /* The real program starts HERE! */ - + if(geteuid()!=0) { printf("It seems you don't have access to add a new user. Try\n"); printf("logging in as root or su root to gain super-user access.\n"); exit(1); } - + /* Sanity checks */ - + if (!(grp=getgrgid(DEFAULT_GROUP))){ printf("Error: the default group %d does not exist on this system!\n", DEFAULT_GROUP); printf("adduser must be recompiled.\n"); exit(1); - }; - + }; + while(!correct) { /* loop until a "good" uname is chosen */ while(!done) { printf("\nLogin to add (^C to quit): "); @@ -178,19 +178,19 @@ void main() } else done=1; }; /* done, we have a valid new user name */ - + /* all set, get the rest of the stuff */ printf("\nEditing information for new user [%s]\n",uname); - + printf("\nFull Name [%s]: ",uname); gets(person); if (!strlen(person)) { bzero(person,sizeof(person)); strcpy(person,uname); }; - + do { - bad=0; + bad=0; printf("GID [%d]: ",DEFAULT_GROUP); gets(foo); if (!strlen(foo)) @@ -220,7 +220,7 @@ void main() fflush(stdin); - + printf("\nIf home dir ends with a / then [%s] will be appended to it\n",uname); printf("Home Directory [%s/%s]: ",DEFAULT_HOME,uname); fflush(stdout); @@ -237,30 +237,30 @@ void main() gets(shell); if (!strlen(shell)) sprintf(shell,"%s",DEFAULT_SHELL); - + printf("\nMin. Password Change Days [0]: "); gets(foo); min_pass=atoi(foo); - + printf("Max. Password Change Days [%d]: ",DEFAULT_MAX_PASS); gets(foo); if (strlen(foo) > 1) max_pass = atoi(foo); else max_pass = DEFAULT_MAX_PASS; - + printf("Password Warning Days [%d]: ",DEFAULT_WARN_PASS); gets(foo); warn_pass = atoi(foo); if (warn_pass==0) warn_pass = DEFAULT_WARN_PASS; - + printf("Days after Password Expiry for Account Locking [%d]: ",DEFAULT_USER_DIE); gets(foo); user_die = atoi(foo); if (user_die == 0) user_die = DEFAULT_USER_DIE; - + printf("\nInformation for new user [%s] [%s]:\n",uname,person); printf("Home directory: [%s] Shell: [%s]\n",dir,shell); printf("GID: [%d]\n",group); @@ -279,7 +279,7 @@ void main() bzero(cmd,sizeof(cmd)); sprintf(cmd,"%s -g %d -d %s -s %s -c \"%s\" -m -k /etc/skel %s", USERADD_PATH,group,dir,shell,person,uname); - printf("Calling useradd to add new user:\n%s\n",cmd); + printf("Calling useradd to add new user:\n%s\n",cmd); if(system(cmd)){ printf("User add failed!\n"); exit(errno); diff --git a/contrib/atudel b/contrib/atudel deleted file mode 100755 index 0ca87833..00000000 --- a/contrib/atudel +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/perl -# -# Copyright (c) 1996 Brian R. Gaeke -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Brian R. Gaeke. -# 4. The name of the author, Brian R. Gaeke, may not be used to endorse -# or promote products derived from this software without specific -# prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY BRIAN R. GAEKE ``AS IS'' AND ANY EXPRESS -# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL BRIAN R. GAEKE BE LIABLE FOR ANY DIRECT, -# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -# Additionally: -# -# This software is provided without support and without any obligation -# on the part of Brian R. Gaeke to assist in its use, correction, -# modification or enhancement. -# -####################################################################### -# -# this is atudel, version 2, by Brian R. Gaeke -# - -require "getopts.pl"; -&Getopts('v'); -$username = shift(@ARGV); -&usage unless $username; - -sub usage -{ - print STDERR "atudel - remove all at jobs owned by a user\n"; - print STDERR "usage: $0 [-v] username\n"; - exit(1); -} - -# odd. unless getpwnam($uname) doesn't seem to work for $uname eq "root" on -# my linux system. but this does. -die "user $username does not exist; stopping" - unless defined(getpwnam($username)); - -print "searching for at jobs owned by user $username ..." if $opt_v; - -chdir "/var/spool/atjobs" || - die "can't chdir to /var/spool/atjobs: $!\nstopping"; -opendir(DIR,".") || die "can't opendir(/var/spool/atjobs): $!\nstopping"; -@files = grep(!/^\./,grep(-f,readdir(DIR))); -closedir DIR; - -foreach $x (@files) -{ - $owner = (getpwuid((stat($x))[4]))[0]; - push(@nuke_bait,$x) if $owner eq $username; -} - -if (@nuke_bait) -{ - print "removed jobIDs: @{nuke_bait}.\n" if $opt_v; - unlink @nuke_bait; -} -elsif ($opt_v) -{ - print "\n"; -} - -exit 0; diff --git a/contrib/groupmems.shar b/contrib/groupmems.shar index 8472d93a..62e9b48a 100644 --- a/contrib/groupmems.shar +++ b/contrib/groupmems.shar @@ -76,36 +76,9 @@ else $echo 'x -' extracting 'Makefile' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'Makefile' && /* -# Copyright 2000, International Business Machines, Inc. -# All rights reserved. -# -# original author: George Kraft IV, gk4@us.ibm.com -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. Neither the name of International Business Machines, Inc., nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY INTERNATIONAL BUSINESS MACHINES, INC. AND -# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, -# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -# INTERNATIONAL BUSINESS MACHINES, INC. OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. +# SPDX-FileCopyrightText: 2000, International Business Machines, Inc. +# SPDX-FileCopyrightText: 2000, George Kraft IV, gk4@us.ibm.com +# SPDX-License-Identifier: BSD-3-Clause # X all: groupmems @@ -143,36 +116,9 @@ else $echo 'x -' extracting 'groupmems.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'groupmems.c' && /* -X * Copyright 2000, International Business Machines, Inc. -X * All rights reserved. -X * -X * original author: George Kraft IV, gk4@us.ibm.com -X * -X * Redistribution and use in source and binary forms, with or without -X * modification, are permitted provided that the following conditions -X * are met: -X * -X * 1. Redistributions of source code must retain the above copyright -X * notice, this list of conditions and the following disclaimer. -X * 2. Redistributions in binary form must reproduce the above copyright -X * notice, this list of conditions and the following disclaimer in the -X * documentation and/or other materials provided with the distribution. -X * 3. Neither the name of International Business Machines, Inc., nor the -X * names of its contributors may be used to endorse or promote products -X * derived from this software without specific prior written permission. -X * -X * THIS SOFTWARE IS PROVIDED BY INTERNATIONAL BUSINESS MACHINES, INC. AND -X * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, -X * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -X * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -X * INTERNATIONAL BUSINESS MACHINES, INC. OR CONTRIBUTORS BE LIABLE -X * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -X * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -X * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -X * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -X * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -X * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -X * SUCH DAMAGE. +X * SPDX-FileCopyrightText: 2000, International Business Machines, Inc. +X * SPDX-FileCopyrightText: 2000, George Kraft IV, gk4@us.ibm.com +X * SPDX-License-Identifier: BSD-3-Clause X */ /* ** @@ -436,36 +382,9 @@ else $echo 'x -' extracting 'groupmems.8' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'groupmems.8' && X.\" -X.\" Copyright 2000, International Business Machines, Inc. -X.\" All rights reserved. -X.\" -X.\" original author: George Kraft IV, gk4@us.ibm.com -X.\" -X.\" Redistribution and use in source and binary forms, with or without -X.\" modification, are permitted provided that the following conditions -X.\" are met: -X.\" -X.\" 1. Redistributions of source code must retain the above copyright -X.\" notice, this list of conditions and the following disclaimer. -X.\" 2. Redistributions in binary form must reproduce the above copyright -X.\" notice, this list of conditions and the following disclaimer in the -X.\" documentation and/or other materials provided with the distribution. -X.\" 3. Neither the name of International Business Machines, Inc., nor the -X.\" names of its contributors may be used to endorse or promote products -X.\" derived from this software without specific prior written permission. -X.\" -X.\" THIS SOFTWARE IS PROVIDED BY INTERNATIONAL BUSINESS MACHINES, INC. AND -X.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, -X.\" BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -X.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -X.\" INTERNATIONAL BUSINESS MACHINES, INC. OR CONTRIBUTORS BE LIABLE -X.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -X.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -X.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -X.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -X.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -X.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -X.\" SUCH DAMAGE. +X.\" SPDX-FileCopyrightText: 2000, International Business Machines, Inc. +X.\" SPDX-FileCopyrightText: 2000, George Kraft IV, gk4@us.ibm.com +X.\" SPDX-License-Identifier: BSD-3-Clause X.\" X.\" $Id$ X.\" diff --git a/depcomp b/depcomp index b39f98f9..65cbf709 100755 --- a/depcomp +++ b/depcomp @@ -1,9 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2016-01-11.22; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ scriptversion=2016-01-11.22; # UTC # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -783,7 +783,7 @@ exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" diff --git a/doc/HOWTO b/doc/HOWTO index 01a90ed4..03a5f1ae 100644 --- a/doc/HOWTO +++ b/doc/HOWTO @@ -1311,7 +1311,7 @@ This means that fred's password is valid, it was last changed on 03/04/96, it can be changed at any time, it expires after 60 days, - fred will not be warned, and and the account won't be disabled when + fred will not be warned, and the account won't be disabled when the password expires. This simply means that if fred logs in after the password expires, he @@ -1487,7 +1487,7 @@ If a user logs into a line that is listed in /etc/dialups, and his shell is listed in the file /etc/d_passwd he will be allowed access - only by suppling the correct password. + only by supplying the correct password. Another useful purpose for using dial-up passwords might be to setup a line that only allows a certain type of connect (perhaps a PPP or UUCP diff --git a/doc/Makefile.in b/doc/Makefile.in index 72c26b74..0fe794e1 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -310,8 +310,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -335,7 +335,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/doc/README.limits b/doc/README.limits index 80ed940f..47929aee 100644 --- a/doc/README.limits +++ b/doc/README.limits @@ -63,4 +63,3 @@ To completely disable limits for a user, a single dash (-) will do. Also, please note that all limit settings are set PER LOGIN. They are not global, nor are they permanent. Perhaps global limits will come, but for now this will have to do ;) - diff --git a/doc/README.platforms b/doc/README.platforms index 295d1255..a069e899 100644 --- a/doc/README.platforms +++ b/doc/README.platforms @@ -3,7 +3,7 @@ # This is the current (still incomplete) list of platforms this # package has been verified to work on. Additions (preferably # in the format as described below) are welcome. Thanks! -# +# # V: last version reported to work # H: host type # L: Linux libc version diff --git a/doc/WISHLIST b/doc/WISHLIST index 61390bdd..d9003b11 100644 --- a/doc/WISHLIST +++ b/doc/WISHLIST @@ -37,4 +37,3 @@ New ideas to add to this list are welcome, too. --marekm per-user configuration, to be executed with run-parts. Some hooks should be executed at package install time for existing users, likewise for package removal and possibly modification. (Debian Bug#36019) - diff --git a/etc/Makefile.in b/etc/Makefile.in index 464eee9b..e7d4f806 100644 --- a/etc/Makefile.in +++ b/etc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -172,7 +172,7 @@ am__recursive_targets = \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - distdir + distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is @@ -413,8 +413,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -594,7 +594,10 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/etc/login.access b/etc/login.access index 3ed36880..d9d5f09c 100644 --- a/etc/login.access +++ b/etc/login.access @@ -1,20 +1,20 @@ # $Id$ # # Login access control table. -# +# # When someone logs in, the table is scanned for the first entry that # matches the (user, host) combination, or, in case of non-networked # logins, the first entry that matches the (user, tty) combination. The -# permissions field of that table entry determines whether the login will +# permissions field of that table entry determines whether the login will # be accepted or refused. -# +# # Format of the login access control table is three fields separated by a # ":" character: -# +# # permission : users : origins -# +# # The first field should be a "+" (access granted) or "-" (access denied) -# character. +# character. # # The second field should be a list of one or more login names, group # names, or ALL (always matches). A pattern of the form user@host is @@ -37,7 +37,7 @@ # listed: the program does not look at a user's primary group id value. # ############################################################################## -# +# # Disallow console logins to all but a few accounts. # #-:ALL EXCEPT wheel shutdown sync:console diff --git a/etc/login.defs b/etc/login.defs index 94a2b1bc..114dbcd9 100644 --- a/etc/login.defs +++ b/etc/login.defs @@ -465,7 +465,6 @@ USERGROUPS_ENAB yes # Set to "yes" to prevent for all accounts # Set to "superuser" to prevent for UID 0 / root (default) # Set to "no" to not prevent for any account (dangerous, historical default) - PREVENT_NO_AUTH superuser # diff --git a/etc/pam.d/Makefile.in b/etc/pam.d/Makefile.in index c0dc38b0..2bdb11b8 100644 --- a/etc/pam.d/Makefile.in +++ b/etc/pam.d/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -355,8 +355,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -401,7 +401,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/install-sh b/install-sh index 59990a10..8175c640 100755 --- a/install-sh +++ b/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2014-09-12.12; # UTC +scriptversion=2018-03-11.20; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -271,15 +271,18 @@ do fi dst=$dst_arg - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. + # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst - dst=$dstdir/`basename "$src"` + dstbase=`basename "$src"` + case $dst in + */) dst=$dst$dstbase;; + *) dst=$dst/$dstbase;; + esac dstdir_status=0 else dstdir=`dirname "$dst"` @@ -288,6 +291,11 @@ do fi fi + case $dstdir in + */) dstdirslash=$dstdir;; + *) dstdirslash=$dstdir/;; + esac + obsolete_mkdir_used=false if test $dstdir_status != 0; then @@ -324,14 +332,16 @@ do # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) - # $RANDOM is not portable (e.g. dash); use it when possible to - # lower collision chance + # Note that $RANDOM variable is not portable (e.g. dash); Use it + # here however when possible just to lower collision chance. tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 - # As "mkdir -p" follows symlinks and we work in /tmp possibly; so - # create the $tmpdir first (and fail if unsuccessful) to make sure - # that nobody tries to guess the $tmpdir name. + # Because "mkdir -p" follows existing symlinks and we likely work + # directly in world-writeable /tmp, make sure that the '$tmpdir' + # directory is successfully created first before we actually test + # 'mkdir -p' feature. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 @@ -434,8 +444,8 @@ do else # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ + dsttmp=${dstdirslash}_inst.$$_ + rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 @@ -500,9 +510,9 @@ do done # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/lib/Makefile.am b/lib/Makefile.am index ecf3ee25..3a50b465 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = 1.0 foreign -DEFS = +DEFS = noinst_LTLIBRARIES = libshadow.la @@ -10,6 +10,8 @@ if HAVE_VENDORDIR libshadow_la_CPPFLAGS += -DVENDORDIR=\"$(VENDORDIR)\" endif +libshadow_la_CPPFLAGS += -I$(top_srcdir) + libshadow_la_SOURCES = \ commonio.c \ commonio.h \ @@ -34,6 +36,9 @@ libshadow_la_SOURCES = \ nss.c \ nscd.c \ nscd.h \ + shadowlog.c \ + shadowlog.h \ + shadowlog_internal.h \ sssd.c \ sssd.h \ pam_defs.h \ diff --git a/lib/Makefile.in b/lib/Makefile.in index 3e6486d5..c93fd73c 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -113,12 +113,12 @@ am__libshadow_la_SOURCES_DIST = commonio.c commonio.h defines.h \ encrypt.c exitcodes.h faillog.h fields.c fputsx.c getdef.c \ getdef.h get_gid.c getlong.c get_pid.c get_uid.c getulong.c \ groupio.c groupmem.c groupio.h gshadow.c lockpw.c nss.c nscd.c \ - nscd.h sssd.c sssd.h pam_defs.h port.c port.h prototypes.h \ - pwauth.c pwauth.h pwio.c pwio.h pwmem.c run_part.h run_part.c \ - subordinateio.h subordinateio.c selinux.c semanage.c \ - sgetgrent.c sgetpwent.c sgetspent.c sgroupio.c sgroupio.h \ - shadow.c shadowio.c shadowio.h shadowmem.c spawn.c utent.c \ - tcbfuncs.c tcbfuncs.h + nscd.h shadowlog.c shadowlog.h shadowlog_internal.h sssd.c \ + sssd.h pam_defs.h port.c port.h prototypes.h pwauth.c pwauth.h \ + pwio.c pwio.h pwmem.c run_part.h run_part.c subordinateio.h \ + subordinateio.c selinux.c semanage.c sgetgrent.c sgetpwent.c \ + sgetspent.c sgroupio.c sgroupio.h shadow.c shadowio.c \ + shadowio.h shadowmem.c spawn.c utent.c tcbfuncs.c tcbfuncs.h @WITH_TCB_TRUE@am__objects_1 = libshadow_la-tcbfuncs.lo am_libshadow_la_OBJECTS = libshadow_la-commonio.lo \ libshadow_la-encrypt.lo libshadow_la-fields.lo \ @@ -128,7 +128,8 @@ am_libshadow_la_OBJECTS = libshadow_la-commonio.lo \ libshadow_la-getulong.lo libshadow_la-groupio.lo \ libshadow_la-groupmem.lo libshadow_la-gshadow.lo \ libshadow_la-lockpw.lo libshadow_la-nss.lo \ - libshadow_la-nscd.lo libshadow_la-sssd.lo libshadow_la-port.lo \ + libshadow_la-nscd.lo libshadow_la-shadowlog.lo \ + libshadow_la-sssd.lo libshadow_la-port.lo \ libshadow_la-pwauth.lo libshadow_la-pwio.lo \ libshadow_la-pwmem.lo libshadow_la-run_part.lo \ libshadow_la-subordinateio.lo libshadow_la-selinux.lo \ @@ -156,7 +157,43 @@ am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/libshadow_la-commonio.Plo \ + ./$(DEPDIR)/libshadow_la-encrypt.Plo \ + ./$(DEPDIR)/libshadow_la-fields.Plo \ + ./$(DEPDIR)/libshadow_la-fputsx.Plo \ + ./$(DEPDIR)/libshadow_la-get_gid.Plo \ + ./$(DEPDIR)/libshadow_la-get_pid.Plo \ + ./$(DEPDIR)/libshadow_la-get_uid.Plo \ + ./$(DEPDIR)/libshadow_la-getdef.Plo \ + ./$(DEPDIR)/libshadow_la-getlong.Plo \ + ./$(DEPDIR)/libshadow_la-getulong.Plo \ + ./$(DEPDIR)/libshadow_la-groupio.Plo \ + ./$(DEPDIR)/libshadow_la-groupmem.Plo \ + ./$(DEPDIR)/libshadow_la-gshadow.Plo \ + ./$(DEPDIR)/libshadow_la-lockpw.Plo \ + ./$(DEPDIR)/libshadow_la-nscd.Plo \ + ./$(DEPDIR)/libshadow_la-nss.Plo \ + ./$(DEPDIR)/libshadow_la-port.Plo \ + ./$(DEPDIR)/libshadow_la-pwauth.Plo \ + ./$(DEPDIR)/libshadow_la-pwio.Plo \ + ./$(DEPDIR)/libshadow_la-pwmem.Plo \ + ./$(DEPDIR)/libshadow_la-run_part.Plo \ + ./$(DEPDIR)/libshadow_la-selinux.Plo \ + ./$(DEPDIR)/libshadow_la-semanage.Plo \ + ./$(DEPDIR)/libshadow_la-sgetgrent.Plo \ + ./$(DEPDIR)/libshadow_la-sgetpwent.Plo \ + ./$(DEPDIR)/libshadow_la-sgetspent.Plo \ + ./$(DEPDIR)/libshadow_la-sgroupio.Plo \ + ./$(DEPDIR)/libshadow_la-shadow.Plo \ + ./$(DEPDIR)/libshadow_la-shadowio.Plo \ + ./$(DEPDIR)/libshadow_la-shadowlog.Plo \ + ./$(DEPDIR)/libshadow_la-shadowmem.Plo \ + ./$(DEPDIR)/libshadow_la-spawn.Plo \ + ./$(DEPDIR)/libshadow_la-sssd.Plo \ + ./$(DEPDIR)/libshadow_la-subordinateio.Plo \ + ./$(DEPDIR)/libshadow_la-tcbfuncs.Plo \ + ./$(DEPDIR)/libshadow_la-utent.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -364,17 +401,18 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = 1.0 foreign noinst_LTLIBRARIES = libshadow.la -libshadow_la_CPPFLAGS = $(ECONF_CPPFLAGS) $(am__append_1) +libshadow_la_CPPFLAGS = $(ECONF_CPPFLAGS) $(am__append_1) \ + -I$(top_srcdir) libshadow_la_SOURCES = commonio.c commonio.h defines.h encrypt.c \ exitcodes.h faillog.h fields.c fputsx.c getdef.c getdef.h \ get_gid.c getlong.c get_pid.c get_uid.c getulong.c groupio.c \ groupmem.c groupio.h gshadow.c lockpw.c nss.c nscd.c nscd.h \ - sssd.c sssd.h pam_defs.h port.c port.h prototypes.h pwauth.c \ - pwauth.h pwio.c pwio.h pwmem.c run_part.h run_part.c \ - subordinateio.h subordinateio.c selinux.c semanage.c \ - sgetgrent.c sgetpwent.c sgetspent.c sgroupio.c sgroupio.h \ - shadow.c shadowio.c shadowio.h shadowmem.c spawn.c utent.c \ - $(am__append_2) + shadowlog.c shadowlog.h shadowlog_internal.h sssd.c sssd.h \ + pam_defs.h port.c port.h prototypes.h pwauth.c pwauth.h pwio.c \ + pwio.h pwmem.c run_part.h run_part.c subordinateio.h \ + subordinateio.c selinux.c semanage.c sgetgrent.c sgetpwent.c \ + sgetspent.c sgroupio.c sgroupio.h shadow.c shadowio.c \ + shadowio.h shadowmem.c spawn.c utent.c $(am__append_2) # These files are unneeded for some reason, listed in # order of appearance: @@ -405,8 +443,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -438,41 +476,48 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-commonio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-encrypt.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-fields.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-fputsx.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-get_gid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-get_pid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-get_uid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-getdef.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-getlong.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-getulong.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-groupio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-groupmem.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-gshadow.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-lockpw.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-nscd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-nss.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-port.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-pwauth.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-pwio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-pwmem.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-run_part.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-selinux.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-semanage.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgetgrent.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgetpwent.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgetspent.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgroupio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-shadow.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-shadowio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-shadowmem.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-spawn.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sssd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-subordinateio.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-tcbfuncs.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-utent.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-commonio.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-encrypt.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-fields.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-fputsx.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-get_gid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-get_pid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-get_uid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-getdef.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-getlong.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-getulong.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-groupio.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-groupmem.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-gshadow.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-lockpw.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-nscd.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-nss.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-port.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-pwauth.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-pwio.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-pwmem.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-run_part.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-selinux.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-semanage.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgetgrent.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgetpwent.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgetspent.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sgroupio.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-shadow.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-shadowio.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-shadowlog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-shadowmem.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-spawn.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-sssd.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-subordinateio.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-tcbfuncs.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libshadow_la-utent.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -607,6 +652,13 @@ libshadow_la-nscd.lo: nscd.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libshadow_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libshadow_la-nscd.lo `test -f 'nscd.c' || echo '$(srcdir)/'`nscd.c +libshadow_la-shadowlog.lo: shadowlog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libshadow_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libshadow_la-shadowlog.lo -MD -MP -MF $(DEPDIR)/libshadow_la-shadowlog.Tpo -c -o libshadow_la-shadowlog.lo `test -f 'shadowlog.c' || echo '$(srcdir)/'`shadowlog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libshadow_la-shadowlog.Tpo $(DEPDIR)/libshadow_la-shadowlog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shadowlog.c' object='libshadow_la-shadowlog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libshadow_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libshadow_la-shadowlog.lo `test -f 'shadowlog.c' || echo '$(srcdir)/'`shadowlog.c + libshadow_la-sssd.lo: sssd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libshadow_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libshadow_la-sssd.lo -MD -MP -MF $(DEPDIR)/libshadow_la-sssd.Tpo -c -o libshadow_la-sssd.lo `test -f 'sssd.c' || echo '$(srcdir)/'`sssd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libshadow_la-sssd.Tpo $(DEPDIR)/libshadow_la-sssd.Plo @@ -798,7 +850,10 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ @@ -868,7 +923,42 @@ clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -f ./$(DEPDIR)/libshadow_la-commonio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-encrypt.Plo + -rm -f ./$(DEPDIR)/libshadow_la-fields.Plo + -rm -f ./$(DEPDIR)/libshadow_la-fputsx.Plo + -rm -f ./$(DEPDIR)/libshadow_la-get_gid.Plo + -rm -f ./$(DEPDIR)/libshadow_la-get_pid.Plo + -rm -f ./$(DEPDIR)/libshadow_la-get_uid.Plo + -rm -f ./$(DEPDIR)/libshadow_la-getdef.Plo + -rm -f ./$(DEPDIR)/libshadow_la-getlong.Plo + -rm -f ./$(DEPDIR)/libshadow_la-getulong.Plo + -rm -f ./$(DEPDIR)/libshadow_la-groupio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-groupmem.Plo + -rm -f ./$(DEPDIR)/libshadow_la-gshadow.Plo + -rm -f ./$(DEPDIR)/libshadow_la-lockpw.Plo + -rm -f ./$(DEPDIR)/libshadow_la-nscd.Plo + -rm -f ./$(DEPDIR)/libshadow_la-nss.Plo + -rm -f ./$(DEPDIR)/libshadow_la-port.Plo + -rm -f ./$(DEPDIR)/libshadow_la-pwauth.Plo + -rm -f ./$(DEPDIR)/libshadow_la-pwio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-pwmem.Plo + -rm -f ./$(DEPDIR)/libshadow_la-run_part.Plo + -rm -f ./$(DEPDIR)/libshadow_la-selinux.Plo + -rm -f ./$(DEPDIR)/libshadow_la-semanage.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgetgrent.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgetpwent.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgetspent.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgroupio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadow.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadowio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadowlog.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadowmem.Plo + -rm -f ./$(DEPDIR)/libshadow_la-spawn.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sssd.Plo + -rm -f ./$(DEPDIR)/libshadow_la-subordinateio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-tcbfuncs.Plo + -rm -f ./$(DEPDIR)/libshadow_la-utent.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -914,7 +1004,42 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -f ./$(DEPDIR)/libshadow_la-commonio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-encrypt.Plo + -rm -f ./$(DEPDIR)/libshadow_la-fields.Plo + -rm -f ./$(DEPDIR)/libshadow_la-fputsx.Plo + -rm -f ./$(DEPDIR)/libshadow_la-get_gid.Plo + -rm -f ./$(DEPDIR)/libshadow_la-get_pid.Plo + -rm -f ./$(DEPDIR)/libshadow_la-get_uid.Plo + -rm -f ./$(DEPDIR)/libshadow_la-getdef.Plo + -rm -f ./$(DEPDIR)/libshadow_la-getlong.Plo + -rm -f ./$(DEPDIR)/libshadow_la-getulong.Plo + -rm -f ./$(DEPDIR)/libshadow_la-groupio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-groupmem.Plo + -rm -f ./$(DEPDIR)/libshadow_la-gshadow.Plo + -rm -f ./$(DEPDIR)/libshadow_la-lockpw.Plo + -rm -f ./$(DEPDIR)/libshadow_la-nscd.Plo + -rm -f ./$(DEPDIR)/libshadow_la-nss.Plo + -rm -f ./$(DEPDIR)/libshadow_la-port.Plo + -rm -f ./$(DEPDIR)/libshadow_la-pwauth.Plo + -rm -f ./$(DEPDIR)/libshadow_la-pwio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-pwmem.Plo + -rm -f ./$(DEPDIR)/libshadow_la-run_part.Plo + -rm -f ./$(DEPDIR)/libshadow_la-selinux.Plo + -rm -f ./$(DEPDIR)/libshadow_la-semanage.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgetgrent.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgetpwent.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgetspent.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sgroupio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadow.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadowio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadowlog.Plo + -rm -f ./$(DEPDIR)/libshadow_la-shadowmem.Plo + -rm -f ./$(DEPDIR)/libshadow_la-spawn.Plo + -rm -f ./$(DEPDIR)/libshadow_la-sssd.Plo + -rm -f ./$(DEPDIR)/libshadow_la-subordinateio.Plo + -rm -f ./$(DEPDIR)/libshadow_la-tcbfuncs.Plo + -rm -f ./$(DEPDIR)/libshadow_la-utent.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -935,16 +1060,16 @@ uninstall-am: .MAKE: install-am install-strip -.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ - ctags-am distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-noinstLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am diff --git a/lib/commonio.c b/lib/commonio.c index cef404b9..9e0fde60 100644 --- a/lib/commonio.c +++ b/lib/commonio.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2001, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2011, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2001, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2011, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -51,6 +28,7 @@ #endif /* WITH_TCB */ #include "prototypes.h" #include "commonio.h" +#include "shadowlog_internal.h" /* local function prototypes */ static int lrename (const char *, const char *); @@ -146,7 +124,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: %s: %s\n", - Prog, file, strerror (errno)); + shadow_progname, file, strerror (errno)); } return 0; } @@ -158,7 +136,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: %s file write error: %s\n", - Prog, file, strerror (errno)); + shadow_progname, file, strerror (errno)); } (void) close (fd); unlink (file); @@ -168,7 +146,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: %s file sync error: %s\n", - Prog, file, strerror (errno)); + shadow_progname, file, strerror (errno)); } (void) close (fd); unlink (file); @@ -181,7 +159,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if ((0==retval) && log) { (void) fprintf (shadow_logfd, "%s: %s: lock file already used\n", - Prog, file); + shadow_progname, file); } unlink (file); return retval; @@ -192,7 +170,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: %s: %s\n", - Prog, lock, strerror (errno)); + shadow_progname, lock, strerror (errno)); } unlink (file); errno = EINVAL; @@ -204,7 +182,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: existing lock file %s without a PID\n", - Prog, lock); + shadow_progname, lock); } unlink (file); errno = EINVAL; @@ -215,7 +193,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: existing lock file %s with an invalid PID '%s'\n", - Prog, lock, buf); + shadow_progname, lock, buf); } unlink (file); errno = EINVAL; @@ -225,7 +203,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: lock %s already used by PID %lu\n", - Prog, lock, (unsigned long) pid); + shadow_progname, lock, (unsigned long) pid); } unlink (file); errno = EEXIST; @@ -235,7 +213,7 @@ static int do_lock_file (const char *file, const char *lock, bool log) if (log) { (void) fprintf (shadow_logfd, "%s: cannot get lock %s: %s\n", - Prog, lock, strerror (errno)); + shadow_progname, lock, strerror (errno)); } unlink (file); return 0; @@ -247,13 +225,13 @@ static int do_lock_file (const char *file, const char *lock, bool log) if ((0==retval) && log) { (void) fprintf (shadow_logfd, "%s: %s: lock file already used\n", - Prog, file); + shadow_progname, file); } } else { if (log) { (void) fprintf (shadow_logfd, "%s: cannot get lock %s: %s\n", - Prog, lock, strerror (errno)); + shadow_progname, lock, strerror (errno)); } } @@ -403,11 +381,11 @@ int commonio_lock_nowait (struct commonio_db *db, bool log) file_len = strlen(db->filename) + 11;/* %lu max size */ lock_file_len = strlen(db->filename) + 6; /* sizeof ".lock" */ file = (char*)malloc(file_len); - if(file == NULL) { + if (file == NULL) { goto cleanup_ENOMEM; } lock = (char*)malloc(lock_file_len); - if(lock == NULL) { + if (lock == NULL) { goto cleanup_ENOMEM; } snprintf (file, file_len, "%s.%lu", @@ -419,9 +397,9 @@ int commonio_lock_nowait (struct commonio_db *db, bool log) err = 1; } cleanup_ENOMEM: - if(file) + if (file) free(file); - if(lock) + if (lock) free(lock); return err; } @@ -448,7 +426,7 @@ int commonio_lock (struct commonio_db *db) if (geteuid () != 0) { (void) fprintf (shadow_logfd, "%s: Permission denied.\n", - Prog); + shadow_progname); } return 0; /* failure */ } @@ -483,7 +461,7 @@ int commonio_lock (struct commonio_db *db) /* no unnecessary retries on "permission denied" errors */ if (geteuid () != 0) { (void) fprintf (shadow_logfd, "%s: Permission denied.\n", - Prog); + shadow_progname); return 0; } } diff --git a/lib/commonio.h b/lib/commonio.h index 2bad47a5..e63c5b4d 100644 --- a/lib/commonio.h +++ b/lib/commonio.h @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/lib/defines.h b/lib/defines.h index e1500a76..fc1521cb 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -70,10 +70,6 @@ extern char * textdomain (const char * domainname); # define strrchr rindex # endif char *strchr (), *strrchr (), *strtok (); - -# ifndef HAVE_MEMCPY -# define memcpy(d, s, n) bcopy((s), (d), (n)) -# endif #endif /* not STDC_HEADERS */ #if HAVE_ERRNO_H @@ -115,11 +111,7 @@ char *strchr (), *strrchr (), *strtok (); # endif #endif /* not TIME_WITH_SYS_TIME */ -#ifdef HAVE_MEMSET -# define memzero(ptr, size) memset((void *)(ptr), 0, (size)) -#else -# define memzero(ptr, size) bzero((char *)(ptr), (size)) -#endif +#define memzero(ptr, size) memset((void *)(ptr), 0, (size)) #define strzero(s) memzero(s, strlen(s)) /* warning: evaluates twice */ #ifdef HAVE_DIRENT_H /* DIR_SYSV */ diff --git a/lib/encrypt.c b/lib/encrypt.c index 66c52f2d..c84a2552 100644 --- a/lib/encrypt.c +++ b/lib/encrypt.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1993, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1993, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -39,6 +16,7 @@ #include "prototypes.h" #include "defines.h" +#include "shadowlog_internal.h" /*@exposed@*//*@null@*/char *pw_encrypt (const char *clear, const char *salt) { diff --git a/lib/exitcodes.h b/lib/exitcodes.h index 96b2340b..7dbe340e 100644 --- a/lib/exitcodes.h +++ b/lib/exitcodes.h @@ -1,30 +1,7 @@ /* - * Copyright (c) 2005 - 2006, Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 2005 - 2006, Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/lib/faillog.h b/lib/faillog.h index a0a95b34..38476ea6 100644 --- a/lib/faillog.h +++ b/lib/faillog.h @@ -1,32 +1,9 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* @@ -45,8 +22,8 @@ struct faillog { short fail_cnt; /* failures since last success */ short fail_max; /* failures before turning account off */ - char fail_line[12]; /* last failure occured here */ - time_t fail_time; /* last failure occured then */ + char fail_line[12]; /* last failure occurred here */ + time_t fail_time; /* last failure occurred then */ /* * If nonzero, the account will be re-enabled if there are no * failures for fail_locktime seconds since last failure. diff --git a/lib/fields.c b/lib/fields.c index 649fae17..8a560352 100644 --- a/lib/fields.c +++ b/lib/fields.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 , Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 , Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/fputsx.c b/lib/fputsx.c index c42b40bd..bb71ab2a 100644 --- a/lib/fputsx.c +++ b/lib/fputsx.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/get_gid.c b/lib/get_gid.c index 6fb31ffe..cbcd6f4b 100644 --- a/lib/get_gid.c +++ b/lib/get_gid.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2009 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2009 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/get_pid.c b/lib/get_pid.c index e2b47ce5..383eb695 100644 --- a/lib/get_pid.c +++ b/lib/get_pid.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2009 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2009 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/get_uid.c b/lib/get_uid.c index ac0f2df3..50f99225 100644 --- a/lib/get_uid.c +++ b/lib/get_uid.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2009 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2009 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/getdef.c b/lib/getdef.c index 80eb18c4..fbaea2e1 100644 --- a/lib/getdef.c +++ b/lib/getdef.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2002 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2008, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2002 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2008, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -44,6 +21,7 @@ #include #endif #include "getdef.h" +#include "shadowlog_internal.h" /* * A configuration item definition. */ diff --git a/lib/getdef.h b/lib/getdef.h index 46346d8e..2bd3fc5f 100644 --- a/lib/getdef.h +++ b/lib/getdef.h @@ -1,33 +1,10 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2002 - 2006, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2002 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _GETDEF_H #define _GETDEF_H diff --git a/lib/getlong.c b/lib/getlong.c index 47c3a605..ec4aa54d 100644 --- a/lib/getlong.c +++ b/lib/getlong.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/getulong.c b/lib/getulong.c index 08d2c1a8..33250e3a 100644 --- a/lib/getulong.c +++ b/lib/getulong.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/groupio.c b/lib/groupio.c index bffb06e0..54af36e3 100644 --- a/lib/groupio.c +++ b/lib/groupio.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/groupio.h b/lib/groupio.h index e1f1b029..2014de0c 100644 --- a/lib/groupio.h +++ b/lib/groupio.h @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/lib/groupmem.c b/lib/groupmem.c index 2060d03b..c18b5c64 100644 --- a/lib/groupmem.c +++ b/lib/groupmem.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2007 - 2013, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2013, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/gshadow.c b/lib/gshadow.c index e5a0f61e..2e129230 100644 --- a/lib/gshadow.c +++ b/lib/gshadow.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/gshadow_.h b/lib/gshadow_.h index 7959c5a1..68a0bb67 100644 --- a/lib/gshadow_.h +++ b/lib/gshadow_.h @@ -1,32 +1,9 @@ /* - * Copyright (c) 1988 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1988 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/lib/lockpw.c b/lib/lockpw.c index 0bcf1955..aaa317fd 100644 --- a/lib/lockpw.c +++ b/lib/lockpw.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1992 , Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1992 , Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/nscd.c b/lib/nscd.c index 397212e2..2c2251af 100644 --- a/lib/nscd.c +++ b/lib/nscd.c @@ -10,6 +10,7 @@ #include "defines.h" #include "prototypes.h" #include "nscd.h" +#include "shadowlog_internal.h" #define MSG_NSCD_FLUSH_CACHE_FAILED "%s: Failed to flush the nscd cache.\n" @@ -25,7 +26,7 @@ int nscd_flush_cache (const char *service) if (run_command (cmd, spawnedArgs, spawnedEnv, &status) != 0) { /* run_command writes its own more detailed message. */ - (void) fprintf (shadow_logfd, _(MSG_NSCD_FLUSH_CACHE_FAILED), Prog); + (void) fprintf (shadow_logfd, _(MSG_NSCD_FLUSH_CACHE_FAILED), shadow_progname); return -1; } @@ -33,7 +34,7 @@ int nscd_flush_cache (const char *service) if (!WIFEXITED (status)) { (void) fprintf (shadow_logfd, _("%s: nscd did not terminate normally (signal %d)\n"), - Prog, WTERMSIG (status)); + shadow_progname, WTERMSIG (status)); return -1; } else if (code == E_CMD_NOTFOUND) { /* nscd is not installed, or it is installed but uses an @@ -44,8 +45,8 @@ int nscd_flush_cache (const char *service) return 0; } else if (code != 0) { (void) fprintf (shadow_logfd, _("%s: nscd exited with status %d\n"), - Prog, code); - (void) fprintf (shadow_logfd, _(MSG_NSCD_FLUSH_CACHE_FAILED), Prog); + shadow_progname, code); + (void) fprintf (shadow_logfd, _(MSG_NSCD_FLUSH_CACHE_FAILED), shadow_progname); return -1; } diff --git a/lib/nss.c b/lib/nss.c index 7c082758..af3e95ac 100644 --- a/lib/nss.c +++ b/lib/nss.c @@ -8,6 +8,7 @@ #include #include "prototypes.h" #include "../libsubid/subid.h" +#include "shadowlog_internal.h" #define NSSWITCH "/etc/nsswitch.conf" diff --git a/lib/pam_defs.h b/lib/pam_defs.h index 343fbb45..2dcda3cd 100644 --- a/lib/pam_defs.h +++ b/lib/pam_defs.h @@ -1,31 +1,8 @@ /* - * Copyright (c) 1999 , Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1999 , Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/port.c b/lib/port.c index 438879c1..0bea2ef4 100644 --- a/lib/port.c +++ b/lib/port.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/port.h b/lib/port.h index 2da56b20..c19421da 100644 --- a/lib/port.h +++ b/lib/port.h @@ -1,32 +1,9 @@ /* - * Copyright (c) 1989 - 1991, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1991, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/lib/prototypes.h b/lib/prototypes.h index 1d1586d4..6f80df82 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* @@ -59,9 +36,6 @@ #include "defines.h" #include "commonio.h" -extern /*@observer@*/ const char *Prog; /* Program name showed in error messages */ -extern FILE *shadow_logfd; /* file descripter to which error messages are printed */ - /* addgrps.c */ #if defined (HAVE_SETGROUPS) && ! defined (USE_PAM) extern int add_groups (const char *); @@ -134,6 +108,9 @@ extern int copy_tree (const char *src_root, const char *dst_root, uid_t old_uid, uid_t new_uid, gid_t old_gid, gid_t new_gid); +/* date_to_str.c */ +extern void date_to_str (size_t size, char buf[size], long date); + /* encrypt.c */ extern /*@exposed@*//*@null@*/char *pw_encrypt (const char *, const char *); @@ -392,6 +369,7 @@ extern /*@observer@*/const char *crypt_make_salt (/*@null@*//*@observer@*/const /* selinux.c */ #ifdef WITH_SELINUX extern int set_selinux_file_context (const char *dst_name, mode_t mode); +extern void reset_selinux_handle (void); extern int reset_selinux_file_context (void); extern int check_selinux_permit (const char *perm_name); #endif diff --git a/lib/pwauth.c b/lib/pwauth.c index 9e24fbf2..62de4723 100644 --- a/lib/pwauth.c +++ b/lib/pwauth.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1992 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1992 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -127,7 +104,7 @@ int pw_auth (const char *cipher, #ifdef SKEY /* * If the user has an S/KEY entry show them the pertinent info - * and then we can try validating the created cyphertext and the SKEY. + * and then we can try validating the created ciphertext and the SKEY. * If there is no SKEY information we default to not using SKEY. */ diff --git a/lib/pwauth.h b/lib/pwauth.h index d6c71dda..fb205b71 100644 --- a/lib/pwauth.h +++ b/lib/pwauth.h @@ -1,33 +1,10 @@ /* - * Copyright (c) 1992 - 1993, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2009 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1992 - 1993, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2009 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/lib/pwio.c b/lib/pwio.c index 127719cb..2efecfbf 100644 --- a/lib/pwio.c +++ b/lib/pwio.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/pwio.h b/lib/pwio.h index 2db85e01..882a7c7a 100644 --- a/lib/pwio.h +++ b/lib/pwio.h @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2005 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/lib/pwmem.c b/lib/pwmem.c index 17d2eb21..f6aadb85 100644 --- a/lib/pwmem.c +++ b/lib/pwmem.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2013, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2013, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -93,14 +70,16 @@ void pw_free (/*@out@*/ /*@only@*/struct passwd *pwent) { - free (pwent->pw_name); - if (pwent->pw_passwd) { - memzero (pwent->pw_passwd, strlen (pwent->pw_passwd)); - free (pwent->pw_passwd); + if (pwent != NULL) { + free (pwent->pw_name); + if (pwent->pw_passwd) { + memzero (pwent->pw_passwd, strlen (pwent->pw_passwd)); + free (pwent->pw_passwd); + } + free (pwent->pw_gecos); + free (pwent->pw_dir); + free (pwent->pw_shell); + free (pwent); } - free (pwent->pw_gecos); - free (pwent->pw_dir); - free (pwent->pw_shell); - free (pwent); } diff --git a/lib/run_part.c b/lib/run_part.c index 03d1d675..1ce06be0 100644 --- a/lib/run_part.c +++ b/lib/run_part.c @@ -8,6 +8,7 @@ #include #include #include +#include "shadowlog_internal.h" int run_part (char *script_path, char *name, char *action) { @@ -17,7 +18,7 @@ int run_part (char *script_path, char *name, char *action) char *args[] = { script_path, NULL }; pid=fork(); - if (pid==-1){ + if (pid==-1) { perror ("Could not fork"); return 1; } diff --git a/lib/selinux.c b/lib/selinux.c index c83545f9..f97b1fe5 100644 --- a/lib/selinux.c +++ b/lib/selinux.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2011 , Peter Vrabec - * All rights reserved. + * SPDX-FileCopyrightText: 2011 , Peter Vrabec * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -38,6 +15,8 @@ #include #include "prototypes.h" +#include "shadowlog_internal.h" + static bool selinux_checked = false; static bool selinux_enabled; static /*@null@*/struct selabel_handle *selabel_hnd = NULL; @@ -50,6 +29,11 @@ static void cleanup(void) } } +void reset_selinux_handle (void) +{ + cleanup(); +} + /* * set_selinux_file_context - Set the security context before any file or * directory creation. @@ -209,7 +193,7 @@ int check_selinux_permit (const char *perm_name) if (getprevcon_raw (&user_context_raw) != 0) { fprintf (shadow_logfd, _("%s: can not get previous SELinux process context: %s\n"), - Prog, strerror (errno)); + shadow_progname, strerror (errno)); SYSLOG ((LOG_WARN, "can not get previous SELinux process context: %s", strerror (errno))); diff --git a/lib/semanage.c b/lib/semanage.c index 766ad6d0..12401608 100644 --- a/lib/semanage.c +++ b/lib/semanage.c @@ -1,31 +1,8 @@ /* - * Copyright (c) 2010 , Jakub Hrozek - * Copyright (c) 2011 , Peter Vrabec - * All rights reserved. + * SPDX-FileCopyrightText: 2010 , Jakub Hrozek + * SPDX-FileCopyrightText: 2011 , Peter Vrabec * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -43,6 +20,7 @@ #include #include "prototypes.h" +#include "shadowlog_internal.h" #ifndef DEFAULT_SERANGE #define DEFAULT_SERANGE "s0" @@ -293,6 +271,7 @@ int set_seuser (const char *login_name, const char *seuser_name) } ret = 0; + reset_selinux_handle(); done: semanage_seuser_key_free (key); @@ -331,7 +310,7 @@ int del_seuser (const char *login_name) if (0 == exists) { fprintf (shadow_logfd, - _("Login mapping for %s is not defined, OK if default mapping was used\n"), + _("Login mapping for %s is not defined, OK if default mapping was used\n"), login_name); ret = 0; /* probably default mapping */ goto done; @@ -346,7 +325,7 @@ int del_seuser (const char *login_name) if (0 == exists) { fprintf (shadow_logfd, - _("Login mapping for %s is defined in policy, cannot be deleted\n"), + _("Login mapping for %s is defined in policy, cannot be deleted\n"), login_name); ret = 0; /* Login mapping defined in policy can't be deleted */ goto done; diff --git a/lib/sgetgrent.c b/lib/sgetgrent.c index a951be42..1ed3aa11 100644 --- a/lib/sgetgrent.c +++ b/lib/sgetgrent.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/sgetpwent.c b/lib/sgetpwent.c index befdd916..84a653d7 100644 --- a/lib/sgetpwent.c +++ b/lib/sgetpwent.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -91,7 +68,7 @@ struct passwd *sgetpwent (const char *buf) } /* something at the end, columns over shot */ - if( cp != NULL ) { + if ( cp != NULL ) { return( NULL ); } diff --git a/lib/sgetspent.c b/lib/sgetspent.c index 8251a561..a35b6759 100644 --- a/lib/sgetspent.c +++ b/lib/sgetspent.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2009 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2009 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/sgroupio.c b/lib/sgroupio.c index ffbdb263..cf01de7b 100644 --- a/lib/sgroupio.c +++ b/lib/sgroupio.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2007 - 2013, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2013, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/sgroupio.h b/lib/sgroupio.h index 163243a4..3474a985 100644 --- a/lib/sgroupio.h +++ b/lib/sgroupio.h @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/lib/shadow.c b/lib/shadow.c index e743b2ce..9e86b908 100644 --- a/lib/shadow.c +++ b/lib/shadow.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2009 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2009 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/shadowio.c b/lib/shadowio.c index 676b1f1a..34076040 100644 --- a/lib/shadowio.c +++ b/lib/shadowio.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/lib/shadowio.h b/lib/shadowio.h index 5384b1dd..4dbeb6d6 100644 --- a/lib/shadowio.h +++ b/lib/shadowio.h @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/lib/shadowlog.c b/lib/shadowlog.c new file mode 100644 index 00000000..7bcc63ca --- /dev/null +++ b/lib/shadowlog.c @@ -0,0 +1,31 @@ +#include "shadowlog.h" + +#include "lib/shadowlog_internal.h" + +const char *shadow_progname = "libshadow"; +FILE *shadow_logfd = NULL; + +void log_set_progname(const char *progname) +{ + shadow_progname = progname; +} + +const char *log_get_progname(void) +{ + return shadow_progname; +} + +void log_set_logfd(FILE *fd) +{ + if (NULL != fd) + shadow_logfd = fd; + else + shadow_logfd = stderr; +} + +FILE *log_get_logfd(void) +{ + if (shadow_logfd != NULL) + return shadow_logfd; + return stderr; +} diff --git a/lib/shadowlog.h b/lib/shadowlog.h new file mode 100644 index 00000000..bf8be855 --- /dev/null +++ b/lib/shadowlog.h @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2021 , Serge Hallyn + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the copyright holders or contributors may not be used to + * endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/* $Id$ */ +#ifndef _LOG_H +#define _LOG_H +#include + +extern void log_set_progname(const char *); +extern const char *log_get_progname(void); +extern void log_set_logfd(FILE *fd); +extern FILE *log_get_logfd(void); +extern void log_dolog(char *, ...); + +#endif diff --git a/lib/shadowlog_internal.h b/lib/shadowlog_internal.h new file mode 100644 index 00000000..7f25407b --- /dev/null +++ b/lib/shadowlog_internal.h @@ -0,0 +1,2 @@ +extern const char *shadow_progname; /* Program name showed in error messages */ +extern FILE *shadow_logfd; /* file descripter to which error messages are printed */ diff --git a/lib/shadowmem.c b/lib/shadowmem.c index 8989598f..757d6026 100644 --- a/lib/shadowmem.c +++ b/lib/shadowmem.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 , Michał Moskal - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2007 - 2013, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 , Michał Moskal + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2013, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -79,11 +56,13 @@ void spw_free (/*@out@*/ /*@only@*/struct spwd *spent) { - free (spent->sp_namp); - if (NULL != spent->sp_pwdp) { - memzero (spent->sp_pwdp, strlen (spent->sp_pwdp)); - free (spent->sp_pwdp); + if (spent != NULL) { + free (spent->sp_namp); + if (NULL != spent->sp_pwdp) { + memzero (spent->sp_pwdp, strlen (spent->sp_pwdp)); + free (spent->sp_pwdp); + } + free (spent); } - free (spent); } diff --git a/lib/spawn.c b/lib/spawn.c index c53742cc..ce1a97db 100644 --- a/lib/spawn.c +++ b/lib/spawn.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2011 , Jonathan Nieder - * All rights reserved. + * SPDX-FileCopyrightText: 2011 , Jonathan Nieder * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -38,6 +15,8 @@ #include "exitcodes.h" #include "prototypes.h" +#include "shadowlog_internal.h" + int run_command (const char *cmd, const char *argv[], /*@null@*/const char *envp[], /*@out@*/int *status) { @@ -58,11 +37,11 @@ int run_command (const char *cmd, const char *argv[], exit (E_CMD_NOTFOUND); } fprintf (shadow_logfd, "%s: cannot execute %s: %s\n", - Prog, cmd, strerror (errno)); + shadow_progname, cmd, strerror (errno)); exit (E_CMD_NOEXEC); } else if ((pid_t)-1 == pid) { fprintf (shadow_logfd, "%s: cannot execute %s: %s\n", - Prog, cmd, strerror (errno)); + shadow_progname, cmd, strerror (errno)); return -1; } @@ -75,7 +54,7 @@ int run_command (const char *cmd, const char *argv[], if ((pid_t)-1 == wpid) { fprintf (shadow_logfd, "%s: waitpid (status: %d): %s\n", - Prog, *status, strerror (errno)); + shadow_progname, *status, strerror (errno)); return -1; } diff --git a/lib/sssd.c b/lib/sssd.c index f864ce68..786ccd60 100644 --- a/lib/sssd.c +++ b/lib/sssd.c @@ -11,6 +11,8 @@ #include "prototypes.h" #include "sssd.h" +#include "shadowlog_internal.h" + #define MSG_SSSD_FLUSH_CACHE_FAILED "%s: Failed to flush the sssd cache." int sssd_flush_cache (int dbflags) @@ -46,22 +48,22 @@ int sssd_flush_cache (int dbflags) free(sss_cache_args); if (rv != 0) { /* run_command writes its own more detailed message. */ - SYSLOG ((LOG_WARN, MSG_SSSD_FLUSH_CACHE_FAILED, Prog)); + SYSLOG ((LOG_WARN, MSG_SSSD_FLUSH_CACHE_FAILED, shadow_progname)); return -1; } code = WEXITSTATUS (status); if (!WIFEXITED (status)) { SYSLOG ((LOG_WARN, "%s: sss_cache did not terminate normally (signal %d)", - Prog, WTERMSIG (status))); + shadow_progname, WTERMSIG (status))); return -1; } else if (code == E_CMD_NOTFOUND) { /* sss_cache is not installed, or it is installed but uses an interpreter that is missing. Probably the former. */ return 0; } else if (code != 0) { - SYSLOG ((LOG_WARN, "%s: sss_cache exited with status %d", Prog, code)); - SYSLOG ((LOG_WARN, MSG_SSSD_FLUSH_CACHE_FAILED, Prog)); + SYSLOG ((LOG_WARN, "%s: sss_cache exited with status %d", shadow_progname, code)); + SYSLOG ((LOG_WARN, MSG_SSSD_FLUSH_CACHE_FAILED, shadow_progname)); return -1; } diff --git a/lib/subordinateio.c b/lib/subordinateio.c index fbff3eae..9ca70b8b 100644 --- a/lib/subordinateio.c +++ b/lib/subordinateio.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 - Eric Biederman + * SPDX-FileCopyrightText: 2012 - Eric Biederman */ #include @@ -53,7 +53,7 @@ static /*@null@*/ /*@only@*/void *subordinate_dup (const void *ent) static void subordinate_free (/*@out@*/ /*@only@*/void *ent) { struct subordinate_range *rangeent = ent; - + free ((void *)(rangeent->owner)); free (rangeent); } @@ -224,7 +224,7 @@ static const struct subordinate_range *find_range(struct commonio_db *db, /* Get UID of the username we are looking for */ pwd = getpwnam(owner); if (NULL == pwd) { - /* Username not defined in /etc/passwd, or error occured during lookup */ + /* Username not defined in /etc/passwd, or error occurred during lookup */ return NULL; } owner_uid = pwd->pw_uid; @@ -296,7 +296,7 @@ static bool have_range(struct commonio_db *db, end = start + count - 1; range = find_range (db, owner, start); while (range) { - unsigned long last; + unsigned long last; last = range->start + range->count - 1; if (last >= (start + count - 1)) @@ -847,7 +847,7 @@ static int append_uids(uid_t **uids, const char *owner, int n) } else { struct passwd *pwd = getpwnam(owner); if (NULL == pwd) { - /* Username not defined in /etc/passwd, or error occured during lookup */ + /* Username not defined in /etc/passwd, or error occurred during lookup */ free(*uids); *uids = NULL; return -1; diff --git a/lib/tcbfuncs.c b/lib/tcbfuncs.c index e9496cdf..80838c51 100644 --- a/lib/tcbfuncs.c +++ b/lib/tcbfuncs.c @@ -1,21 +1,6 @@ /* - * Copyright (c) 2001 Rafal Wojtczuk, Solar Designer - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-FileCopyrightText: 2001 Rafal Wojtczuk, Solar Designer + * SPDX-License-Identifier: 0BSD */ #define _GNU_SOURCE @@ -38,6 +23,8 @@ #include "shadowio.h" #include "tcbfuncs.h" +#include "shadowlog_internal.h" + #define SHADOWTCB_HASH_BY 1000 #define SHADOWTCB_LOCK_SUFFIX ".lock" @@ -72,7 +59,7 @@ shadowtcb_status shadowtcb_gain_priv (void) * to exit soon. */ #define OUT_OF_MEMORY do { \ - fprintf (shadow_logfd, _("%s: out of memory\n"), Prog); \ + fprintf (shadow_logfd, _("%s: out of memory\n"), shadow_progname); \ (void) fflush (shadow_logfd); \ } while (false) @@ -118,7 +105,7 @@ static /*@null@*/ char *shadowtcb_path_rel_existing (const char *name) if (lstat (path, &st) != 0) { fprintf (shadow_logfd, _("%s: Cannot stat %s: %s\n"), - Prog, path, strerror (errno)); + shadow_progname, path, strerror (errno)); free (path); return NULL; } @@ -134,7 +121,7 @@ static /*@null@*/ char *shadowtcb_path_rel_existing (const char *name) if (!S_ISLNK (st.st_mode)) { fprintf (shadow_logfd, _("%s: %s is neither a directory, nor a symlink.\n"), - Prog, path); + shadow_progname, path); free (path); return NULL; } @@ -142,7 +129,7 @@ static /*@null@*/ char *shadowtcb_path_rel_existing (const char *name) if (-1 == ret) { fprintf (shadow_logfd, _("%s: Cannot read symbolic link %s: %s\n"), - Prog, path, strerror (errno)); + shadow_progname, path, strerror (errno)); free (path); return NULL; } @@ -151,7 +138,7 @@ static /*@null@*/ char *shadowtcb_path_rel_existing (const char *name) link[sizeof(link) - 1] = '\0'; fprintf (shadow_logfd, _("%s: Suspiciously long symlink: %s\n"), - Prog, link); + shadow_progname, link); return NULL; } link[(size_t)ret] = '\0'; @@ -209,7 +196,7 @@ static shadowtcb_status mkdir_leading (const char *name, uid_t uid) if (stat (TCB_DIR, &st) != 0) { fprintf (shadow_logfd, _("%s: Cannot stat %s: %s\n"), - Prog, TCB_DIR, strerror (errno)); + shadow_progname, TCB_DIR, strerror (errno)); goto out_free_path; } while ((ind = strchr (ptr, '/'))) { @@ -221,19 +208,19 @@ static shadowtcb_status mkdir_leading (const char *name, uid_t uid) if ((mkdir (dir, 0700) != 0) && (errno != EEXIST)) { fprintf (shadow_logfd, _("%s: Cannot create directory %s: %s\n"), - Prog, dir, strerror (errno)); + shadow_progname, dir, strerror (errno)); goto out_free_dir; } if (chown (dir, 0, st.st_gid) != 0) { fprintf (shadow_logfd, _("%s: Cannot change owner of %s: %s\n"), - Prog, dir, strerror (errno)); + shadow_progname, dir, strerror (errno)); goto out_free_dir; } if (chmod (dir, 0711) != 0) { fprintf (shadow_logfd, _("%s: Cannot change mode of %s: %s\n"), - Prog, dir, strerror (errno)); + shadow_progname, dir, strerror (errno)); goto out_free_dir; } free (dir); @@ -263,7 +250,7 @@ static shadowtcb_status unlink_suffs (const char *user) if ((unlink (tmp) != 0) && (errno != ENOENT)) { fprintf (shadow_logfd, _("%s: unlink: %s: %s\n"), - Prog, tmp, strerror (errno)); + shadow_progname, tmp, strerror (errno)); free (tmp); return SHADOWTCB_FAILURE; } @@ -288,7 +275,7 @@ static shadowtcb_status rmdir_leading (char *path) if (errno != ENOTEMPTY) { fprintf (shadow_logfd, _("%s: Cannot remove directory %s: %s\n"), - Prog, dir, strerror (errno)); + shadow_progname, dir, strerror (errno)); ret = SHADOWTCB_FAILURE; } free (dir); @@ -317,7 +304,7 @@ static shadowtcb_status move_dir (const char *user_newname, uid_t user_newid) if (stat (olddir, &oldmode) != 0) { fprintf (shadow_logfd, _("%s: Cannot stat %s: %s\n"), - Prog, olddir, strerror (errno)); + shadow_progname, olddir, strerror (errno)); goto out_free; } old_uid = oldmode.st_uid; @@ -344,7 +331,7 @@ static shadowtcb_status move_dir (const char *user_newname, uid_t user_newid) if (rename (real_old_dir, real_new_dir) != 0) { fprintf (shadow_logfd, _("%s: Cannot rename %s to %s: %s\n"), - Prog, real_old_dir, real_new_dir, strerror (errno)); + shadow_progname, real_old_dir, real_new_dir, strerror (errno)); goto out_free; } if (rmdir_leading (real_old_dir_rel) == SHADOWTCB_FAILURE) { @@ -353,7 +340,7 @@ static shadowtcb_status move_dir (const char *user_newname, uid_t user_newid) if ((unlink (olddir) != 0) && (errno != ENOENT)) { fprintf (shadow_logfd, _("%s: Cannot remove %s: %s\n"), - Prog, olddir, strerror (errno)); + shadow_progname, olddir, strerror (errno)); goto out_free; } if (asprintf (&newdir, TCB_DIR "/%s", user_newname) == -1) { @@ -367,7 +354,7 @@ static shadowtcb_status move_dir (const char *user_newname, uid_t user_newid) && (symlink (real_new_dir_rel, newdir) != 0)) { fprintf (shadow_logfd, _("%s: Cannot create symbolic link %s: %s\n"), - Prog, real_new_dir_rel, strerror (errno)); + shadow_progname, real_new_dir_rel, strerror (errno)); goto out_free; } ret = SHADOWTCB_SUCCESS; @@ -466,31 +453,31 @@ shadowtcb_status shadowtcb_move (/*@NULL@*/const char *user_newname, uid_t user_ if (stat (tcbdir, &dirmode) != 0) { fprintf (shadow_logfd, _("%s: Cannot stat %s: %s\n"), - Prog, tcbdir, strerror (errno)); + shadow_progname, tcbdir, strerror (errno)); goto out_free; } if (chown (tcbdir, 0, 0) != 0) { fprintf (shadow_logfd, _("%s: Cannot change owners of %s: %s\n"), - Prog, tcbdir, strerror (errno)); + shadow_progname, tcbdir, strerror (errno)); goto out_free; } if (chmod (tcbdir, 0700) != 0) { fprintf (shadow_logfd, _("%s: Cannot change mode of %s: %s\n"), - Prog, tcbdir, strerror (errno)); + shadow_progname, tcbdir, strerror (errno)); goto out_free; } if (lstat (shadow, &filemode) != 0) { if (errno != ENOENT) { fprintf (shadow_logfd, _("%s: Cannot lstat %s: %s\n"), - Prog, shadow, strerror (errno)); + shadow_progname, shadow, strerror (errno)); goto out_free; } fprintf (shadow_logfd, _("%s: Warning, user %s has no tcb shadow file.\n"), - Prog, user_newname); + shadow_progname, user_newname); } else { if (!S_ISREG (filemode.st_mode) || filemode.st_nlink != 1) { @@ -498,19 +485,19 @@ shadowtcb_status shadowtcb_move (/*@NULL@*/const char *user_newname, uid_t user_ _("%s: Emergency: %s's tcb shadow is not a " "regular file with st_nlink=1.\n" "The account is left locked.\n"), - Prog, user_newname); + shadow_progname, user_newname); goto out_free; } if (chown (shadow, user_newid, filemode.st_gid) != 0) { fprintf (shadow_logfd, _("%s: Cannot change owner of %s: %s\n"), - Prog, shadow, strerror (errno)); + shadow_progname, shadow, strerror (errno)); goto out_free; } if (chmod (shadow, filemode.st_mode & 07777) != 0) { fprintf (shadow_logfd, _("%s: Cannot change mode of %s: %s\n"), - Prog, shadow, strerror (errno)); + shadow_progname, shadow, strerror (errno)); goto out_free; } } @@ -520,7 +507,13 @@ shadowtcb_status shadowtcb_move (/*@NULL@*/const char *user_newname, uid_t user_ if (chown (tcbdir, user_newid, dirmode.st_gid) != 0) { fprintf (shadow_logfd, _("%s: Cannot change owner of %s: %s\n"), - Prog, tcbdir, strerror (errno)); + shadow_progname, tcbdir, strerror (errno)); + goto out_free; + } + if (chmod (tcbdir, dirmode.st_mode & 07777) != 0) { + fprintf (shadow_logfd, + _("%s: Cannot change mode of %s: %s\n"), + shadow_progname, tcbdir, strerror (errno)); goto out_free; } ret = SHADOWTCB_SUCCESS; @@ -545,7 +538,7 @@ shadowtcb_status shadowtcb_create (const char *name, uid_t uid) if (stat (TCB_DIR, &tcbdir_stat) != 0) { fprintf (shadow_logfd, _("%s: Cannot stat %s: %s\n"), - Prog, TCB_DIR, strerror (errno)); + shadow_progname, TCB_DIR, strerror (errno)); return SHADOWTCB_FAILURE; } shadowgid = tcbdir_stat.st_gid; @@ -565,39 +558,39 @@ shadowtcb_status shadowtcb_create (const char *name, uid_t uid) if (mkdir (dir, 0700) != 0) { fprintf (shadow_logfd, _("%s: mkdir: %s: %s\n"), - Prog, dir, strerror (errno)); + shadow_progname, dir, strerror (errno)); goto out_free; } fd = open (shadow, O_RDWR | O_CREAT | O_TRUNC, 0600); if (fd < 0) { fprintf (shadow_logfd, _("%s: Cannot open %s: %s\n"), - Prog, shadow, strerror (errno)); + shadow_progname, shadow, strerror (errno)); goto out_free; } close (fd); if (chown (shadow, 0, authgid) != 0) { fprintf (shadow_logfd, _("%s: Cannot change owner of %s: %s\n"), - Prog, shadow, strerror (errno)); + shadow_progname, shadow, strerror (errno)); goto out_free; } if (chmod (shadow, (mode_t) ((authgid == shadowgid) ? 0600 : 0640)) != 0) { fprintf (shadow_logfd, _("%s: Cannot change mode of %s: %s\n"), - Prog, shadow, strerror (errno)); + shadow_progname, shadow, strerror (errno)); goto out_free; } if (chown (dir, 0, authgid) != 0) { fprintf (shadow_logfd, _("%s: Cannot change owner of %s: %s\n"), - Prog, dir, strerror (errno)); + shadow_progname, dir, strerror (errno)); goto out_free; } if (chmod (dir, (mode_t) ((authgid == shadowgid) ? 02700 : 02710)) != 0) { fprintf (shadow_logfd, _("%s: Cannot change mode of %s: %s\n"), - Prog, dir, strerror (errno)); + shadow_progname, dir, strerror (errno)); goto out_free; } if ( (shadowtcb_set_user (name) == SHADOWTCB_FAILURE) diff --git a/lib/utent.c b/lib/utent.c index 45af2607..d5e6daea 100644 --- a/lib/utent.c +++ b/lib/utent.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1993 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1993 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/Makefile.am b/libmisc/Makefile.am index 9766a7ec..3d319cd8 100644 --- a/libmisc/Makefile.am +++ b/libmisc/Makefile.am @@ -1,7 +1,7 @@ EXTRA_DIST = .indent.pro xgetXXbyYY.c -AM_CPPFLAGS = -I$(top_srcdir)/lib $(ECONF_CPPFLAGS) +AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) $(ECONF_CPPFLAGS) noinst_LTLIBRARIES = libmisc.la @@ -19,6 +19,7 @@ libmisc_la_SOURCES = \ cleanup_user.c \ console.c \ copydir.c \ + date_to_str.c \ entry.c \ env.c \ failure.c \ diff --git a/libmisc/Makefile.in b/libmisc/Makefile.in index e957ddee..71c68707 100644 --- a/libmisc/Makefile.in +++ b/libmisc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,22 +110,23 @@ LTLIBRARIES = $(noinst_LTLIBRARIES) libmisc_la_LIBADD = am__libmisc_la_SOURCES_DIST = addgrps.c age.c audit_help.c basename.c \ chkname.c chkname.h chowndir.c chowntty.c cleanup.c \ - cleanup_group.c cleanup_user.c console.c copydir.c entry.c \ - env.c failure.c failure.h find_new_gid.c find_new_uid.c \ - find_new_sub_gids.c find_new_sub_uids.c getdate.h getdate.y \ - getgr_nam_gid.c getrange.c gettime.c hushed.c idmapping.h \ - idmapping.c isexpired.c limits.c list.c log.c loginprompt.c \ - mail.c motd.c myname.c obscure.c pam_pass.c \ - pam_pass_non_interactive.c prefix_flag.c pwd2spwd.c pwdcheck.c \ - pwd_init.c remove_tree.c rlogin.c root_flag.c salt.c setugid.c \ - setupenv.c shell.c strtoday.c sub.c sulog.c ttytype.c tz.c \ - ulimit.c user_busy.c utmp.c valid.c xgetpwnam.c xgetpwuid.c \ - xgetgrnam.c xgetgrgid.c xgetspnam.c xmalloc.c yesno.c btrfs.c + cleanup_group.c cleanup_user.c console.c copydir.c \ + date_to_str.c entry.c env.c failure.c failure.h find_new_gid.c \ + find_new_uid.c find_new_sub_gids.c find_new_sub_uids.c \ + getdate.h getdate.y getgr_nam_gid.c getrange.c gettime.c \ + hushed.c idmapping.h idmapping.c isexpired.c limits.c list.c \ + log.c loginprompt.c mail.c motd.c myname.c obscure.c \ + pam_pass.c pam_pass_non_interactive.c prefix_flag.c pwd2spwd.c \ + pwdcheck.c pwd_init.c remove_tree.c rlogin.c root_flag.c \ + salt.c setugid.c setupenv.c shell.c strtoday.c sub.c sulog.c \ + ttytype.c tz.c ulimit.c user_busy.c utmp.c valid.c xgetpwnam.c \ + xgetpwuid.c xgetgrnam.c xgetgrgid.c xgetspnam.c xmalloc.c \ + yesno.c btrfs.c @WITH_BTRFS_TRUE@am__objects_1 = btrfs.lo am_libmisc_la_OBJECTS = addgrps.lo age.lo audit_help.lo basename.lo \ chkname.lo chowndir.lo chowntty.lo cleanup.lo cleanup_group.lo \ - cleanup_user.lo console.lo copydir.lo entry.lo env.lo \ - failure.lo find_new_gid.lo find_new_uid.lo \ + cleanup_user.lo console.lo copydir.lo date_to_str.lo entry.lo \ + env.lo failure.lo find_new_gid.lo find_new_uid.lo \ find_new_sub_gids.lo find_new_sub_uids.lo getdate.lo \ getgr_nam_gid.lo getrange.lo gettime.lo hushed.lo idmapping.lo \ isexpired.lo limits.lo list.lo log.lo loginprompt.lo mail.lo \ @@ -155,7 +156,41 @@ am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/addgrps.Plo ./$(DEPDIR)/age.Plo \ + ./$(DEPDIR)/audit_help.Plo ./$(DEPDIR)/basename.Plo \ + ./$(DEPDIR)/btrfs.Plo ./$(DEPDIR)/chkname.Plo \ + ./$(DEPDIR)/chowndir.Plo ./$(DEPDIR)/chowntty.Plo \ + ./$(DEPDIR)/cleanup.Plo ./$(DEPDIR)/cleanup_group.Plo \ + ./$(DEPDIR)/cleanup_user.Plo ./$(DEPDIR)/console.Plo \ + ./$(DEPDIR)/copydir.Plo ./$(DEPDIR)/date_to_str.Plo \ + ./$(DEPDIR)/entry.Plo ./$(DEPDIR)/env.Plo \ + ./$(DEPDIR)/failure.Plo ./$(DEPDIR)/find_new_gid.Plo \ + ./$(DEPDIR)/find_new_sub_gids.Plo \ + ./$(DEPDIR)/find_new_sub_uids.Plo ./$(DEPDIR)/find_new_uid.Plo \ + ./$(DEPDIR)/getdate.Plo ./$(DEPDIR)/getgr_nam_gid.Plo \ + ./$(DEPDIR)/getrange.Plo ./$(DEPDIR)/gettime.Plo \ + ./$(DEPDIR)/hushed.Plo ./$(DEPDIR)/idmapping.Plo \ + ./$(DEPDIR)/isexpired.Plo ./$(DEPDIR)/limits.Plo \ + ./$(DEPDIR)/list.Plo ./$(DEPDIR)/log.Plo \ + ./$(DEPDIR)/loginprompt.Plo ./$(DEPDIR)/mail.Plo \ + ./$(DEPDIR)/motd.Plo ./$(DEPDIR)/myname.Plo \ + ./$(DEPDIR)/obscure.Plo ./$(DEPDIR)/pam_pass.Plo \ + ./$(DEPDIR)/pam_pass_non_interactive.Plo \ + ./$(DEPDIR)/prefix_flag.Plo ./$(DEPDIR)/pwd2spwd.Plo \ + ./$(DEPDIR)/pwd_init.Plo ./$(DEPDIR)/pwdcheck.Plo \ + ./$(DEPDIR)/remove_tree.Plo ./$(DEPDIR)/rlogin.Plo \ + ./$(DEPDIR)/root_flag.Plo ./$(DEPDIR)/salt.Plo \ + ./$(DEPDIR)/setugid.Plo ./$(DEPDIR)/setupenv.Plo \ + ./$(DEPDIR)/shell.Plo ./$(DEPDIR)/strtoday.Plo \ + ./$(DEPDIR)/sub.Plo ./$(DEPDIR)/sulog.Plo \ + ./$(DEPDIR)/ttytype.Plo ./$(DEPDIR)/tz.Plo \ + ./$(DEPDIR)/ulimit.Plo ./$(DEPDIR)/user_busy.Plo \ + ./$(DEPDIR)/utmp.Plo ./$(DEPDIR)/valid.Plo \ + ./$(DEPDIR)/xgetgrgid.Plo ./$(DEPDIR)/xgetgrnam.Plo \ + ./$(DEPDIR)/xgetpwnam.Plo ./$(DEPDIR)/xgetpwuid.Plo \ + ./$(DEPDIR)/xgetspnam.Plo ./$(DEPDIR)/xmalloc.Plo \ + ./$(DEPDIR)/yesno.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -374,21 +409,22 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = .indent.pro xgetXXbyYY.c -AM_CPPFLAGS = -I$(top_srcdir)/lib $(ECONF_CPPFLAGS) +AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) $(ECONF_CPPFLAGS) noinst_LTLIBRARIES = libmisc.la libmisc_la_SOURCES = addgrps.c age.c audit_help.c basename.c chkname.c \ chkname.h chowndir.c chowntty.c cleanup.c cleanup_group.c \ - cleanup_user.c console.c copydir.c entry.c env.c failure.c \ - failure.h find_new_gid.c find_new_uid.c find_new_sub_gids.c \ - find_new_sub_uids.c getdate.h getdate.y getgr_nam_gid.c \ - getrange.c gettime.c hushed.c idmapping.h idmapping.c \ - isexpired.c limits.c list.c log.c loginprompt.c mail.c motd.c \ - myname.c obscure.c pam_pass.c pam_pass_non_interactive.c \ - prefix_flag.c pwd2spwd.c pwdcheck.c pwd_init.c remove_tree.c \ - rlogin.c root_flag.c salt.c setugid.c setupenv.c shell.c \ - strtoday.c sub.c sulog.c ttytype.c tz.c ulimit.c user_busy.c \ - utmp.c valid.c xgetpwnam.c xgetpwuid.c xgetgrnam.c xgetgrgid.c \ - xgetspnam.c xmalloc.c yesno.c $(am__append_1) + cleanup_user.c console.c copydir.c date_to_str.c entry.c env.c \ + failure.c failure.h find_new_gid.c find_new_uid.c \ + find_new_sub_gids.c find_new_sub_uids.c getdate.h getdate.y \ + getgr_nam_gid.c getrange.c gettime.c hushed.c idmapping.h \ + idmapping.c isexpired.c limits.c list.c log.c loginprompt.c \ + mail.c motd.c myname.c obscure.c pam_pass.c \ + pam_pass_non_interactive.c prefix_flag.c pwd2spwd.c pwdcheck.c \ + pwd_init.c remove_tree.c rlogin.c root_flag.c salt.c setugid.c \ + setupenv.c shell.c strtoday.c sub.c sulog.c ttytype.c tz.c \ + ulimit.c user_busy.c utmp.c valid.c xgetpwnam.c xgetpwuid.c \ + xgetgrnam.c xgetgrgid.c xgetspnam.c xmalloc.c yesno.c \ + $(am__append_1) all: all-am .SUFFIXES: @@ -410,8 +446,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -443,70 +479,77 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/addgrps.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/age.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audit_help.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/btrfs.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chkname.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chowndir.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chowntty.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cleanup.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cleanup_group.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cleanup_user.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/console.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copydir.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entry.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/env.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/failure.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_gid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_sub_gids.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_sub_uids.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_uid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdate.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getgr_nam_gid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrange.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettime.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hushed.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idmapping.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/isexpired.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/limits.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/loginprompt.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mail.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/motd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myname.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/obscure.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pam_pass.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pam_pass_non_interactive.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefix_flag.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwd2spwd.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwd_init.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwdcheck.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remove_tree.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rlogin.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/root_flag.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/salt.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setugid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setupenv.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shell.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoday.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sub.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sulog.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ttytype.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tz.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ulimit.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/user_busy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utmp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetgrgid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetgrnam.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetpwnam.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetpwuid.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetspnam.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yesno.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/addgrps.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/age.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audit_help.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/btrfs.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chkname.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chowndir.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chowntty.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cleanup.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cleanup_group.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cleanup_user.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/console.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copydir.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/date_to_str.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entry.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/env.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/failure.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_gid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_sub_gids.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_sub_uids.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find_new_uid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdate.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getgr_nam_gid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrange.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettime.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hushed.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idmapping.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/isexpired.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/limits.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/loginprompt.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mail.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/motd.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myname.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/obscure.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pam_pass.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pam_pass_non_interactive.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefix_flag.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwd2spwd.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwd_init.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwdcheck.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remove_tree.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rlogin.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/root_flag.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/salt.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setugid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setupenv.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shell.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoday.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sub.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sulog.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ttytype.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tz.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ulimit.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/user_busy.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utmp.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetgrgid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetgrnam.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetpwnam.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetpwuid.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xgetspnam.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yesno.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -590,7 +633,10 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ @@ -661,7 +707,71 @@ clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -f ./$(DEPDIR)/addgrps.Plo + -rm -f ./$(DEPDIR)/age.Plo + -rm -f ./$(DEPDIR)/audit_help.Plo + -rm -f ./$(DEPDIR)/basename.Plo + -rm -f ./$(DEPDIR)/btrfs.Plo + -rm -f ./$(DEPDIR)/chkname.Plo + -rm -f ./$(DEPDIR)/chowndir.Plo + -rm -f ./$(DEPDIR)/chowntty.Plo + -rm -f ./$(DEPDIR)/cleanup.Plo + -rm -f ./$(DEPDIR)/cleanup_group.Plo + -rm -f ./$(DEPDIR)/cleanup_user.Plo + -rm -f ./$(DEPDIR)/console.Plo + -rm -f ./$(DEPDIR)/copydir.Plo + -rm -f ./$(DEPDIR)/date_to_str.Plo + -rm -f ./$(DEPDIR)/entry.Plo + -rm -f ./$(DEPDIR)/env.Plo + -rm -f ./$(DEPDIR)/failure.Plo + -rm -f ./$(DEPDIR)/find_new_gid.Plo + -rm -f ./$(DEPDIR)/find_new_sub_gids.Plo + -rm -f ./$(DEPDIR)/find_new_sub_uids.Plo + -rm -f ./$(DEPDIR)/find_new_uid.Plo + -rm -f ./$(DEPDIR)/getdate.Plo + -rm -f ./$(DEPDIR)/getgr_nam_gid.Plo + -rm -f ./$(DEPDIR)/getrange.Plo + -rm -f ./$(DEPDIR)/gettime.Plo + -rm -f ./$(DEPDIR)/hushed.Plo + -rm -f ./$(DEPDIR)/idmapping.Plo + -rm -f ./$(DEPDIR)/isexpired.Plo + -rm -f ./$(DEPDIR)/limits.Plo + -rm -f ./$(DEPDIR)/list.Plo + -rm -f ./$(DEPDIR)/log.Plo + -rm -f ./$(DEPDIR)/loginprompt.Plo + -rm -f ./$(DEPDIR)/mail.Plo + -rm -f ./$(DEPDIR)/motd.Plo + -rm -f ./$(DEPDIR)/myname.Plo + -rm -f ./$(DEPDIR)/obscure.Plo + -rm -f ./$(DEPDIR)/pam_pass.Plo + -rm -f ./$(DEPDIR)/pam_pass_non_interactive.Plo + -rm -f ./$(DEPDIR)/prefix_flag.Plo + -rm -f ./$(DEPDIR)/pwd2spwd.Plo + -rm -f ./$(DEPDIR)/pwd_init.Plo + -rm -f ./$(DEPDIR)/pwdcheck.Plo + -rm -f ./$(DEPDIR)/remove_tree.Plo + -rm -f ./$(DEPDIR)/rlogin.Plo + -rm -f ./$(DEPDIR)/root_flag.Plo + -rm -f ./$(DEPDIR)/salt.Plo + -rm -f ./$(DEPDIR)/setugid.Plo + -rm -f ./$(DEPDIR)/setupenv.Plo + -rm -f ./$(DEPDIR)/shell.Plo + -rm -f ./$(DEPDIR)/strtoday.Plo + -rm -f ./$(DEPDIR)/sub.Plo + -rm -f ./$(DEPDIR)/sulog.Plo + -rm -f ./$(DEPDIR)/ttytype.Plo + -rm -f ./$(DEPDIR)/tz.Plo + -rm -f ./$(DEPDIR)/ulimit.Plo + -rm -f ./$(DEPDIR)/user_busy.Plo + -rm -f ./$(DEPDIR)/utmp.Plo + -rm -f ./$(DEPDIR)/valid.Plo + -rm -f ./$(DEPDIR)/xgetgrgid.Plo + -rm -f ./$(DEPDIR)/xgetgrnam.Plo + -rm -f ./$(DEPDIR)/xgetpwnam.Plo + -rm -f ./$(DEPDIR)/xgetpwuid.Plo + -rm -f ./$(DEPDIR)/xgetspnam.Plo + -rm -f ./$(DEPDIR)/xmalloc.Plo + -rm -f ./$(DEPDIR)/yesno.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -707,7 +817,71 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -f ./$(DEPDIR)/addgrps.Plo + -rm -f ./$(DEPDIR)/age.Plo + -rm -f ./$(DEPDIR)/audit_help.Plo + -rm -f ./$(DEPDIR)/basename.Plo + -rm -f ./$(DEPDIR)/btrfs.Plo + -rm -f ./$(DEPDIR)/chkname.Plo + -rm -f ./$(DEPDIR)/chowndir.Plo + -rm -f ./$(DEPDIR)/chowntty.Plo + -rm -f ./$(DEPDIR)/cleanup.Plo + -rm -f ./$(DEPDIR)/cleanup_group.Plo + -rm -f ./$(DEPDIR)/cleanup_user.Plo + -rm -f ./$(DEPDIR)/console.Plo + -rm -f ./$(DEPDIR)/copydir.Plo + -rm -f ./$(DEPDIR)/date_to_str.Plo + -rm -f ./$(DEPDIR)/entry.Plo + -rm -f ./$(DEPDIR)/env.Plo + -rm -f ./$(DEPDIR)/failure.Plo + -rm -f ./$(DEPDIR)/find_new_gid.Plo + -rm -f ./$(DEPDIR)/find_new_sub_gids.Plo + -rm -f ./$(DEPDIR)/find_new_sub_uids.Plo + -rm -f ./$(DEPDIR)/find_new_uid.Plo + -rm -f ./$(DEPDIR)/getdate.Plo + -rm -f ./$(DEPDIR)/getgr_nam_gid.Plo + -rm -f ./$(DEPDIR)/getrange.Plo + -rm -f ./$(DEPDIR)/gettime.Plo + -rm -f ./$(DEPDIR)/hushed.Plo + -rm -f ./$(DEPDIR)/idmapping.Plo + -rm -f ./$(DEPDIR)/isexpired.Plo + -rm -f ./$(DEPDIR)/limits.Plo + -rm -f ./$(DEPDIR)/list.Plo + -rm -f ./$(DEPDIR)/log.Plo + -rm -f ./$(DEPDIR)/loginprompt.Plo + -rm -f ./$(DEPDIR)/mail.Plo + -rm -f ./$(DEPDIR)/motd.Plo + -rm -f ./$(DEPDIR)/myname.Plo + -rm -f ./$(DEPDIR)/obscure.Plo + -rm -f ./$(DEPDIR)/pam_pass.Plo + -rm -f ./$(DEPDIR)/pam_pass_non_interactive.Plo + -rm -f ./$(DEPDIR)/prefix_flag.Plo + -rm -f ./$(DEPDIR)/pwd2spwd.Plo + -rm -f ./$(DEPDIR)/pwd_init.Plo + -rm -f ./$(DEPDIR)/pwdcheck.Plo + -rm -f ./$(DEPDIR)/remove_tree.Plo + -rm -f ./$(DEPDIR)/rlogin.Plo + -rm -f ./$(DEPDIR)/root_flag.Plo + -rm -f ./$(DEPDIR)/salt.Plo + -rm -f ./$(DEPDIR)/setugid.Plo + -rm -f ./$(DEPDIR)/setupenv.Plo + -rm -f ./$(DEPDIR)/shell.Plo + -rm -f ./$(DEPDIR)/strtoday.Plo + -rm -f ./$(DEPDIR)/sub.Plo + -rm -f ./$(DEPDIR)/sulog.Plo + -rm -f ./$(DEPDIR)/ttytype.Plo + -rm -f ./$(DEPDIR)/tz.Plo + -rm -f ./$(DEPDIR)/ulimit.Plo + -rm -f ./$(DEPDIR)/user_busy.Plo + -rm -f ./$(DEPDIR)/utmp.Plo + -rm -f ./$(DEPDIR)/valid.Plo + -rm -f ./$(DEPDIR)/xgetgrgid.Plo + -rm -f ./$(DEPDIR)/xgetgrnam.Plo + -rm -f ./$(DEPDIR)/xgetpwnam.Plo + -rm -f ./$(DEPDIR)/xgetpwuid.Plo + -rm -f ./$(DEPDIR)/xgetspnam.Plo + -rm -f ./$(DEPDIR)/xmalloc.Plo + -rm -f ./$(DEPDIR)/yesno.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -728,16 +902,16 @@ uninstall-am: .MAKE: install-am install-strip -.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ - ctags-am distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libtool clean-noinstLTLIBRARIES \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am diff --git a/libmisc/addgrps.c b/libmisc/addgrps.c index 76c172a5..845d383b 100644 --- a/libmisc/addgrps.c +++ b/libmisc/addgrps.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -40,6 +17,7 @@ #include #include #include +#include "shadowlog.h" #ident "$Id$" @@ -58,6 +36,7 @@ int add_groups (const char *list) char *token; char buf[1024]; int ret; + FILE *shadow_logfd = log_get_logfd(); if (strlen (list) >= sizeof (buf)) { errno = EINVAL; diff --git a/libmisc/age.c b/libmisc/age.c index 12e6036e..d10f71b9 100644 --- a/libmisc/age.c +++ b/libmisc/age.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/audit_help.c b/libmisc/audit_help.c index b4e5f10e..e6c2006b 100644 --- a/libmisc/audit_help.c +++ b/libmisc/audit_help.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 2005 , Red Hat, Inc. - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2005 , Red Hat, Inc. + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* @@ -45,6 +22,7 @@ #include #include #include "prototypes.h" +#include "shadowlog.h" int audit_fd; void audit_help_open (void) @@ -59,7 +37,7 @@ void audit_help_open (void) return; } (void) fputs (_("Cannot open audit interface - aborting.\n"), - shadow_logfd); + log_get_logfd()); exit (EXIT_FAILURE); } } @@ -68,7 +46,7 @@ void audit_help_open (void) * This function will log a message to the audit system using a predefined * message format. Parameter usage is as follows: * - * type - type of message: AUDIT_USER_CHAUTHTOK for changing any account + * type - type of message: AUDIT_USER_CHAUTHTOK for changing any account * attributes. * pgname - program's name * op - operation. "adding user", "changing finger info", "deleting group" diff --git a/libmisc/basename.c b/libmisc/basename.c index 1525169c..fe916532 100644 --- a/libmisc/basename.c +++ b/libmisc/basename.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/chkname.c b/libmisc/chkname.c index bdd1e72a..cb002a14 100644 --- a/libmisc/chkname.c +++ b/libmisc/chkname.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2005 - 2008, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2005 - 2008, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/chkname.h b/libmisc/chkname.h index 06e0dee8..07713473 100644 --- a/libmisc/chkname.h +++ b/libmisc/chkname.h @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1997 - 2000, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1997 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/libmisc/chowndir.c b/libmisc/chowndir.c index c4c504a5..3a62d545 100644 --- a/libmisc/chowndir.c +++ b/libmisc/chowndir.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1992 - 1993, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2010 - , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1992 - 1993, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2010 - , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/chowntty.c b/libmisc/chowntty.c index a42ab622..8043d8ca 100644 --- a/libmisc/chowntty.c +++ b/libmisc/chowntty.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2001, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2001, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -43,6 +20,7 @@ #include "defines.h" #include #include "getdef.h" +#include "shadowlog.h" /* * chown_tty() sets the login tty to be owned by the new user ID @@ -75,6 +53,7 @@ void chown_tty (const struct passwd *info) if ( (fchown (STDIN_FILENO, info->pw_uid, gid) != 0) || (fchmod (STDIN_FILENO, (mode_t)getdef_num ("TTYPERM", 0600)) != 0)) { int err = errno; + FILE *shadow_logfd = log_get_logfd(); fprintf (shadow_logfd, _("Unable to change owner or mode of tty stdin: %s"), diff --git a/libmisc/cleanup.c b/libmisc/cleanup.c index bd83a230..c16f1bcd 100644 --- a/libmisc/cleanup.c +++ b/libmisc/cleanup.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2008 - 2011, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2008 - 2011, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/cleanup_group.c b/libmisc/cleanup_group.c index a1233eac..df3ebfdb 100644 --- a/libmisc/cleanup_group.c +++ b/libmisc/cleanup_group.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -36,6 +13,7 @@ #include "groupio.h" #include "sgroupio.h" #include "prototypes.h" +#include "shadowlog.h" /* * cleanup_report_add_group - Report failure to add a group to the system @@ -48,7 +26,7 @@ void cleanup_report_add_group (void *group_name) SYSLOG ((LOG_ERR, "failed to add group %s", name)); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_GROUP, Prog, + audit_logger (AUDIT_ADD_GROUP, log_get_progname(), "", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -66,7 +44,7 @@ void cleanup_report_del_group (void *group_name) SYSLOG ((LOG_ERR, "failed to remove group %s", name)); #ifdef WITH_AUDIT - audit_logger (AUDIT_DEL_GROUP, Prog, + audit_logger (AUDIT_DEL_GROUP, log_get_progname(), "", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -83,7 +61,7 @@ void cleanup_report_mod_group (void *cleanup_info) gr_dbname (), info->action)); #ifdef WITH_AUDIT - audit_logger (AUDIT_USER_ACCT, Prog, + audit_logger (AUDIT_USER_ACCT, log_get_progname(), info->audit_msg, info->name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -101,7 +79,7 @@ void cleanup_report_mod_gshadow (void *cleanup_info) sgr_dbname (), info->action)); #ifdef WITH_AUDIT - audit_logger (AUDIT_USER_ACCT, Prog, + audit_logger (AUDIT_USER_ACCT, log_get_progname(), info->audit_msg, info->name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -121,7 +99,7 @@ void cleanup_report_add_group_group (void *group_name) SYSLOG ((LOG_ERR, "failed to add group %s to %s", name, gr_dbname ())); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_GROUP, Prog, + audit_logger (AUDIT_ADD_GROUP, log_get_progname(), "adding group to /etc/group", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -141,7 +119,7 @@ void cleanup_report_add_group_gshadow (void *group_name) SYSLOG ((LOG_ERR, "failed to add group %s to %s", name, sgr_dbname ())); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_GROUP, Prog, + audit_logger (AUDIT_ADD_GROUP, log_get_progname(), "adding group to /etc/gshadow", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -164,7 +142,7 @@ void cleanup_report_del_group_group (void *group_name) "failed to remove group %s from %s", name, gr_dbname ())); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_GROUP, Prog, + audit_logger (AUDIT_ADD_GROUP, log_get_progname(), "removing group from /etc/group", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -187,7 +165,7 @@ void cleanup_report_del_group_gshadow (void *group_name) "failed to remove group %s from %s", name, sgr_dbname ())); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_GROUP, Prog, + audit_logger (AUDIT_ADD_GROUP, log_get_progname(), "removing group from /etc/gshadow", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -203,9 +181,9 @@ void cleanup_report_del_group_gshadow (void *group_name) void cleanup_unlock_group (unused void *arg) { if (gr_unlock () == 0) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: failed to unlock %s\n"), - Prog, gr_dbname ()); + log_get_progname(), gr_dbname ()); SYSLOG ((LOG_ERR, "failed to unlock %s", gr_dbname ())); #ifdef WITH_AUDIT audit_logger_message ("unlocking group file", @@ -223,9 +201,9 @@ void cleanup_unlock_group (unused void *arg) void cleanup_unlock_gshadow (unused void *arg) { if (sgr_unlock () == 0) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: failed to unlock %s\n"), - Prog, sgr_dbname ()); + log_get_progname(), sgr_dbname ()); SYSLOG ((LOG_ERR, "failed to unlock %s", sgr_dbname ())); #ifdef WITH_AUDIT audit_logger_message ("unlocking gshadow file", diff --git a/libmisc/cleanup_user.c b/libmisc/cleanup_user.c index 7422846a..26675c65 100644 --- a/libmisc/cleanup_user.c +++ b/libmisc/cleanup_user.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -36,6 +13,7 @@ #include "pwio.h" #include "shadowio.h" #include "prototypes.h" +#include "shadowlog.h" /* * cleanup_report_add_user - Report failure to add an user to the system @@ -48,7 +26,7 @@ void cleanup_report_add_user (void *user_name) SYSLOG ((LOG_ERR, "failed to add user %s", name)); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_USER, Prog, + audit_logger (AUDIT_ADD_USER, log_get_progname(), "", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -65,7 +43,7 @@ void cleanup_report_mod_passwd (void *cleanup_info) pw_dbname (), info->action)); #ifdef WITH_AUDIT - audit_logger (AUDIT_USER_ACCT, Prog, + audit_logger (AUDIT_USER_ACCT, log_get_progname(), info->audit_msg, info->name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -85,7 +63,7 @@ void cleanup_report_add_user_passwd (void *user_name) SYSLOG ((LOG_ERR, "failed to add user %s to %s", name, pw_dbname ())); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_USER, Prog, + audit_logger (AUDIT_ADD_USER, log_get_progname(), "adding user to /etc/passwd", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -105,7 +83,7 @@ void cleanup_report_add_user_shadow (void *user_name) SYSLOG ((LOG_ERR, "failed to add user %s to %s", name, spw_dbname ())); #ifdef WITH_AUDIT - audit_logger (AUDIT_ADD_USER, Prog, + audit_logger (AUDIT_ADD_USER, log_get_progname(), "adding user to /etc/shadow", name, AUDIT_NO_ID, SHADOW_AUDIT_FAILURE); @@ -120,9 +98,9 @@ void cleanup_report_add_user_shadow (void *user_name) void cleanup_unlock_passwd (unused void *arg) { if (pw_unlock () == 0) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: failed to unlock %s\n"), - Prog, pw_dbname ()); + log_get_progname(), pw_dbname ()); SYSLOG ((LOG_ERR, "failed to unlock %s", pw_dbname ())); #ifdef WITH_AUDIT audit_logger_message ("unlocking passwd file", @@ -139,9 +117,9 @@ void cleanup_unlock_passwd (unused void *arg) void cleanup_unlock_shadow (unused void *arg) { if (spw_unlock () == 0) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: failed to unlock %s\n"), - Prog, spw_dbname ()); + log_get_progname(), spw_dbname ()); SYSLOG ((LOG_ERR, "failed to unlock %s", spw_dbname ())); #ifdef WITH_AUDIT audit_logger_message ("unlocking shadow file", diff --git a/libmisc/console.c b/libmisc/console.c index cb74c2f9..4720e3e1 100644 --- a/libmisc/console.c +++ b/libmisc/console.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1991 , Julianne Frances Haugh - * Copyright (c) 1991 , Chip Rosenthal - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 , Julianne Frances Haugh + * SPDX-FileCopyrightText: 1991 , Chip Rosenthal + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/copydir.c b/libmisc/copydir.c index 015e1b68..90ba2fcd 100644 --- a/libmisc/copydir.c +++ b/libmisc/copydir.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2001, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2001, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -55,6 +32,7 @@ #ifdef WITH_ATTR #include #endif /* WITH_ATTR */ +#include "shadowlog.h" static /*@null@*/const char *src_orig; @@ -116,8 +94,9 @@ static int fchown_if_needed (int fdst, const struct stat *statp, static void error_acl (struct error_context *ctx, const char *fmt, ...) { va_list ap; + FILE *shadow_logfd = log_get_logfd(); - /* ignore the case when destination does not support ACLs + /* ignore the case when destination does not support ACLs * or extended attributes */ if (ENOTSUP == errno) { errno = 0; @@ -125,7 +104,7 @@ static void error_acl (struct error_context *ctx, const char *fmt, ...) } va_start (ap, fmt); - (void) fprintf (shadow_logfd, _("%s: "), Prog); + (void) fprintf (shadow_logfd, _("%s: "), log_get_progname()); if (vfprintf (shadow_logfd, fmt, ap) != 0) { (void) fputs (_(": "), shadow_logfd); } @@ -248,9 +227,9 @@ int copy_tree (const char *src_root, const char *dst_root, } if (!S_ISDIR (sb.st_mode)) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), "%s: %s is not a directory", - Prog, src_root); + log_get_progname(), src_root); return -1; } @@ -739,7 +718,7 @@ static int copy_file (const char *src, const char *dst, char buf[1024]; ssize_t cnt; - ifd = open (src, O_RDONLY); + ifd = open (src, O_RDONLY|O_NOFOLLOW); if (ifd < 0) { return -1; } @@ -749,7 +728,7 @@ static int copy_file (const char *src, const char *dst, return -1; } #endif /* WITH_SELINUX */ - ofd = open (dst, O_WRONLY | O_CREAT | O_TRUNC, statp->st_mode & 07777); + ofd = open (dst, O_WRONLY | O_CREAT | O_TRUNC | O_NOFOLLOW, statp->st_mode & 07777); if ( (ofd < 0) || (fchown_if_needed (ofd, statp, old_uid, new_uid, old_gid, new_gid) != 0) diff --git a/libmisc/date_to_str.c b/libmisc/date_to_str.c new file mode 100644 index 00000000..07e99f1a --- /dev/null +++ b/libmisc/date_to_str.c @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2021, Alejandro Colomar + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the copyright holders or contributors may not be used to + * endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include + +#ident "$Id$" + +#include "prototypes.h" + +void date_to_str (size_t size, char buf[size], long date) +{ + time_t t; + + t = date; + if (date < 0) + (void) strncpy (buf, "never", size); + else + (void) strftime (buf, size, "%Y-%m-%d", gmtime (&t)); + buf[size - 1] = '\0'; +} diff --git a/libmisc/entry.c b/libmisc/entry.c index f195fdf6..87f57545 100644 --- a/libmisc/entry.c +++ b/libmisc/entry.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2008, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2008, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/env.c b/libmisc/env.c index 47a55584..4eba0a33 100644 --- a/libmisc/env.c +++ b/libmisc/env.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1992, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1992, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -40,6 +17,7 @@ #include #include "prototypes.h" #include "defines.h" +#include "shadowlog.h" /* * NEWENVP_STEP must be a power of two. This is the number * of (char *) pointers to allocate at a time, to avoid using @@ -171,7 +149,7 @@ void addenv (const char *string, /*@null@*/const char *value) } newenvp = __newenvp; } else { - (void) fputs (_("Environment overflow\n"), shadow_logfd); + (void) fputs (_("Environment overflow\n"), log_get_logfd()); newenvc--; free (newenvp[newenvc]); } diff --git a/libmisc/failure.c b/libmisc/failure.c index a1f3ec79..1aab299c 100644 --- a/libmisc/failure.c +++ b/libmisc/failure.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2002 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2002 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -232,13 +209,8 @@ int failcheck (uid_t uid, struct faillog *fl, bool failed) void failprint (const struct faillog *fail) { struct tm *tp; - -#if HAVE_STRFTIME char lasttimeb[256]; char *lasttime = lasttimeb; -#else - char *lasttime; -#endif time_t NOW; if (0 == fail->fail_cnt) { @@ -248,31 +220,11 @@ void failprint (const struct faillog *fail) tp = localtime (&(fail->fail_time)); (void) time (&NOW); -#if HAVE_STRFTIME /* * Print all information we have. */ (void) strftime (lasttimeb, sizeof lasttimeb, "%c", tp); -#else - /* - * Do the same thing, but don't use strftime since it - * probably doesn't exist on this system - */ - lasttime = asctime (tp); - lasttime[24] = '\0'; - - if ((NOW - fail->fail_time) < YEAR) { - lasttime[19] = '\0'; - } - if ((NOW - fail->fail_time) < DAY) { - lasttime = lasttime + 11; - } - - if (' ' == *lasttime) { - lasttime++; - } -#endif /*@-formatconst@*/ (void) printf (ngettext ("%d failure since last login.\n" "Last was %s on %s.\n", diff --git a/libmisc/failure.h b/libmisc/failure.h index 38a4d72f..2ac30d7f 100644 --- a/libmisc/failure.h +++ b/libmisc/failure.h @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1997 - 2000, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1997 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* $Id$ */ diff --git a/libmisc/find_new_gid.c b/libmisc/find_new_gid.c index d9a0b33f..1bddc12f 100644 --- a/libmisc/find_new_gid.c +++ b/libmisc/find_new_gid.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 2008 - 2011, Nicolas François - * Copyright (c) 2014, Red Hat, Inc. - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 2008 - 2011, Nicolas François + * SPDX-FileCopyrightText: 2014, Red Hat, Inc. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -38,6 +15,7 @@ #include "prototypes.h" #include "groupio.h" #include "getdef.h" +#include "shadowlog.h" /* * get_ranges - Get the minimum and maximum ID ranges for the search @@ -74,10 +52,10 @@ static int get_ranges (bool sys_group, gid_t *min_id, gid_t *max_id, /* Check that the ranges make sense */ if (*max_id < *min_id) { - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: Invalid configuration: SYS_GID_MIN (%lu), " "GID_MIN (%lu), SYS_GID_MAX (%lu)\n"), - Prog, (unsigned long) *min_id, + log_get_progname(), (unsigned long) *min_id, getdef_ulong ("GID_MIN", 1000UL), (unsigned long) *max_id); return EINVAL; @@ -97,10 +75,10 @@ static int get_ranges (bool sys_group, gid_t *min_id, gid_t *max_id, /* Check that the ranges make sense */ if (*max_id < *min_id) { - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: Invalid configuration: GID_MIN (%lu), " "GID_MAX (%lu)\n"), - Prog, (unsigned long) *min_id, + log_get_progname(), (unsigned long) *min_id, (unsigned long) *max_id); return EINVAL; } @@ -157,7 +135,7 @@ static int check_gid (const gid_t gid, * [GID_MIN:GID_MAX] range. * This ID should be higher than all the used GID, but if not possible, * the lowest unused ID in the range will be returned. - * + * * Return 0 on success, -1 if no unused GIDs are available. */ int find_new_gid (bool sys_group, @@ -213,10 +191,10 @@ int find_new_gid (bool sys_group, * more likely to want to stop and address the * issue. */ - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Encountered error attempting to use " "preferred GID: %s\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); return -1; } } @@ -243,9 +221,9 @@ int find_new_gid (bool sys_group, /* Create an array to hold all of the discovered GIDs */ used_gids = malloc (sizeof (bool) * (gid_max +1)); if (NULL == used_gids) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: failed to allocate memory: %s\n"), - Prog, strerror (errno)); + log_get_progname(), strerror (errno)); return -1; } memset (used_gids, false, sizeof (bool) * (gid_max + 1)); @@ -323,10 +301,10 @@ int find_new_gid (bool sys_group, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique system GID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG ((LOG_ERR, "Error checking available GIDs: %s", strerror (result))); @@ -366,10 +344,10 @@ int find_new_gid (bool sys_group, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique system GID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG ((LOG_ERR, "Error checking available GIDs: %s", strerror (result))); @@ -426,10 +404,10 @@ int find_new_gid (bool sys_group, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique GID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG ((LOG_ERR, "Error checking available GIDs: %s", strerror (result))); @@ -469,10 +447,10 @@ int find_new_gid (bool sys_group, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique GID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG ((LOG_ERR, "Error checking available GIDs: %s", strerror (result))); @@ -488,9 +466,9 @@ int find_new_gid (bool sys_group, } /* The code reached here and found no available IDs in the range */ - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique GID (no more available GIDs)\n"), - Prog); + log_get_progname()); SYSLOG ((LOG_WARN, "no more available GIDs on the system")); free (used_gids); return -1; diff --git a/libmisc/find_new_sub_gids.c b/libmisc/find_new_sub_gids.c index 6d33dec6..bbd4570b 100644 --- a/libmisc/find_new_sub_gids.c +++ b/libmisc/find_new_sub_gids.c @@ -1,29 +1,7 @@ /* - * Copyright (c) 2012 Eric Biederman + * SPDX-FileCopyrightText: 2012 Eric Biederman * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -37,13 +15,14 @@ #include "prototypes.h" #include "subordinateio.h" #include "getdef.h" +#include "shadowlog.h" /* * find_new_sub_gids - Find a new unused range of GIDs. * * If successful, find_new_sub_gids provides a range of unused * user IDs in the [SUB_GID_MIN:SUB_GID_MAX] range. - * + * * Return 0 on success, -1 if no unused GIDs are available. */ int find_new_sub_gids (gid_t *range_start, unsigned long *range_count) @@ -60,18 +39,18 @@ int find_new_sub_gids (gid_t *range_start, unsigned long *range_count) count = getdef_ulong ("SUB_GID_COUNT", 65536); if (min > max || count >= max || (min + count - 1) > max) { - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: Invalid configuration: SUB_GID_MIN (%lu)," " SUB_GID_MAX (%lu), SUB_GID_COUNT (%lu)\n"), - Prog, min, max, count); + log_get_progname(), min, max, count); return -1; } start = sub_gid_find_free_range(min, max, count); if (start == (gid_t)-1) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique subordinate GID range\n"), - Prog); + log_get_progname()); SYSLOG ((LOG_WARN, "no more available subordinate GIDs on the system")); return -1; } diff --git a/libmisc/find_new_sub_uids.c b/libmisc/find_new_sub_uids.c index be3a0df8..a86b311a 100644 --- a/libmisc/find_new_sub_uids.c +++ b/libmisc/find_new_sub_uids.c @@ -1,29 +1,7 @@ /* - * Copyright (c) 2012 Eric Biederman + * SPDX-FileCopyrightText: 2012 Eric Biederman * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -37,13 +15,14 @@ #include "prototypes.h" #include "subordinateio.h" #include "getdef.h" +#include "shadowlog.h" /* * find_new_sub_uids - Find a new unused range of UIDs. * * If successful, find_new_sub_uids provides a range of unused * user IDs in the [SUB_UID_MIN:SUB_UID_MAX] range. - * + * * Return 0 on success, -1 if no unused UIDs are available. */ int find_new_sub_uids (uid_t *range_start, unsigned long *range_count) @@ -60,18 +39,18 @@ int find_new_sub_uids (uid_t *range_start, unsigned long *range_count) count = getdef_ulong ("SUB_UID_COUNT", 65536); if (min > max || count >= max || (min + count - 1) > max) { - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: Invalid configuration: SUB_UID_MIN (%lu)," " SUB_UID_MAX (%lu), SUB_UID_COUNT (%lu)\n"), - Prog, min, max, count); + log_get_progname(), min, max, count); return -1; } start = sub_uid_find_free_range(min, max, count); if (start == (uid_t)-1) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique subordinate UID range\n"), - Prog); + log_get_progname()); SYSLOG ((LOG_WARN, "no more available subordinate UIDs on the system")); return -1; } diff --git a/libmisc/find_new_uid.c b/libmisc/find_new_uid.c index 30dc2ed6..41b6c1d1 100644 --- a/libmisc/find_new_uid.c +++ b/libmisc/find_new_uid.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 2008 - 2011, Nicolas François - * Copyright (c) 2014, Red Hat, Inc. - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 2008 - 2011, Nicolas François + * SPDX-FileCopyrightText: 2014, Red Hat, Inc. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -38,6 +15,7 @@ #include "prototypes.h" #include "pwio.h" #include "getdef.h" +#include "shadowlog.h" /* * get_ranges - Get the minimum and maximum ID ranges for the search @@ -74,10 +52,10 @@ static int get_ranges (bool sys_user, uid_t *min_id, uid_t *max_id, /* Check that the ranges make sense */ if (*max_id < *min_id) { - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: Invalid configuration: SYS_UID_MIN (%lu), " "UID_MIN (%lu), SYS_UID_MAX (%lu)\n"), - Prog, (unsigned long) *min_id, + log_get_progname(), (unsigned long) *min_id, getdef_ulong ("UID_MIN", 1000UL), (unsigned long) *max_id); return EINVAL; @@ -97,10 +75,10 @@ static int get_ranges (bool sys_user, uid_t *min_id, uid_t *max_id, /* Check that the ranges make sense */ if (*max_id < *min_id) { - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: Invalid configuration: UID_MIN (%lu), " "UID_MAX (%lu)\n"), - Prog, (unsigned long) *min_id, + log_get_progname(), (unsigned long) *min_id, (unsigned long) *max_id); return EINVAL; } @@ -157,7 +135,7 @@ static int check_uid(const uid_t uid, * [UID_MIN:UID_MAX] range. * This ID should be higher than all the used UID, but if not possible, * the lowest unused ID in the range will be returned. - * + * * Return 0 on success, -1 if no unused UIDs are available. */ int find_new_uid(bool sys_user, @@ -213,10 +191,10 @@ int find_new_uid(bool sys_user, * more likely to want to stop and address the * issue. */ - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Encountered error attempting to use " "preferred UID: %s\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); return -1; } } @@ -243,9 +221,9 @@ int find_new_uid(bool sys_user, /* Create an array to hold all of the discovered UIDs */ used_uids = malloc (sizeof (bool) * (uid_max +1)); if (NULL == used_uids) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: failed to allocate memory: %s\n"), - Prog, strerror (errno)); + log_get_progname(), strerror (errno)); return -1; } memset (used_uids, false, sizeof (bool) * (uid_max + 1)); @@ -323,10 +301,10 @@ int find_new_uid(bool sys_user, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique system UID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG ((LOG_ERR, "Error checking available UIDs: %s", strerror (result))); @@ -366,10 +344,10 @@ int find_new_uid(bool sys_user, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique system UID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG((LOG_ERR, "Error checking available UIDs: %s", strerror (result))); @@ -426,10 +404,10 @@ int find_new_uid(bool sys_user, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique UID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG ((LOG_ERR, "Error checking available UIDs: %s", strerror (result))); @@ -469,10 +447,10 @@ int find_new_uid(bool sys_user, * */ if (!nospam) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique UID (%s). " "Suppressing additional messages.\n"), - Prog, strerror (result)); + log_get_progname(), strerror (result)); SYSLOG ((LOG_ERR, "Error checking available UIDs: %s", strerror (result))); @@ -488,9 +466,9 @@ int find_new_uid(bool sys_user, } /* The code reached here and found no available IDs in the range */ - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: Can't get unique UID (no more available UIDs)\n"), - Prog); + log_get_progname()); SYSLOG ((LOG_WARN, "no more available UIDs on the system")); free (used_uids); return -1; diff --git a/libmisc/getdate.c b/libmisc/getdate.c index 390f9efd..af6424e7 100644 --- a/libmisc/getdate.c +++ b/libmisc/getdate.c @@ -1,8 +1,9 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ +/* A Bison parser, made by GNU Bison 3.5.1. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, + Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -40,11 +41,14 @@ define necessary library symbols; they are noted "INFRINGES ON USER NAME SPACE" below. */ +/* Undocumented macros, especially those whose name start with YY_, + are private implementation details. Do not rely on them. */ + /* Identify Bison output. */ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.4" +#define YYBISON_VERSION "3.5.1" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -61,8 +65,8 @@ -/* Copy the first part of user declarations. */ -#line 1 "getdate.y" /* yacc.c:339 */ +/* First part of user prologue. */ +#line 1 "getdate.y" /* ** Originally written by Steven M. Bellovin while @@ -126,7 +130,7 @@ /* Some old versions of bison generate parsers that use bcopy. That loses on systems that don't provide the function, so we have to redefine it here. */ -#if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy) +#if !defined (HAVE_BCOPY) && !defined (bcopy) # define bcopy(from, to, len) memcpy ((to), (from), (len)) #endif @@ -233,13 +237,26 @@ static int yyRelSeconds; static int yyRelYear; -#line 237 "getdate.c" /* yacc.c:339 */ +#line 241 "getdate.c" -# ifndef YY_NULLPTR -# if defined __cplusplus && 201103L <= __cplusplus -# define YY_NULLPTR nullptr +# ifndef YY_CAST +# ifdef __cplusplus +# define YY_CAST(Type, Val) static_cast (Val) +# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast (Val) # else -# define YY_NULLPTR 0 +# define YY_CAST(Type, Val) ((Type) (Val)) +# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) +# endif +# endif +# ifndef YY_NULLPTR +# if defined __cplusplus +# if 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif +# else +# define YY_NULLPTR ((void*)0) # endif # endif @@ -303,17 +320,16 @@ extern int yydebug; /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED - union YYSTYPE { -#line 172 "getdate.y" /* yacc.c:355 */ +#line 172 "getdate.y" int Number; enum _MERIDIAN Meridian; -#line 315 "getdate.c" /* yacc.c:355 */ -}; +#line 331 "getdate.c" +}; typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 @@ -326,36 +342,81 @@ int yyparse (void); -/* Copy the second part of user declarations. */ -#line 332 "getdate.c" /* yacc.c:358 */ #ifdef short # undef short #endif -#ifdef YYTYPE_UINT8 -typedef YYTYPE_UINT8 yytype_uint8; -#else -typedef unsigned char yytype_uint8; +/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure + and (if available) are included + so that the code can choose integer types of a good width. */ + +#ifndef __PTRDIFF_MAX__ +# include /* INFRINGES ON USER NAME SPACE */ +# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_STDINT_H +# endif #endif -#ifdef YYTYPE_INT8 -typedef YYTYPE_INT8 yytype_int8; +/* Narrow types that promote to a signed type and that can represent a + signed or unsigned integer of at least N bits. In tables they can + save space and decrease cache pressure. Promoting to a signed type + helps avoid bugs in integer arithmetic. */ + +#ifdef __INT_LEAST8_MAX__ +typedef __INT_LEAST8_TYPE__ yytype_int8; +#elif defined YY_STDINT_H +typedef int_least8_t yytype_int8; #else typedef signed char yytype_int8; #endif -#ifdef YYTYPE_UINT16 -typedef YYTYPE_UINT16 yytype_uint16; +#ifdef __INT_LEAST16_MAX__ +typedef __INT_LEAST16_TYPE__ yytype_int16; +#elif defined YY_STDINT_H +typedef int_least16_t yytype_int16; #else -typedef unsigned short int yytype_uint16; +typedef short yytype_int16; #endif -#ifdef YYTYPE_INT16 -typedef YYTYPE_INT16 yytype_int16; +#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST8_TYPE__ yytype_uint8; +#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST8_MAX <= INT_MAX) +typedef uint_least8_t yytype_uint8; +#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX +typedef unsigned char yytype_uint8; #else -typedef short int yytype_int16; +typedef short yytype_uint8; +#endif + +#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST16_TYPE__ yytype_uint16; +#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST16_MAX <= INT_MAX) +typedef uint_least16_t yytype_uint16; +#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX +typedef unsigned short yytype_uint16; +#else +typedef int yytype_uint16; +#endif + +#ifndef YYPTRDIFF_T +# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__ +# define YYPTRDIFF_T __PTRDIFF_TYPE__ +# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__ +# elif defined PTRDIFF_MAX +# ifndef ptrdiff_t +# include /* INFRINGES ON USER NAME SPACE */ +# endif +# define YYPTRDIFF_T ptrdiff_t +# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX +# else +# define YYPTRDIFF_T long +# define YYPTRDIFF_MAXIMUM LONG_MAX +# endif #endif #ifndef YYSIZE_T @@ -363,15 +424,27 @@ typedef short int yytype_int16; # define YYSIZE_T __SIZE_TYPE__ # elif defined size_t # define YYSIZE_T size_t -# elif ! defined YYSIZE_T +# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # else -# define YYSIZE_T unsigned int +# define YYSIZE_T unsigned # endif #endif -#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) +#define YYSIZE_MAXIMUM \ + YY_CAST (YYPTRDIFF_T, \ + (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \ + ? YYPTRDIFF_MAXIMUM \ + : YY_CAST (YYSIZE_T, -1))) + +#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) + +/* Stored state numbers (used for stacks). */ +typedef yytype_int8 yy_state_t; + +/* State numbers in computations. */ +typedef int yy_state_fast_t; #ifndef YY_ # if defined YYENABLE_NLS && YYENABLE_NLS @@ -385,30 +458,19 @@ typedef short int yytype_int16; # endif #endif -#ifndef YY_ATTRIBUTE -# if (defined __GNUC__ \ - && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ - || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C -# define YY_ATTRIBUTE(Spec) __attribute__(Spec) +#ifndef YY_ATTRIBUTE_PURE +# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else -# define YY_ATTRIBUTE(Spec) /* empty */ +# define YY_ATTRIBUTE_PURE # endif #endif -#ifndef YY_ATTRIBUTE_PURE -# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) -#endif - #ifndef YY_ATTRIBUTE_UNUSED -# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) -#endif - -#if !defined _Noreturn \ - && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) -# if defined _MSC_VER && 1200 <= _MSC_VER -# define _Noreturn __declspec (noreturn) +# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) # else -# define _Noreturn YY_ATTRIBUTE ((__noreturn__)) +# define YY_ATTRIBUTE_UNUSED # endif #endif @@ -419,13 +481,13 @@ typedef short int yytype_int16; # define YYUSE(E) /* empty */ #endif -#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ +#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ /* Suppress an incorrect diagnostic about yylval being uninitialized. */ -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ - _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \ _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") -# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ +# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ _Pragma ("GCC diagnostic pop") #else # define YY_INITIAL_VALUE(Value) Value @@ -438,6 +500,20 @@ typedef short int yytype_int16; # define YY_INITIAL_VALUE(Value) /* Nothing. */ #endif +#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__ +# define YY_IGNORE_USELESS_CAST_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"") +# define YY_IGNORE_USELESS_CAST_END \ + _Pragma ("GCC diagnostic pop") +#endif +#ifndef YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_END +#endif + + +#define YY_ASSERT(E) ((void) (0 && (E))) #if ! defined yyoverflow || YYERROR_VERBOSE @@ -514,17 +590,17 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ /* A type that is properly aligned for any stack member. */ union yyalloc { - yytype_int16 yyss_alloc; + yy_state_t yyss_alloc; YYSTYPE yyvs_alloc; }; /* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) +# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) /* The size of an array large to enough to hold all stacks, each with N elements. */ # define YYSTACK_BYTES(N) \ - ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) # define YYCOPY_NEEDED 1 @@ -537,11 +613,11 @@ union yyalloc # define YYSTACK_RELOCATE(Stack_alloc, Stack) \ do \ { \ - YYSIZE_T yynewbytes; \ + YYPTRDIFF_T yynewbytes; \ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ Stack = &yyptr->Stack_alloc; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ + yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / YYSIZEOF (*yyptr); \ } \ while (0) @@ -553,12 +629,12 @@ union yyalloc # ifndef YYCOPY # if defined __GNUC__ && 1 < __GNUC__ # define YYCOPY(Dst, Src, Count) \ - __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) + __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) # else # define YYCOPY(Dst, Src, Count) \ do \ { \ - YYSIZE_T yyi; \ + YYPTRDIFF_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (Dst)[yyi] = (Src)[yyi]; \ } \ @@ -581,17 +657,18 @@ union yyalloc /* YYNSTATES -- Number of states. */ #define YYNSTATES 61 -/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned - by yylex, with out-of-bounds checking. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 273 + +/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, with out-of-bounds checking. */ #define YYTRANSLATE(YYX) \ - ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + (0 <= (YYX) && (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM - as returned by yylex, without out-of-bounds checking. */ -static const yytype_uint8 yytranslate[] = + as returned by yylex. */ +static const yytype_int8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -625,7 +702,7 @@ static const yytype_uint8 yytranslate[] = #if YYDEBUG /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ -static const yytype_uint16 yyrline[] = +static const yytype_int16 yyrline[] = { 0, 188, 188, 189, 192, 195, 198, 201, 204, 207, 210, 216, 222, 231, 237, 249, 252, 256, 261, 265, @@ -652,7 +729,7 @@ static const char *const yytname[] = # ifdef YYPRINT /* YYTOKNUM[NUM] -- (External) token number corresponding to the (internal) symbol number NUM (which must be that of a token). */ -static const yytype_uint16 yytoknum[] = +static const yytype_int16 yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 58, @@ -660,14 +737,14 @@ static const yytype_uint16 yytoknum[] = }; # endif -#define YYPACT_NINF -20 +#define YYPACT_NINF (-20) -#define yypact_value_is_default(Yystate) \ - (!!((Yystate) == (-20))) +#define yypact_value_is_default(Yyn) \ + ((Yyn) == YYPACT_NINF) -#define YYTABLE_NINF -1 +#define YYTABLE_NINF (-1) -#define yytable_value_is_error(Yytable_value) \ +#define yytable_value_is_error(Yyn) \ 0 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing @@ -686,7 +763,7 @@ static const yytype_int8 yypact[] = /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. Performed when YYTABLE does not specify something else to do. Zero means the default is an error. */ -static const yytype_uint8 yydefact[] = +static const yytype_int8 yydefact[] = { 2, 0, 1, 18, 39, 16, 42, 45, 0, 36, 48, 0, 49, 33, 15, 3, 4, 5, 7, 6, @@ -714,7 +791,7 @@ static const yytype_int8 yydefgoto[] = /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule whose number is the opposite. If YYTABLE_NINF, syntax error. */ -static const yytype_uint8 yytable[] = +static const yytype_int8 yytable[] = { 2, 23, 52, 24, 3, 4, 5, 59, 6, 46, 47, 7, 8, 9, 10, 11, 12, 13, 14, 31, @@ -724,7 +801,7 @@ static const yytype_uint8 yytable[] = 60 }; -static const yytype_uint8 yycheck[] = +static const yytype_int8 yycheck[] = { 0, 20, 10, 16, 4, 5, 6, 15, 8, 15, 16, 11, 12, 13, 14, 15, 16, 17, 18, 4, @@ -736,7 +813,7 @@ static const yytype_uint8 yycheck[] = /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ -static const yytype_uint8 yystos[] = +static const yytype_int8 yystos[] = { 0, 23, 0, 4, 5, 6, 8, 11, 12, 13, 14, 15, 16, 17, 18, 24, 25, 26, 27, 28, @@ -748,7 +825,7 @@ static const yytype_uint8 yystos[] = }; /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const yytype_uint8 yyr1[] = +static const yytype_int8 yyr1[] = { 0, 22, 23, 23, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 26, 26, 26, 27, 27, @@ -759,7 +836,7 @@ static const yytype_uint8 yyr1[] = }; /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ -static const yytype_uint8 yyr2[] = +static const yytype_int8 yyr2[] = { 0, 2, 0, 2, 1, 1, 1, 1, 1, 1, 2, 4, 4, 6, 6, 1, 1, 2, 1, 2, @@ -782,22 +859,22 @@ static const yytype_uint8 yyr2[] = #define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - YYPOPSTACK (yylen); \ - yystate = *yyssp; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror (YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (0) +#define YYBACKUP(Token, Value) \ + do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ + while (0) /* Error token number */ #define YYTERROR 1 @@ -837,37 +914,39 @@ do { \ } while (0) -/*----------------------------------------. -| Print this symbol's value on YYOUTPUT. | -`----------------------------------------*/ +/*-----------------------------------. +| Print this symbol's value on YYO. | +`-----------------------------------*/ static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +yy_symbol_value_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep) { - FILE *yyo = yyoutput; - YYUSE (yyo); + FILE *yyoutput = yyo; + YYUSE (yyoutput); if (!yyvaluep) return; # ifdef YYPRINT if (yytype < YYNTOKENS) - YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); + YYPRINT (yyo, yytoknum[yytype], *yyvaluep); # endif + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN YYUSE (yytype); + YY_IGNORE_MAYBE_UNINITIALIZED_END } -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ +/*---------------------------. +| Print this symbol on YYO. | +`---------------------------*/ static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +yy_symbol_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep) { - YYFPRINTF (yyoutput, "%s %s (", + YYFPRINTF (yyo, "%s %s (", yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); - yy_symbol_value_print (yyoutput, yytype, yyvaluep); - YYFPRINTF (yyoutput, ")"); + yy_symbol_value_print (yyo, yytype, yyvaluep); + YYFPRINTF (yyo, ")"); } /*------------------------------------------------------------------. @@ -876,7 +955,7 @@ yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) `------------------------------------------------------------------*/ static void -yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) +yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) { YYFPRINTF (stderr, "Stack now"); for (; yybottom <= yytop; yybottom++) @@ -899,20 +978,20 @@ do { \ `------------------------------------------------*/ static void -yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule) +yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, int yyrule) { - unsigned long int yylno = yyrline[yyrule]; + int yylno = yyrline[yyrule]; int yynrhs = yyr2[yyrule]; int yyi; - YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", + YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n", yyrule - 1, yylno); /* The symbols being reduced. */ for (yyi = 0; yyi < yynrhs; yyi++) { YYFPRINTF (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, - yystos[yyssp[yyi + 1 - yynrhs]], - &(yyvsp[(yyi + 1) - (yynrhs)]) + yystos[+yyssp[yyi + 1 - yynrhs]], + &yyvsp[(yyi + 1) - (yynrhs)] ); YYFPRINTF (stderr, "\n"); } @@ -956,13 +1035,13 @@ int yydebug; # ifndef yystrlen # if defined __GLIBC__ && defined _STRING_H -# define yystrlen strlen +# define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S))) # else /* Return the length of YYSTR. */ -static YYSIZE_T +static YYPTRDIFF_T yystrlen (const char *yystr) { - YYSIZE_T yylen; + YYPTRDIFF_T yylen; for (yylen = 0; yystr[yylen]; yylen++) continue; return yylen; @@ -998,12 +1077,12 @@ yystpcpy (char *yydest, const char *yysrc) backslash-backslash). YYSTR is taken from yytname. If YYRES is null, do not copy; instead, return the length of what the result would have been. */ -static YYSIZE_T +static YYPTRDIFF_T yytnamerr (char *yyres, const char *yystr) { if (*yystr == '"') { - YYSIZE_T yyn = 0; + YYPTRDIFF_T yyn = 0; char const *yyp = yystr; for (;;) @@ -1016,7 +1095,10 @@ yytnamerr (char *yyres, const char *yystr) case '\\': if (*++yyp != '\\') goto do_not_strip_quotes; - /* Fall through. */ + else + goto append; + + append: default: if (yyres) yyres[yyn] = *yyp; @@ -1031,10 +1113,10 @@ yytnamerr (char *yyres, const char *yystr) do_not_strip_quotes: ; } - if (! yyres) + if (yyres) + return yystpcpy (yyres, yystr) - yyres; + else return yystrlen (yystr); - - return yystpcpy (yyres, yystr) - yyres; } # endif @@ -1047,19 +1129,19 @@ yytnamerr (char *yyres, const char *yystr) *YYMSG_ALLOC to the required number of bytes. Return 2 if the required number of bytes is too large to store. */ static int -yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, - yytype_int16 *yyssp, int yytoken) +yysyntax_error (YYPTRDIFF_T *yymsg_alloc, char **yymsg, + yy_state_t *yyssp, int yytoken) { - YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); - YYSIZE_T yysize = yysize0; enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; /* Internationalized format string. */ const char *yyformat = YY_NULLPTR; - /* Arguments of yyformat. */ + /* Arguments of yyformat: reported tokens (one for the "unexpected", + one per "expected"). */ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - /* Number of reported tokens (one for the "unexpected", one per - "expected"). */ + /* Actual size of YYARG. */ int yycount = 0; + /* Cumulated lengths of YYARG. */ + YYPTRDIFF_T yysize = 0; /* There are many possibilities here to consider: - If this state is a consistent state with a default action, then @@ -1086,7 +1168,9 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, */ if (yytoken != YYEMPTY) { - int yyn = yypact[*yyssp]; + int yyn = yypact[+*yyssp]; + YYPTRDIFF_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); + yysize = yysize0; yyarg[yycount++] = yytname[yytoken]; if (!yypact_value_is_default (yyn)) { @@ -1111,11 +1195,12 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, } yyarg[yycount++] = yytname[yyx]; { - YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); - if (! (yysize <= yysize1 - && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + YYPTRDIFF_T yysize1 + = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); + if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) + yysize = yysize1; + else return 2; - yysize = yysize1; } } } @@ -1127,6 +1212,7 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, case N: \ yyformat = S; \ break + default: /* Avoid compiler warnings. */ YYCASE_(0, YY_("syntax error")); YYCASE_(1, YY_("syntax error, unexpected %s")); YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); @@ -1137,10 +1223,13 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, } { - YYSIZE_T yysize1 = yysize + yystrlen (yyformat); - if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + /* Don't count the "%s"s in the final size, but reserve room for + the terminator. */ + YYPTRDIFF_T yysize1 = yysize + (yystrlen (yyformat) - 2 * yycount) + 1; + if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) + yysize = yysize1; + else return 2; - yysize = yysize1; } if (*yymsg_alloc < yysize) @@ -1166,8 +1255,8 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, } else { - yyp++; - yyformat++; + ++yyp; + ++yyformat; } } return 0; @@ -1210,7 +1299,7 @@ int yynerrs; int yyparse (void) { - int yystate; + yy_state_fast_t yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -1222,16 +1311,16 @@ yyparse (void) to reallocate them elsewhere. */ /* The state stack. */ - yytype_int16 yyssa[YYINITDEPTH]; - yytype_int16 *yyss; - yytype_int16 *yyssp; + yy_state_t yyssa[YYINITDEPTH]; + yy_state_t *yyss; + yy_state_t *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs; YYSTYPE *yyvsp; - YYSIZE_T yystacksize; + YYPTRDIFF_T yystacksize; int yyn; int yyresult; @@ -1245,7 +1334,7 @@ yyparse (void) /* Buffer for error messages, and its allocated size. */ char yymsgbuf[128]; char *yymsg = yymsgbuf; - YYSIZE_T yymsg_alloc = sizeof yymsgbuf; + YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf; #endif #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) @@ -1266,46 +1355,54 @@ yyparse (void) yychar = YYEMPTY; /* Cause a token to be read. */ goto yysetstate; + /*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | +| yynewstate -- push a new state, which is found in yystate. | `------------------------------------------------------------*/ - yynewstate: +yynewstate: /* In all cases, when you get here, the value and location stacks have just been pushed. So pushing a state here evens the stacks. */ yyssp++; - yysetstate: - *yyssp = yystate; + +/*--------------------------------------------------------------------. +| yysetstate -- set current state (the top of the stack) to yystate. | +`--------------------------------------------------------------------*/ +yysetstate: + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + YY_ASSERT (0 <= yystate && yystate < YYNSTATES); + YY_IGNORE_USELESS_CAST_BEGIN + *yyssp = YY_CAST (yy_state_t, yystate); + YY_IGNORE_USELESS_CAST_END if (yyss + yystacksize - 1 <= yyssp) +#if !defined yyoverflow && !defined YYSTACK_RELOCATE + goto yyexhaustedlab; +#else { /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; + YYPTRDIFF_T yysize = yyssp - yyss + 1; -#ifdef yyoverflow +# if defined yyoverflow { /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into memory. */ + yy_state_t *yyss1 = yyss; YYSTYPE *yyvs1 = yyvs; - yytype_int16 *yyss1 = yyss; /* Each stack pointer address is followed by the size of the data in use in that stack, in bytes. This used to be a conditional around just the two extra args, but that might be undefined if yyoverflow is a macro. */ yyoverflow (YY_("memory exhausted"), - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), + &yyss1, yysize * YYSIZEOF (*yyssp), + &yyvs1, yysize * YYSIZEOF (*yyvsp), &yystacksize); - yyss = yyss1; yyvs = yyvs1; } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyexhaustedlab; -# else +# else /* defined YYSTACK_RELOCATE */ /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyexhaustedlab; @@ -1314,42 +1411,43 @@ yyparse (void) yystacksize = YYMAXDEPTH; { - yytype_int16 *yyss1 = yyss; + yy_state_t *yyss1 = yyss; union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + YY_CAST (union yyalloc *, + YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize)))); if (! yyptr) goto yyexhaustedlab; YYSTACK_RELOCATE (yyss_alloc, yyss); YYSTACK_RELOCATE (yyvs_alloc, yyvs); -# undef YYSTACK_RELOCATE +# undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif -#endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; - YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); + YY_IGNORE_USELESS_CAST_BEGIN + YYDPRINTF ((stderr, "Stack size increased to %ld\n", + YY_CAST (long, yystacksize))); + YY_IGNORE_USELESS_CAST_END if (yyss + yystacksize - 1 <= yyssp) YYABORT; } - - YYDPRINTF ((stderr, "Entering state %d\n", yystate)); +#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ if (yystate == YYFINAL) YYACCEPT; goto yybackup; + /*-----------. | yybackup. | `-----------*/ yybackup: - /* Do appropriate processing given the current state. Read a lookahead token if we need one and don't already have one. */ @@ -1399,15 +1497,13 @@ yybackup: /* Shift the lookahead token. */ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); - - /* Discard the shifted token. */ - yychar = YYEMPTY; - yystate = yyn; YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN *++yyvsp = yylval; YY_IGNORE_MAYBE_UNINITIALIZED_END + /* Discard the shifted token. */ + yychar = YYEMPTY; goto yynewstate; @@ -1422,7 +1518,7 @@ yydefault: /*-----------------------------. -| yyreduce -- Do a reduction. | +| yyreduce -- do a reduction. | `-----------------------------*/ yyreduce: /* yyn is the number of a rule to reduce with. */ @@ -1442,71 +1538,71 @@ yyreduce: YY_REDUCE_PRINT (yyn); switch (yyn) { - case 4: -#line 192 "getdate.y" /* yacc.c:1646 */ - { + case 4: +#line 192 "getdate.y" + { yyHaveTime++; } -#line 1451 "getdate.c" /* yacc.c:1646 */ +#line 1547 "getdate.c" break; case 5: -#line 195 "getdate.y" /* yacc.c:1646 */ - { +#line 195 "getdate.y" + { yyHaveZone++; } -#line 1459 "getdate.c" /* yacc.c:1646 */ +#line 1555 "getdate.c" break; case 6: -#line 198 "getdate.y" /* yacc.c:1646 */ - { +#line 198 "getdate.y" + { yyHaveDate++; } -#line 1467 "getdate.c" /* yacc.c:1646 */ +#line 1563 "getdate.c" break; case 7: -#line 201 "getdate.y" /* yacc.c:1646 */ - { +#line 201 "getdate.y" + { yyHaveDay++; } -#line 1475 "getdate.c" /* yacc.c:1646 */ +#line 1571 "getdate.c" break; case 8: -#line 204 "getdate.y" /* yacc.c:1646 */ - { +#line 204 "getdate.y" + { yyHaveRel++; } -#line 1483 "getdate.c" /* yacc.c:1646 */ +#line 1579 "getdate.c" break; case 10: -#line 210 "getdate.y" /* yacc.c:1646 */ - { +#line 210 "getdate.y" + { yyHour = (yyvsp[-1].Number); yyMinutes = 0; yySeconds = 0; yyMeridian = (yyvsp[0].Meridian); } -#line 1494 "getdate.c" /* yacc.c:1646 */ +#line 1590 "getdate.c" break; case 11: -#line 216 "getdate.y" /* yacc.c:1646 */ - { +#line 216 "getdate.y" + { yyHour = (yyvsp[-3].Number); yyMinutes = (yyvsp[-1].Number); yySeconds = 0; yyMeridian = (yyvsp[0].Meridian); } -#line 1505 "getdate.c" /* yacc.c:1646 */ +#line 1601 "getdate.c" break; case 12: -#line 222 "getdate.y" /* yacc.c:1646 */ - { +#line 222 "getdate.y" + { yyHour = (yyvsp[-3].Number); yyMinutes = (yyvsp[-1].Number); yyMeridian = MER24; @@ -1515,23 +1611,23 @@ yyreduce: ? -(yyvsp[0].Number) % 100 + (-(yyvsp[0].Number) / 100) * 60 : - ((yyvsp[0].Number) % 100 + ((yyvsp[0].Number) / 100) * 60)); } -#line 1519 "getdate.c" /* yacc.c:1646 */ +#line 1615 "getdate.c" break; case 13: -#line 231 "getdate.y" /* yacc.c:1646 */ - { +#line 231 "getdate.y" + { yyHour = (yyvsp[-5].Number); yyMinutes = (yyvsp[-3].Number); yySeconds = (yyvsp[-1].Number); yyMeridian = (yyvsp[0].Meridian); } -#line 1530 "getdate.c" /* yacc.c:1646 */ +#line 1626 "getdate.c" break; case 14: -#line 237 "getdate.y" /* yacc.c:1646 */ - { +#line 237 "getdate.y" + { yyHour = (yyvsp[-5].Number); yyMinutes = (yyvsp[-3].Number); yySeconds = (yyvsp[-1].Number); @@ -1541,72 +1637,72 @@ yyreduce: ? -(yyvsp[0].Number) % 100 + (-(yyvsp[0].Number) / 100) * 60 : - ((yyvsp[0].Number) % 100 + ((yyvsp[0].Number) / 100) * 60)); } -#line 1545 "getdate.c" /* yacc.c:1646 */ +#line 1641 "getdate.c" break; case 15: -#line 249 "getdate.y" /* yacc.c:1646 */ - { +#line 249 "getdate.y" + { yyTimezone = (yyvsp[0].Number); } -#line 1553 "getdate.c" /* yacc.c:1646 */ +#line 1649 "getdate.c" break; case 16: -#line 252 "getdate.y" /* yacc.c:1646 */ - { +#line 252 "getdate.y" + { yyTimezone = (yyvsp[0].Number) - 60; } -#line 1561 "getdate.c" /* yacc.c:1646 */ +#line 1657 "getdate.c" break; case 17: -#line 256 "getdate.y" /* yacc.c:1646 */ - { +#line 256 "getdate.y" + { yyTimezone = (yyvsp[-1].Number) - 60; } -#line 1569 "getdate.c" /* yacc.c:1646 */ +#line 1665 "getdate.c" break; case 18: -#line 261 "getdate.y" /* yacc.c:1646 */ - { +#line 261 "getdate.y" + { yyDayOrdinal = 1; yyDayNumber = (yyvsp[0].Number); } -#line 1578 "getdate.c" /* yacc.c:1646 */ +#line 1674 "getdate.c" break; case 19: -#line 265 "getdate.y" /* yacc.c:1646 */ - { +#line 265 "getdate.y" + { yyDayOrdinal = 1; yyDayNumber = (yyvsp[-1].Number); } -#line 1587 "getdate.c" /* yacc.c:1646 */ +#line 1683 "getdate.c" break; case 20: -#line 269 "getdate.y" /* yacc.c:1646 */ - { +#line 269 "getdate.y" + { yyDayOrdinal = (yyvsp[-1].Number); yyDayNumber = (yyvsp[0].Number); } -#line 1596 "getdate.c" /* yacc.c:1646 */ +#line 1692 "getdate.c" break; case 21: -#line 275 "getdate.y" /* yacc.c:1646 */ - { +#line 275 "getdate.y" + { yyMonth = (yyvsp[-2].Number); yyDay = (yyvsp[0].Number); } -#line 1605 "getdate.c" /* yacc.c:1646 */ +#line 1701 "getdate.c" break; case 22: -#line 279 "getdate.y" /* yacc.c:1646 */ - { +#line 279 "getdate.y" + { /* Interpret as YYYY/MM/DD if $1 >= 1000, otherwise as MM/DD/YY. The goal in recognizing YYYY/MM/DD is solely to support legacy machine-generated dates like those in an RCS log listing. If @@ -1624,72 +1720,72 @@ yyreduce: yyYear = (yyvsp[0].Number); } } -#line 1628 "getdate.c" /* yacc.c:1646 */ +#line 1724 "getdate.c" break; case 23: -#line 297 "getdate.y" /* yacc.c:1646 */ - { +#line 297 "getdate.y" + { /* ISO 8601 format. yyyy-mm-dd. */ yyYear = (yyvsp[-2].Number); yyMonth = -(yyvsp[-1].Number); yyDay = -(yyvsp[0].Number); } -#line 1639 "getdate.c" /* yacc.c:1646 */ +#line 1735 "getdate.c" break; case 24: -#line 303 "getdate.y" /* yacc.c:1646 */ - { +#line 303 "getdate.y" + { /* e.g. 17-JUN-1992. */ yyDay = (yyvsp[-2].Number); yyMonth = (yyvsp[-1].Number); yyYear = -(yyvsp[0].Number); } -#line 1650 "getdate.c" /* yacc.c:1646 */ +#line 1746 "getdate.c" break; case 25: -#line 309 "getdate.y" /* yacc.c:1646 */ - { +#line 309 "getdate.y" + { yyMonth = (yyvsp[-1].Number); yyDay = (yyvsp[0].Number); } -#line 1659 "getdate.c" /* yacc.c:1646 */ +#line 1755 "getdate.c" break; case 26: -#line 313 "getdate.y" /* yacc.c:1646 */ - { +#line 313 "getdate.y" + { yyMonth = (yyvsp[-3].Number); yyDay = (yyvsp[-2].Number); yyYear = (yyvsp[0].Number); } -#line 1669 "getdate.c" /* yacc.c:1646 */ +#line 1765 "getdate.c" break; case 27: -#line 318 "getdate.y" /* yacc.c:1646 */ - { +#line 318 "getdate.y" + { yyMonth = (yyvsp[0].Number); yyDay = (yyvsp[-1].Number); } -#line 1678 "getdate.c" /* yacc.c:1646 */ +#line 1774 "getdate.c" break; case 28: -#line 322 "getdate.y" /* yacc.c:1646 */ - { +#line 322 "getdate.y" + { yyMonth = (yyvsp[-1].Number); yyDay = (yyvsp[-2].Number); yyYear = (yyvsp[0].Number); } -#line 1688 "getdate.c" /* yacc.c:1646 */ +#line 1784 "getdate.c" break; case 29: -#line 329 "getdate.y" /* yacc.c:1646 */ - { +#line 329 "getdate.y" + { yyRelSeconds = -yyRelSeconds; yyRelMinutes = -yyRelMinutes; yyRelHour = -yyRelHour; @@ -1697,156 +1793,156 @@ yyreduce: yyRelMonth = -yyRelMonth; yyRelYear = -yyRelYear; } -#line 1701 "getdate.c" /* yacc.c:1646 */ +#line 1797 "getdate.c" break; case 31: -#line 340 "getdate.y" /* yacc.c:1646 */ - { +#line 340 "getdate.y" + { yyRelYear += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1709 "getdate.c" /* yacc.c:1646 */ +#line 1805 "getdate.c" break; case 32: -#line 343 "getdate.y" /* yacc.c:1646 */ - { +#line 343 "getdate.y" + { yyRelYear += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1717 "getdate.c" /* yacc.c:1646 */ +#line 1813 "getdate.c" break; case 33: -#line 346 "getdate.y" /* yacc.c:1646 */ - { +#line 346 "getdate.y" + { yyRelYear++; } -#line 1725 "getdate.c" /* yacc.c:1646 */ +#line 1821 "getdate.c" break; case 34: -#line 349 "getdate.y" /* yacc.c:1646 */ - { +#line 349 "getdate.y" + { yyRelMonth += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1733 "getdate.c" /* yacc.c:1646 */ +#line 1829 "getdate.c" break; case 35: -#line 352 "getdate.y" /* yacc.c:1646 */ - { +#line 352 "getdate.y" + { yyRelMonth += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1741 "getdate.c" /* yacc.c:1646 */ +#line 1837 "getdate.c" break; case 36: -#line 355 "getdate.y" /* yacc.c:1646 */ - { +#line 355 "getdate.y" + { yyRelMonth++; } -#line 1749 "getdate.c" /* yacc.c:1646 */ +#line 1845 "getdate.c" break; case 37: -#line 358 "getdate.y" /* yacc.c:1646 */ - { +#line 358 "getdate.y" + { yyRelDay += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1757 "getdate.c" /* yacc.c:1646 */ +#line 1853 "getdate.c" break; case 38: -#line 361 "getdate.y" /* yacc.c:1646 */ - { +#line 361 "getdate.y" + { yyRelDay += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1765 "getdate.c" /* yacc.c:1646 */ +#line 1861 "getdate.c" break; case 39: -#line 364 "getdate.y" /* yacc.c:1646 */ - { +#line 364 "getdate.y" + { yyRelDay++; } -#line 1773 "getdate.c" /* yacc.c:1646 */ +#line 1869 "getdate.c" break; case 40: -#line 367 "getdate.y" /* yacc.c:1646 */ - { +#line 367 "getdate.y" + { yyRelHour += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1781 "getdate.c" /* yacc.c:1646 */ +#line 1877 "getdate.c" break; case 41: -#line 370 "getdate.y" /* yacc.c:1646 */ - { +#line 370 "getdate.y" + { yyRelHour += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1789 "getdate.c" /* yacc.c:1646 */ +#line 1885 "getdate.c" break; case 42: -#line 373 "getdate.y" /* yacc.c:1646 */ - { +#line 373 "getdate.y" + { yyRelHour++; } -#line 1797 "getdate.c" /* yacc.c:1646 */ +#line 1893 "getdate.c" break; case 43: -#line 376 "getdate.y" /* yacc.c:1646 */ - { +#line 376 "getdate.y" + { yyRelMinutes += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1805 "getdate.c" /* yacc.c:1646 */ +#line 1901 "getdate.c" break; case 44: -#line 379 "getdate.y" /* yacc.c:1646 */ - { +#line 379 "getdate.y" + { yyRelMinutes += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1813 "getdate.c" /* yacc.c:1646 */ +#line 1909 "getdate.c" break; case 45: -#line 382 "getdate.y" /* yacc.c:1646 */ - { +#line 382 "getdate.y" + { yyRelMinutes++; } -#line 1821 "getdate.c" /* yacc.c:1646 */ +#line 1917 "getdate.c" break; case 46: -#line 385 "getdate.y" /* yacc.c:1646 */ - { +#line 385 "getdate.y" + { yyRelSeconds += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1829 "getdate.c" /* yacc.c:1646 */ +#line 1925 "getdate.c" break; case 47: -#line 388 "getdate.y" /* yacc.c:1646 */ - { +#line 388 "getdate.y" + { yyRelSeconds += (yyvsp[-1].Number) * (yyvsp[0].Number); } -#line 1837 "getdate.c" /* yacc.c:1646 */ +#line 1933 "getdate.c" break; case 48: -#line 391 "getdate.y" /* yacc.c:1646 */ - { +#line 391 "getdate.y" + { yyRelSeconds++; } -#line 1845 "getdate.c" /* yacc.c:1646 */ +#line 1941 "getdate.c" break; case 49: -#line 397 "getdate.y" /* yacc.c:1646 */ - { +#line 397 "getdate.y" + { if ((yyHaveTime != 0) && (yyHaveDate != 0) && (yyHaveRel == 0)) yyYear = (yyvsp[0].Number); else @@ -1876,27 +1972,28 @@ yyreduce: } } } -#line 1880 "getdate.c" /* yacc.c:1646 */ +#line 1976 "getdate.c" break; case 50: -#line 430 "getdate.y" /* yacc.c:1646 */ - { +#line 430 "getdate.y" + { (yyval.Meridian) = MER24; } -#line 1888 "getdate.c" /* yacc.c:1646 */ +#line 1984 "getdate.c" break; case 51: -#line 434 "getdate.y" /* yacc.c:1646 */ - { +#line 434 "getdate.y" + { (yyval.Meridian) = (yyvsp[0].Meridian); } -#line 1896 "getdate.c" /* yacc.c:1646 */ +#line 1992 "getdate.c" break; -#line 1900 "getdate.c" /* yacc.c:1646 */ +#line 1996 "getdate.c" + default: break; } /* User semantic actions sometimes alter yychar, and that requires @@ -1921,14 +2018,13 @@ yyreduce: /* Now 'shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; - if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTOKENS]; + { + const int yylhs = yyr1[yyn] - YYNTOKENS; + const int yyi = yypgoto[yylhs] + *yyssp; + yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp + ? yytable[yyi] + : yydefgoto[yylhs]); + } goto yynewstate; @@ -1960,7 +2056,7 @@ yyerrlab: { if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + yymsg = YY_CAST (char *, YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc))); if (!yymsg) { yymsg = yymsgbuf; @@ -2011,12 +2107,10 @@ yyerrlab: | yyerrorlab -- error raised explicitly by YYERROR. | `---------------------------------------------------*/ yyerrorlab: - - /* Pacify compilers like GCC when the user code never invokes - YYERROR and the label yyerrorlab therefore never appears in user - code. */ - if (/*CONSTCOND*/ 0) - goto yyerrorlab; + /* Pacify compilers when the user code never invokes YYERROR and the + label yyerrorlab therefore never appears in user code. */ + if (0) + YYERROR; /* Do not reclaim the symbols of the rule whose action triggered this YYERROR. */ @@ -2078,6 +2172,7 @@ yyacceptlab: yyresult = 0; goto yyreturn; + /*-----------------------------------. | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ @@ -2085,6 +2180,7 @@ yyabortlab: yyresult = 1; goto yyreturn; + #if !defined yyoverflow || YYERROR_VERBOSE /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | @@ -2095,6 +2191,10 @@ yyexhaustedlab: /* Fall through. */ #endif + +/*-----------------------------------------------------. +| yyreturn -- parsing is finished, return the result. | +`-----------------------------------------------------*/ yyreturn: if (yychar != YYEMPTY) { @@ -2111,7 +2211,7 @@ yyreturn: while (yyssp != yyss) { yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp); + yystos[+*yyssp], yyvsp); YYPOPSTACK (1); } #ifndef yyoverflow @@ -2124,7 +2224,7 @@ yyreturn: #endif return yyresult; } -#line 439 "getdate.y" /* yacc.c:1906 */ +#line 439 "getdate.y" /* Month and day table. */ diff --git a/libmisc/getdate.h b/libmisc/getdate.h index d1bb176d..eae56f64 100644 --- a/libmisc/getdate.h +++ b/libmisc/getdate.h @@ -1,32 +1,9 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1997 - 2000, Marek Michałkiewicz - * Copyright (c) 2005 , Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1997 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _GETDATE_H_ diff --git a/libmisc/getdate.y b/libmisc/getdate.y index 5a8bde2e..7afa995b 100644 --- a/libmisc/getdate.y +++ b/libmisc/getdate.y @@ -61,7 +61,7 @@ /* Some old versions of bison generate parsers that use bcopy. That loses on systems that don't provide the function, so we have to redefine it here. */ -#if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy) +#if !defined (HAVE_BCOPY) && !defined (bcopy) # define bcopy(from, to, len) memcpy ((to), (from), (len)) #endif diff --git a/libmisc/getgr_nam_gid.c b/libmisc/getgr_nam_gid.c index 027280a5..5294f509 100644 --- a/libmisc/getgr_nam_gid.c +++ b/libmisc/getgr_nam_gid.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2000 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2000 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/getrange.c b/libmisc/getrange.c index 9b5e6117..d620c126 100644 --- a/libmisc/getrange.c +++ b/libmisc/getrange.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/gettime.c b/libmisc/gettime.c index e882300c..b2884022 100644 --- a/libmisc/gettime.c +++ b/libmisc/gettime.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2017, Chris Lamb - * All rights reserved. + * SPDX-FileCopyrightText: 2017, Chris Lamb * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -36,6 +13,7 @@ #include #include "defines.h" #include "prototypes.h" +#include "shadowlog.h" /* * gettime() returns the time as the number of seconds since the Epoch @@ -50,6 +28,7 @@ char *source_date_epoch; time_t fallback; unsigned long long epoch; + FILE *shadow_logfd = log_get_logfd(); fallback = time (NULL); source_date_epoch = shadow_getenv ("SOURCE_DATE_EPOCH"); diff --git a/libmisc/hushed.c b/libmisc/hushed.c index b71b99ce..84b2f550 100644 --- a/libmisc/hushed.c +++ b/libmisc/hushed.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1991 - 1993, Julianne Frances Haugh - * Copyright (c) 1991 - 1993, Chip Rosenthal - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1993, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1991 - 1993, Chip Rosenthal + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -90,7 +67,7 @@ bool hushed (const char *username) return false; } for (found = false; !found && (fgets (buf, (int) sizeof buf, fp) == buf);) { - buf[strlen (buf) - 1] = '\0'; + buf[strcspn (buf, "\n")] = '\0'; found = (strcmp (buf, pw->pw_shell) == 0) || (strcmp (buf, pw->pw_name) == 0); } diff --git a/libmisc/idmapping.c b/libmisc/idmapping.c index 3324f671..8b64a26a 100644 --- a/libmisc/idmapping.c +++ b/libmisc/idmapping.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2013 Eric Biederman - * All rights reserved. + * SPDX-FileCopyrightText: 2013 Eric Biederman * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -40,6 +17,7 @@ #include #include #endif +#include "shadowlog.h" struct map_range *get_map_ranges(int ranges, int argc, char **argv) { @@ -47,28 +25,28 @@ struct map_range *get_map_ranges(int ranges, int argc, char **argv) int idx, argidx; if (ranges < 0 || argc < 0) { - fprintf(shadow_logfd, "%s: error calculating number of arguments\n", Prog); + fprintf(log_get_logfd(), "%s: error calculating number of arguments\n", log_get_progname()); return NULL; } if (ranges != ((argc + 2) / 3)) { - fprintf(shadow_logfd, "%s: ranges: %u is wrong for argc: %d\n", Prog, ranges, argc); + fprintf(log_get_logfd(), "%s: ranges: %u is wrong for argc: %d\n", log_get_progname(), ranges, argc); return NULL; } if ((ranges * 3) > argc) { - fprintf(shadow_logfd, "ranges: %u argc: %d\n", + fprintf(log_get_logfd(), "ranges: %u argc: %d\n", ranges, argc); - fprintf(shadow_logfd, + fprintf(log_get_logfd(), _( "%s: Not enough arguments to form %u mappings\n"), - Prog, ranges); + log_get_progname(), ranges); return NULL; } mappings = calloc(ranges, sizeof(*mappings)); if (!mappings) { - fprintf(shadow_logfd, _( "%s: Memory allocation failure\n"), - Prog); + fprintf(log_get_logfd(), _( "%s: Memory allocation failure\n"), + log_get_progname()); exit(EXIT_FAILURE); } @@ -88,24 +66,24 @@ struct map_range *get_map_ranges(int ranges, int argc, char **argv) return NULL; } if (ULONG_MAX - mapping->upper <= mapping->count || ULONG_MAX - mapping->lower <= mapping->count) { - fprintf(shadow_logfd, _( "%s: subuid overflow detected.\n"), Prog); + fprintf(log_get_logfd(), _( "%s: subuid overflow detected.\n"), log_get_progname()); exit(EXIT_FAILURE); } if (mapping->upper > UINT_MAX || mapping->lower > UINT_MAX || mapping->count > UINT_MAX) { - fprintf(shadow_logfd, _( "%s: subuid overflow detected.\n"), Prog); + fprintf(log_get_logfd(), _( "%s: subuid overflow detected.\n"), log_get_progname()); exit(EXIT_FAILURE); } if (mapping->lower + mapping->count > UINT_MAX || mapping->upper + mapping->count > UINT_MAX) { - fprintf(shadow_logfd, _( "%s: subuid overflow detected.\n"), Prog); + fprintf(log_get_logfd(), _( "%s: subuid overflow detected.\n"), log_get_progname()); exit(EXIT_FAILURE); } if (mapping->lower + mapping->count < mapping->lower || mapping->upper + mapping->count < mapping->upper) { /* this one really shouldn't be possible given previous checks */ - fprintf(shadow_logfd, _( "%s: subuid overflow detected.\n"), Prog); + fprintf(log_get_logfd(), _( "%s: subuid overflow detected.\n"), log_get_progname()); exit(EXIT_FAILURE); } } @@ -176,19 +154,19 @@ void write_mapping(int proc_dir_fd, int ranges, struct map_range *mappings, } else if (strcmp(map_file, "gid_map") == 0) { cap = CAP_SETGID; } else { - fprintf(shadow_logfd, _("%s: Invalid map file %s specified\n"), Prog, map_file); + fprintf(log_get_logfd(), _("%s: Invalid map file %s specified\n"), log_get_progname(), map_file); exit(EXIT_FAILURE); } /* Align setuid- and fscaps-based new{g,u}idmap behavior. */ if (geteuid() == 0 && geteuid() != ruid) { if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) < 0) { - fprintf(shadow_logfd, _("%s: Could not prctl(PR_SET_KEEPCAPS)\n"), Prog); + fprintf(log_get_logfd(), _("%s: Could not prctl(PR_SET_KEEPCAPS)\n"), log_get_progname()); exit(EXIT_FAILURE); } if (seteuid(ruid) < 0) { - fprintf(shadow_logfd, _("%s: Could not seteuid to %d\n"), Prog, ruid); + fprintf(log_get_logfd(), _("%s: Could not seteuid to %d\n"), log_get_progname(), ruid); exit(EXIT_FAILURE); } } @@ -204,12 +182,12 @@ void write_mapping(int proc_dir_fd, int ranges, struct map_range *mappings, data[0].effective |= CAP_TO_MASK(CAP_SETFCAP); data[0].permitted = data[0].effective; if (capset(&hdr, data) < 0) { - fprintf(shadow_logfd, _("%s: Could not set caps\n"), Prog); + fprintf(log_get_logfd(), _("%s: Could not set caps\n"), log_get_progname()); exit(EXIT_FAILURE); } #endif - bufsize = ranges * ((ULONG_DIGITS + 1) * 3); + bufsize = ranges * ((ULONG_DIGITS + 1) * 3); pos = buf = xmalloc(bufsize); /* Build the mapping command */ @@ -222,7 +200,7 @@ void write_mapping(int proc_dir_fd, int ranges, struct map_range *mappings, mapping->lower, mapping->count); if ((written <= 0) || (written >= (bufsize - (pos - buf)))) { - fprintf(shadow_logfd, _("%s: snprintf failed!\n"), Prog); + fprintf(log_get_logfd(), _("%s: snprintf failed!\n"), log_get_progname()); exit(EXIT_FAILURE); } pos += written; @@ -231,13 +209,13 @@ void write_mapping(int proc_dir_fd, int ranges, struct map_range *mappings, /* Write the mapping to the mapping file */ fd = openat(proc_dir_fd, map_file, O_WRONLY); if (fd < 0) { - fprintf(shadow_logfd, _("%s: open of %s failed: %s\n"), - Prog, map_file, strerror(errno)); + fprintf(log_get_logfd(), _("%s: open of %s failed: %s\n"), + log_get_progname(), map_file, strerror(errno)); exit(EXIT_FAILURE); } if (write(fd, buf, pos - buf) != (pos - buf)) { - fprintf(shadow_logfd, _("%s: write to %s failed: %s\n"), - Prog, map_file, strerror(errno)); + fprintf(log_get_logfd(), _("%s: write to %s failed: %s\n"), + log_get_progname(), map_file, strerror(errno)); exit(EXIT_FAILURE); } close(fd); diff --git a/libmisc/idmapping.h b/libmisc/idmapping.h index 1a8efe68..e3527606 100644 --- a/libmisc/idmapping.h +++ b/libmisc/idmapping.h @@ -1,30 +1,7 @@ /* - * Copyright (c) 2013 Eric Biederman - * All rights reserved. + * SPDX-FileCopyrightText: 2013 Eric Biederman * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _IDMAPPING_H_ diff --git a/libmisc/isexpired.c b/libmisc/isexpired.c index 8e8a645f..ff203967 100644 --- a/libmisc/isexpired.c +++ b/libmisc/isexpired.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/limits.c b/libmisc/limits.c index 31f738da..fea85fe5 100644 --- a/libmisc/limits.c +++ b/libmisc/limits.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* @@ -50,6 +27,7 @@ #include "defines.h" #include #include "getdef.h" +#include "shadowlog.h" #ifdef HAVE_SYS_RESOURCE_H #include #define LIMITS @@ -202,7 +180,7 @@ static int check_logins (const char *name, const char *maxlogins) return 0; } -/* Function setup_user_limits - checks/set limits for the curent login +/* Function setup_user_limits - checks/set limits for the current login * Original idea from Joel Katz's lshell. Ported to shadow-login * by Cristian Gafton - gafton@sorosis.ro * @@ -404,7 +382,7 @@ static bool user_in_group (const char *uname, const char *gname) { struct group *groupdata; - if (uname == NULL || gname == NULL){ + if (uname == NULL || gname == NULL) { return false; } @@ -548,7 +526,7 @@ void setup_limits (const struct passwd *info) #ifdef LIMITS if (info->pw_uid != 0) { if ((setup_user_limits (info->pw_name) & LOGIN_ERROR_LOGIN) != 0) { - (void) fputs (_("Too many logins.\n"), shadow_logfd); + (void) fputs (_("Too many logins.\n"), log_get_logfd()); (void) sleep (2); /* XXX: Should be FAIL_DELAY */ exit (EXIT_FAILURE); } diff --git a/libmisc/list.c b/libmisc/list.c index 8837fa12..9d7ec77b 100644 --- a/libmisc/list.c +++ b/libmisc/list.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/log.c b/libmisc/log.c index 68a9d7e2..a220be0d 100644 --- a/libmisc/log.c +++ b/libmisc/log.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -42,7 +19,7 @@ #include #include "prototypes.h" -/* +/* * dolastlog - create lastlog entry * * A "last login" entry is created for the user being logged in. The diff --git a/libmisc/loginprompt.c b/libmisc/loginprompt.c index b008e2a2..35856463 100644 --- a/libmisc/loginprompt.c +++ b/libmisc/loginprompt.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1993, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2011, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1993, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2011, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -103,7 +80,7 @@ void login_prompt (const char *prompt, char *name, int namesize) (void) fflush (stdout); } - /* + /* * Read the user's response. The trailing newline will be * removed. */ diff --git a/libmisc/mail.c b/libmisc/mail.c index 1c53c310..647f879c 100644 --- a/libmisc/mail.c +++ b/libmisc/mail.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1991, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1991, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/motd.c b/libmisc/motd.c index 6ba7e128..23e27f24 100644 --- a/libmisc/motd.c +++ b/libmisc/motd.c @@ -1,35 +1,12 @@ /* - * Copyright (c) 1989 - 1991, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2010 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1991, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2010 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ - + #include #ident "$Id$" diff --git a/libmisc/myname.c b/libmisc/myname.c index e1b7f702..1b026179 100644 --- a/libmisc/myname.c +++ b/libmisc/myname.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/obscure.c b/libmisc/obscure.c index dc69f768..3daaa958 100644 --- a/libmisc/obscure.c +++ b/libmisc/obscure.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/pam_pass.c b/libmisc/pam_pass.c index 58a3d3f6..166a42ef 100644 --- a/libmisc/pam_pass.c +++ b/libmisc/pam_pass.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1997 - 1999, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1997 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -46,11 +23,13 @@ #include "defines.h" #include "pam_defs.h" #include "prototypes.h" +#include "shadowlog.h" void do_pam_passwd (const char *user, bool silent, bool change_expired) { pam_handle_t *pamh = NULL; int flags = 0, ret; + FILE *shadow_logfd = log_get_logfd(); if (silent) flags |= PAM_SILENT; diff --git a/libmisc/pam_pass_non_interactive.c b/libmisc/pam_pass_non_interactive.c index 3c95c88c..d031284a 100644 --- a/libmisc/pam_pass_non_interactive.c +++ b/libmisc/pam_pass_non_interactive.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2009 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2009 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -38,6 +15,7 @@ #include #include #include "prototypes.h" +#include "shadowlog.h" /*@null@*/ /*@only@*/static const char *non_interactive_password = NULL; static int ni_conv (int num_msg, @@ -76,9 +54,9 @@ static int ni_conv (int num_msg, switch (msg[count]->msg_style) { case PAM_PROMPT_ECHO_ON: - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: PAM modules requesting echoing are not supported.\n"), - Prog); + log_get_progname()); goto failed_conversation; case PAM_PROMPT_ECHO_OFF: responses[count].resp = strdup (non_interactive_password); @@ -88,7 +66,7 @@ static int ni_conv (int num_msg, break; case PAM_ERROR_MSG: if ( (NULL == msg[count]->msg) - || (fprintf (shadow_logfd, "%s\n", msg[count]->msg) <0)) { + || (fprintf (log_get_logfd(), "%s\n", msg[count]->msg) <0)) { goto failed_conversation; } responses[count].resp = NULL; @@ -101,9 +79,9 @@ static int ni_conv (int num_msg, responses[count].resp = NULL; break; default: - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: conversation type %d not supported.\n"), - Prog, msg[count]->msg_style); + log_get_progname(), msg[count]->msg_style); goto failed_conversation; } } @@ -143,19 +121,19 @@ int do_pam_passwd_non_interactive (const char *pam_service, ret = pam_start (pam_service, username, &non_interactive_pam_conv, &pamh); if (ret != PAM_SUCCESS) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: (user %s) pam_start failure %d\n"), - Prog, username, ret); + log_get_progname(), username, ret); return 1; } non_interactive_password = password; ret = pam_chauthtok (pamh, 0); if (ret != PAM_SUCCESS) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: (user %s) pam_chauthtok() failed, error:\n" "%s\n"), - Prog, username, pam_strerror (pamh, ret)); + log_get_progname(), username, pam_strerror (pamh, ret)); } (void) pam_end (pamh, PAM_SUCCESS); diff --git a/libmisc/prefix_flag.c b/libmisc/prefix_flag.c index 2e455c40..d4dfbc20 100644 --- a/libmisc/prefix_flag.c +++ b/libmisc/prefix_flag.c @@ -1,31 +1,8 @@ /* - * Copyright (c) 2011 , Julian Pidancet - * Copyright (c) 2011 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2011 , Julian Pidancet + * SPDX-FileCopyrightText: 2011 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -48,6 +25,7 @@ #include "subordinateio.h" #endif /* ENABLE_SUBIDS */ #include "getdef.h" +#include "shadowlog.h" static char *passwd_db_file = NULL; static char *spw_db_file = NULL; @@ -83,18 +61,18 @@ extern const char* process_prefix_flag (const char* short_opt, int argc, char ** && (val = argv[i] + 9)) || (strcmp (argv[i], short_opt) == 0)) { if (NULL != prefix) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: multiple --prefix options\n"), - Prog); + log_get_progname()); exit (E_BAD_ARG); } if (val) { prefix = val; } else if (i + 1 == argc) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: option '%s' requires an argument\n"), - Prog, argv[i]); + log_get_progname(), argv[i]); exit (E_BAD_ARG); } else { prefix = argv[++ i]; @@ -110,9 +88,9 @@ extern const char* process_prefix_flag (const char* short_opt, int argc, char ** /* should we prevent symbolic link from being used as a prefix? */ if ( prefix[0] != '/') { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: prefix must be an absolute path\n"), - Prog); + log_get_progname()); exit (E_BAD_ARG); } size_t len; @@ -176,10 +154,10 @@ extern struct group *prefix_getgrnam(const char *name) struct group * grp = NULL; fg = fopen(group_db_file, "rt"); - if(!fg) + if (!fg) return NULL; - while((grp = fgetgrent(fg)) != NULL) { - if(!strcmp(name, grp->gr_name)) + while ((grp = fgetgrent(fg)) != NULL) { + if (!strcmp(name, grp->gr_name)) break; } fclose(fg); @@ -196,10 +174,10 @@ extern struct group *prefix_getgrgid(gid_t gid) struct group * grp = NULL; fg = fopen(group_db_file, "rt"); - if(!fg) + if (!fg) return NULL; - while((grp = fgetgrent(fg)) != NULL) { - if(gid == grp->gr_gid) + while ((grp = fgetgrent(fg)) != NULL) { + if (gid == grp->gr_gid) break; } fclose(fg); @@ -216,10 +194,10 @@ extern struct passwd *prefix_getpwuid(uid_t uid) struct passwd *pwd = NULL; fg = fopen(passwd_db_file, "rt"); - if(!fg) + if (!fg) return NULL; - while((pwd = fgetpwent(fg)) != NULL) { - if(uid == pwd->pw_uid) + while ((pwd = fgetpwent(fg)) != NULL) { + if (uid == pwd->pw_uid) break; } fclose(fg); @@ -236,10 +214,10 @@ extern struct passwd *prefix_getpwnam(const char* name) struct passwd *pwd = NULL; fg = fopen(passwd_db_file, "rt"); - if(!fg) + if (!fg) return NULL; - while((pwd = fgetpwent(fg)) != NULL) { - if(!strcmp(name, pwd->pw_name)) + while ((pwd = fgetpwent(fg)) != NULL) { + if (!strcmp(name, pwd->pw_name)) break; } fclose(fg); @@ -256,10 +234,10 @@ extern struct spwd *prefix_getspnam(const char* name) struct spwd *sp = NULL; fg = fopen(spw_db_file, "rt"); - if(!fg) + if (!fg) return NULL; - while((sp = fgetspent(fg)) != NULL) { - if(!strcmp(name, sp->sp_namp)) + while ((sp = fgetspent(fg)) != NULL) { + if (!strcmp(name, sp->sp_namp)) break; } fclose(fg); @@ -272,7 +250,7 @@ extern struct spwd *prefix_getspnam(const char* name) extern void prefix_setpwent() { - if(!passwd_db_file) { + if (!passwd_db_file) { setpwent(); return; } @@ -280,19 +258,22 @@ extern void prefix_setpwent() fclose (fp_pwent); fp_pwent = fopen(passwd_db_file, "rt"); - if(!fp_pwent) + if (!fp_pwent) return; } extern struct passwd* prefix_getpwent() { - if(!passwd_db_file) { + if (!passwd_db_file) { return getpwent(); } + if (!fp_pwent) { + return NULL; + } return fgetpwent(fp_pwent); } extern void prefix_endpwent() { - if(!passwd_db_file) { + if (!passwd_db_file) { endpwent(); return; } @@ -303,7 +284,7 @@ extern void prefix_endpwent() extern void prefix_setgrent() { - if(!group_db_file) { + if (!group_db_file) { setgrent(); return; } @@ -311,19 +292,19 @@ extern void prefix_setgrent() fclose (fp_grent); fp_grent = fopen(group_db_file, "rt"); - if(!fp_grent) + if (!fp_grent) return; } extern struct group* prefix_getgrent() { - if(!group_db_file) { + if (!group_db_file) { return getgrent(); } return fgetgrent(fp_grent); } extern void prefix_endgrent() { - if(!group_db_file) { + if (!group_db_file) { endgrent(); return; } diff --git a/libmisc/pwd2spwd.c b/libmisc/pwd2spwd.c index 6799dd50..139a0240 100644 --- a/libmisc/pwd2spwd.c +++ b/libmisc/pwd2spwd.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/pwd_init.c b/libmisc/pwd_init.c index 774ba9b1..63c71e28 100644 --- a/libmisc/pwd_init.c +++ b/libmisc/pwd_init.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1997 , Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1997 , Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/pwdcheck.c b/libmisc/pwdcheck.c index bc6b66f8..15fc3a33 100644 --- a/libmisc/pwdcheck.c +++ b/libmisc/pwdcheck.c @@ -1,31 +1,8 @@ /* - * Copyright (c) 2000 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2008, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2000 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2008, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -39,6 +16,7 @@ #include "prototypes.h" #include "defines.h" #include "pwauth.h" +#include "shadowlog.h" void passwd_check (const char *user, const char *passwd, unused const char *progname) { @@ -51,7 +29,7 @@ void passwd_check (const char *user, const char *passwd, unused const char *prog if (pw_auth (passwd, user, PW_LOGIN, (char *) 0) != 0) { SYSLOG ((LOG_WARN, "incorrect password for `%s'", user)); (void) sleep (1); - fprintf (shadow_logfd, _("Incorrect password for %s.\n"), user); + fprintf (log_get_logfd(), _("Incorrect password for %s.\n"), user); exit (EXIT_FAILURE); } } diff --git a/libmisc/remove_tree.c b/libmisc/remove_tree.c index b2794ab4..c3aa8131 100644 --- a/libmisc/remove_tree.c +++ b/libmisc/remove_tree.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2001, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2001, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/rlogin.c b/libmisc/rlogin.c index b19f5e8f..fa67dc34 100644 --- a/libmisc/rlogin.c +++ b/libmisc/rlogin.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2008, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2008, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/root_flag.c b/libmisc/root_flag.c index e9a97d44..530f32b9 100644 --- a/libmisc/root_flag.c +++ b/libmisc/root_flag.c @@ -1,31 +1,8 @@ /* - * Copyright (c) 2011 , Julian Pidancet - * Copyright (c) 2011 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2011 , Julian Pidancet + * SPDX-FileCopyrightText: 2011 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -38,6 +15,7 @@ #include "prototypes.h" /*@-exitarg@*/ #include "exitcodes.h" +#include "shadowlog.h" static void change_root (const char* newroot); @@ -65,18 +43,18 @@ extern void process_root_flag (const char* short_opt, int argc, char **argv) && (val = argv[i] + 7)) || (strcmp (argv[i], short_opt) == 0)) { if (NULL != newroot) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: multiple --root options\n"), - Prog); + log_get_progname()); exit (E_BAD_ARG); } if (val) { newroot = val; } else if (i + 1 == argc) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: option '%s' requires an argument\n"), - Prog, argv[i]); + log_get_progname(), argv[i]); exit (E_BAD_ARG); } else { newroot = argv[++ i]; @@ -94,36 +72,36 @@ static void change_root (const char* newroot) /* Drop privileges */ if ( (setregid (getgid (), getgid ()) != 0) || (setreuid (getuid (), getuid ()) != 0)) { - fprintf (shadow_logfd, _("%s: failed to drop privileges (%s)\n"), - Prog, strerror (errno)); + fprintf (log_get_logfd(), _("%s: failed to drop privileges (%s)\n"), + log_get_progname(), strerror (errno)); exit (EXIT_FAILURE); } if ('/' != newroot[0]) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: invalid chroot path '%s'\n"), - Prog, newroot); + log_get_progname(), newroot); exit (E_BAD_ARG); } if (access (newroot, F_OK) != 0) { - fprintf(shadow_logfd, + fprintf(log_get_logfd(), _("%s: cannot access chroot directory %s: %s\n"), - Prog, newroot, strerror (errno)); + log_get_progname(), newroot, strerror (errno)); exit (E_BAD_ARG); } if (chdir (newroot) != 0) { - fprintf(shadow_logfd, + fprintf(log_get_logfd(), _("%s: cannot chdir to chroot directory %s: %s\n"), - Prog, newroot, strerror (errno)); + log_get_progname(), newroot, strerror (errno)); exit (E_BAD_ARG); } if (chroot (newroot) != 0) { - fprintf(shadow_logfd, + fprintf(log_get_logfd(), _("%s: unable to chroot to directory %s: %s\n"), - Prog, newroot, strerror (errno)); + log_get_progname(), newroot, strerror (errno)); exit (E_BAD_ARG); } } diff --git a/libmisc/salt.c b/libmisc/salt.c index 91d528fd..f8ac5669 100644 --- a/libmisc/salt.c +++ b/libmisc/salt.c @@ -1,3 +1,10 @@ +/* + * SPDX-FileCopyrightText: Marek Michalkiewicz + * SPDX-FileCopyrightText: J.T. Conklin + * + * SPDX-License-Identifier: Unlicense + */ + /* * salt.c - generate a random salt string for crypt() * @@ -21,6 +28,7 @@ #include "prototypes.h" #include "defines.h" #include "getdef.h" +#include "shadowlog.h" #if (defined CRYPT_GENSALT_IMPLEMENTS_AUTO_ENTROPY && \ CRYPT_GENSALT_IMPLEMENTS_AUTO_ENTROPY) @@ -178,7 +186,7 @@ static long read_random_bytes (void) #endif fail: - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("Unable to obtain random bytes.\n")); exit (1); @@ -223,20 +231,21 @@ static /*@observer@*/const unsigned long SHA_get_salt_rounds (/*@null@*/int *pre if ((-1 == min_rounds) && (-1 == max_rounds)) { rounds = SHA_ROUNDS_DEFAULT; } + else { + if (-1 == min_rounds) { + min_rounds = max_rounds; + } - if (-1 == min_rounds) { - min_rounds = max_rounds; + if (-1 == max_rounds) { + max_rounds = min_rounds; + } + + if (min_rounds > max_rounds) { + max_rounds = min_rounds; + } + + rounds = (unsigned long) shadow_random (min_rounds, max_rounds); } - - if (-1 == max_rounds) { - max_rounds = min_rounds; - } - - if (min_rounds > max_rounds) { - max_rounds = min_rounds; - } - - rounds = (unsigned long) shadow_random (min_rounds, max_rounds); } else if (0 == *prefered_rounds) { rounds = SHA_ROUNDS_DEFAULT; } else { @@ -505,7 +514,7 @@ static /*@observer@*/const char *gensalt (size_t salt_size) SHA_salt_rounds_to_buf (result, rounds); #endif /* USE_SHA_CRYPT */ } else if (0 != strcmp (method, "DES")) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("Invalid ENCRYPT_METHOD value: '%s'.\n" "Defaulting to DES.\n"), method); @@ -531,7 +540,7 @@ static /*@observer@*/const char *gensalt (size_t salt_size) /* Should not happen, but... */ if (NULL == retval) { - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("Unable to generate a salt from setting " "\"%s\", check your settings in " "ENCRYPT_METHOD and the corresponding " diff --git a/libmisc/setugid.c b/libmisc/setugid.c index 9bb62af9..6dbe38ee 100644 --- a/libmisc/setugid.c +++ b/libmisc/setugid.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/setupenv.c b/libmisc/setupenv.c index 74b18723..5d7aefa2 100644 --- a/libmisc/setupenv.c +++ b/libmisc/setupenv.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* @@ -47,6 +24,7 @@ #include "defines.h" #include #include "getdef.h" +#include "shadowlog.h" #ifndef USE_PAM static void @@ -219,7 +197,7 @@ void setup_env (struct passwd *info) static char temp_pw_dir[] = "/"; if (!getdef_bool ("DEFAULT_HOME") || chdir ("/") == -1) { - fprintf (shadow_logfd, _("Unable to cd to '%s'\n"), + fprintf (log_get_logfd(), _("Unable to cd to '%s'\n"), info->pw_dir); SYSLOG ((LOG_WARN, "unable to cd to `%s' for user `%s'\n", diff --git a/libmisc/shell.c b/libmisc/shell.c index 92bfc2bc..29724063 100644 --- a/libmisc/shell.c +++ b/libmisc/shell.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1991, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2009 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1991, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2009 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/strtoday.c b/libmisc/strtoday.c index 860f06d4..7a60ea3d 100644 --- a/libmisc/strtoday.c +++ b/libmisc/strtoday.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #if !defined(__GLIBC__) diff --git a/libmisc/sub.c b/libmisc/sub.c index b0e32d11..d30c4c76 100644 --- a/libmisc/sub.c +++ b/libmisc/sub.c @@ -1,32 +1,9 @@ /* - * Copyright (c) 1989 - 1991, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1991, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/sulog.c b/libmisc/sulog.c index 4068acdf..3e956134 100644 --- a/libmisc/sulog.c +++ b/libmisc/sulog.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1992, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1992, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/ttytype.c b/libmisc/ttytype.c index 06e79444..f72d9573 100644 --- a/libmisc/ttytype.c +++ b/libmisc/ttytype.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/tz.c b/libmisc/tz.c index bcf4f7ff..16d92ade 100644 --- a/libmisc/tz.c +++ b/libmisc/tz.c @@ -1,34 +1,11 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1991 - 1994, Chip Rosenthal - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1991 - 1994, Chip Rosenthal + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2010, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/ulimit.c b/libmisc/ulimit.c index 30255a5d..e331d46c 100644 --- a/libmisc/ulimit.c +++ b/libmisc/ulimit.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1997, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1997, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/user_busy.c b/libmisc/user_busy.c index 3deebfc3..c03feb29 100644 --- a/libmisc/user_busy.c +++ b/libmisc/user_busy.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1991 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2000 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2000 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -45,6 +22,7 @@ #ifdef ENABLE_SUBIDS #include "subordinateio.h" #endif /* ENABLE_SUBIDS */ +#include "shadowlog.h" #ifdef __linux__ static int check_status (const char *name, const char *sname, uid_t uid); @@ -96,9 +74,9 @@ static int user_busy_utmp (const char *name) continue; } - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: user %s is currently logged in\n"), - Prog, name); + log_get_progname(), name); return 1; } @@ -249,9 +227,9 @@ static int user_busy_processes (const char *name, uid_t uid) #ifdef ENABLE_SUBIDS sub_uid_close(); #endif - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: user %s is currently used by process %d\n"), - Prog, name, pid); + log_get_progname(), name, pid); return 1; } @@ -273,9 +251,9 @@ static int user_busy_processes (const char *name, uid_t uid) #ifdef ENABLE_SUBIDS sub_uid_close(); #endif - fprintf (shadow_logfd, + fprintf (log_get_logfd(), _("%s: user %s is currently used by process %d\n"), - Prog, name, pid); + log_get_progname(), name, pid); return 1; } } diff --git a/libmisc/utmp.c b/libmisc/utmp.c index 5dcd419f..d2b65ac7 100644 --- a/libmisc/utmp.c +++ b/libmisc/utmp.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/valid.c b/libmisc/valid.c index 4b85d67c..326635ff 100644 --- a/libmisc/valid.c +++ b/libmisc/valid.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1989 - 1993, Julianne Frances Haugh - * Copyright (c) 1996 - 1999, Marek Michałkiewicz - * Copyright (c) 2003 - 2005, Tomasz Kłoczko - * Copyright (c) 2007 - 2008, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1989 - 1993, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1999, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2005, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2007 - 2008, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/libmisc/xgetXXbyYY.c b/libmisc/xgetXXbyYY.c index 11f45fc4..db010224 100644 --- a/libmisc/xgetXXbyYY.c +++ b/libmisc/xgetXXbyYY.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* @@ -54,6 +31,7 @@ #include #include #include "prototypes.h" +#include "shadowlog.h" #define XFUNCTION_NAME XPREFIX (FUNCTION_NAME) #define XPREFIX(name) XPREFIX1 (name) @@ -74,7 +52,7 @@ result = malloc(sizeof(LOOKUP_TYPE)); if (NULL == result) { - fprintf (shadow_logfd, _("%s: out of memory\n"), + fprintf (log_get_logfd(), _("%s: out of memory\n"), "x" STRINGIZE(FUNCTION_NAME)); exit (13); } @@ -84,7 +62,7 @@ LOOKUP_TYPE *resbuf = NULL; buffer = (char *)realloc (buffer, length); if (NULL == buffer) { - fprintf (shadow_logfd, _("%s: out of memory\n"), + fprintf (log_get_logfd(), _("%s: out of memory\n"), "x" STRINGIZE(FUNCTION_NAME)); exit (13); } @@ -132,7 +110,7 @@ if (result) { result = DUP_FUNCTION(result); if (NULL == result) { - fprintf (shadow_logfd, _("%s: out of memory\n"), + fprintf (log_get_logfd(), _("%s: out of memory\n"), "x" STRINGIZE(FUNCTION_NAME)); exit (13); } diff --git a/libmisc/xgetgrgid.c b/libmisc/xgetgrgid.c index 2ef171d1..fe99929b 100644 --- a/libmisc/xgetgrgid.c +++ b/libmisc/xgetgrgid.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/xgetgrnam.c b/libmisc/xgetgrnam.c index a07d0c33..66d6f933 100644 --- a/libmisc/xgetgrnam.c +++ b/libmisc/xgetgrnam.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/xgetpwnam.c b/libmisc/xgetpwnam.c index db65abb7..74eb9721 100644 --- a/libmisc/xgetpwnam.c +++ b/libmisc/xgetpwnam.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/xgetpwuid.c b/libmisc/xgetpwuid.c index 89241344..23b2d0c3 100644 --- a/libmisc/xgetpwuid.c +++ b/libmisc/xgetpwuid.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2007 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/xgetspnam.c b/libmisc/xgetspnam.c index 287e97f2..148185f4 100644 --- a/libmisc/xgetspnam.c +++ b/libmisc/xgetspnam.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2008 - 2009, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 2008 - 2009, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libmisc/xmalloc.c b/libmisc/xmalloc.c index 6d686145..9329e674 100644 --- a/libmisc/xmalloc.c +++ b/libmisc/xmalloc.c @@ -1,33 +1,10 @@ /* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 1998, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 1996 - 1998, Marek Michałkiewicz + * SPDX-FileCopyrightText: 2003 - 2006, Tomasz Kłoczko + * SPDX-FileCopyrightText: 2008 , Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* Replacements for malloc and strdup with error checking. Too trivial @@ -47,6 +24,7 @@ #include #include "defines.h" #include "prototypes.h" +#include "shadowlog.h" /*@maynotreturn@*/ /*@only@*//*@out@*//*@notnull@*/char *xmalloc (size_t size) { @@ -54,9 +32,9 @@ ptr = (char *) malloc (size); if (NULL == ptr) { - (void) fprintf (shadow_logfd, + (void) fprintf (log_get_logfd(), _("%s: failed to allocate memory: %s\n"), - Prog, strerror (errno)); + log_get_progname(), strerror (errno)); exit (13); } return ptr; diff --git a/libmisc/yesno.c b/libmisc/yesno.c index a2eb9530..cfbe6ecc 100644 --- a/libmisc/yesno.c +++ b/libmisc/yesno.c @@ -1,31 +1,8 @@ /* - * Copyright (c) 1992 - 1994, Julianne Frances Haugh - * Copyright (c) 2007 - 2008, Nicolas François - * All rights reserved. + * SPDX-FileCopyrightText: 1992 - 1994, Julianne Frances Haugh + * SPDX-FileCopyrightText: 2007 - 2008, Nicolas François * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/libsubid/Makefile.am b/libsubid/Makefile.am index 189165b0..09ec3416 100644 --- a/libsubid/Makefile.am +++ b/libsubid/Makefile.am @@ -1,7 +1,6 @@ lib_LTLIBRARIES = libsubid.la -libsubid_la_LDFLAGS = -Wl,-soname,libsubid.so.@LIBSUBID_ABI@ \ - -shared -version-info @LIBSUBID_ABI_MAJOR@ libsubid_la_SOURCES = api.c +libsubid_la_LDFLAGS = -version-info @LIBSUBID_ABI_MAJOR@ -export-symbols-regex '^subid_' pkginclude_HEADERS = subid.h @@ -9,6 +8,7 @@ MISCLIBS = \ $(LIBAUDIT) \ $(LIBSELINUX) \ $(LIBSEMANAGE) \ + $(LIBCRACK) \ $(LIBCRYPT_NOPAM) \ $(LIBSKEY) \ $(LIBMD) \ @@ -16,11 +16,12 @@ MISCLIBS = \ $(LIBCRYPT) \ $(LIBACL) \ $(LIBATTR) \ - $(LIBTCB) + $(LIBTCB) \ + $(LIBPAM) libsubid_la_LIBADD = \ - $(top_srcdir)/lib/libshadow.la \ - $(top_srcdir)/libmisc/libmisc.la \ + $(top_builddir)/lib/libshadow.la \ + $(top_builddir)/libmisc/libmisc.la \ $(MISCLIBS) -ldl AM_CPPFLAGS = \ diff --git a/libsubid/Makefile.in b/libsubid/Makefile.in index 4270a8b6..8d11b158 100644 --- a/libsubid/Makefile.in +++ b/libsubid/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -105,7 +105,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(pkginclude_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = +CONFIG_CLEAN_FILES = subid.h CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ @@ -141,9 +141,10 @@ am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) -libsubid_la_DEPENDENCIES = $(top_srcdir)/lib/libshadow.la \ - $(top_srcdir)/libmisc/libmisc.la $(am__DEPENDENCIES_2) +libsubid_la_DEPENDENCIES = $(top_builddir)/lib/libshadow.la \ + $(top_builddir)/libmisc/libmisc.la $(am__DEPENDENCIES_2) am_libsubid_la_OBJECTS = api.lo libsubid_la_OBJECTS = $(am_libsubid_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) @@ -167,7 +168,8 @@ am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/api.Plo am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -214,7 +216,8 @@ am__define_uniq_tagged_files = \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags -am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/subid.h.in \ + $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -375,15 +378,14 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libsubid.la -libsubid_la_LDFLAGS = -Wl,-soname,libsubid.so.@LIBSUBID_ABI@ \ - -shared -version-info @LIBSUBID_ABI_MAJOR@ - libsubid_la_SOURCES = api.c +libsubid_la_LDFLAGS = -version-info @LIBSUBID_ABI_MAJOR@ -export-symbols-regex '^subid_' pkginclude_HEADERS = subid.h MISCLIBS = \ $(LIBAUDIT) \ $(LIBSELINUX) \ $(LIBSEMANAGE) \ + $(LIBCRACK) \ $(LIBCRYPT_NOPAM) \ $(LIBSKEY) \ $(LIBMD) \ @@ -391,11 +393,12 @@ MISCLIBS = \ $(LIBCRYPT) \ $(LIBACL) \ $(LIBATTR) \ - $(LIBTCB) + $(LIBTCB) \ + $(LIBPAM) libsubid_la_LIBADD = \ - $(top_srcdir)/lib/libshadow.la \ - $(top_srcdir)/libmisc/libmisc.la \ + $(top_builddir)/lib/libshadow.la \ + $(top_builddir)/libmisc/libmisc.la \ $(MISCLIBS) -ldl AM_CPPFLAGS = \ @@ -424,8 +427,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -436,6 +439,8 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): +subid.h: $(top_builddir)/config.status $(srcdir)/subid.h.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @@ -481,7 +486,13 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/api.Plo@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -583,7 +594,10 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ @@ -656,7 +670,7 @@ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -f ./$(DEPDIR)/api.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -702,7 +716,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -f ./$(DEPDIR)/api.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -723,9 +737,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-pkgincludeHEADERS .MAKE: install-am install-strip -.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ - ctags-am distclean distclean-compile distclean-generic \ +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ + clean-generic clean-libLTLIBRARIES clean-libtool cscopelist-am \ + ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ diff --git a/libsubid/api.c b/libsubid/api.c index a7b904d0..00da74f6 100644 --- a/libsubid/api.c +++ b/libsubid/api.c @@ -1,30 +1,7 @@ /* - * Copyright (c) 2020 Serge Hallyn - * All rights reserved. + * SPDX-FileCopyrightText: 2020 Serge Hallyn * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier: BSD-3-Clause */ #include @@ -38,29 +15,30 @@ #include "subordinateio.h" #include "idmapping.h" #include "subid.h" +#include "shadowlog.h" -const char *Prog = "(libsubid)"; -FILE *shadow_logfd; - -bool libsubid_init(const char *progname, FILE * logfd) +bool subid_init(const char *progname, FILE * logfd) { + FILE *shadow_logfd; if (progname) { progname = strdup(progname); - if (progname) - Prog = progname; - else + if (!progname) return false; + log_set_progname(progname); + } else { + log_set_progname("(libsubid)"); } if (logfd) { - shadow_logfd = logfd; + log_set_logfd(logfd); return true; } shadow_logfd = fopen("/dev/null", "w"); if (!shadow_logfd) { - shadow_logfd = stderr; + log_set_logfd(stderr); return false; } + log_set_logfd(shadow_logfd); return true; } @@ -70,12 +48,12 @@ int get_subid_ranges(const char *owner, enum subid_type id_type, struct subid_ra return list_owner_ranges(owner, id_type, ranges); } -int get_subuid_ranges(const char *owner, struct subid_range **ranges) +int subid_get_uid_ranges(const char *owner, struct subid_range **ranges) { return get_subid_ranges(owner, ID_TYPE_UID, ranges); } -int get_subgid_ranges(const char *owner, struct subid_range **ranges) +int subid_get_gid_ranges(const char *owner, struct subid_range **ranges) { return get_subid_ranges(owner, ID_TYPE_GID, ranges); } @@ -86,12 +64,12 @@ int get_subid_owner(unsigned long id, enum subid_type id_type, uid_t **owner) return find_subid_owners(id, id_type, owner); } -int get_subuid_owners(uid_t uid, uid_t **owner) +int subid_get_uid_owners(uid_t uid, uid_t **owner) { return get_subid_owner((unsigned long)uid, ID_TYPE_UID, owner); } -int get_subgid_owners(gid_t gid, uid_t **owner) +int subid_get_gid_owners(gid_t gid, uid_t **owner) { return get_subid_owner((unsigned long)gid, ID_TYPE_GID, owner); } @@ -103,12 +81,12 @@ bool grant_subid_range(struct subordinate_range *range, bool reuse, return new_subid_range(range, id_type, reuse); } -bool grant_subuid_range(struct subordinate_range *range, bool reuse) +bool subid_grant_uid_range(struct subordinate_range *range, bool reuse) { return grant_subid_range(range, reuse, ID_TYPE_UID); } -bool grant_subgid_range(struct subordinate_range *range, bool reuse) +bool subid_grant_gid_range(struct subordinate_range *range, bool reuse) { return grant_subid_range(range, reuse, ID_TYPE_GID); } @@ -119,12 +97,12 @@ bool ungrant_subid_range(struct subordinate_range *range, enum subid_type id_typ return release_subid_range(range, id_type); } -bool ungrant_subuid_range(struct subordinate_range *range) +bool subid_ungrant_uid_range(struct subordinate_range *range) { return ungrant_subid_range(range, ID_TYPE_UID); } -bool ungrant_subgid_range(struct subordinate_range *range) +bool subid_ungrant_gid_range(struct subordinate_range *range) { return ungrant_subid_range(range, ID_TYPE_GID); } diff --git a/libsubid/subid.h b/libsubid/subid.h index eabafe4d..01476713 100644 --- a/libsubid/subid.h +++ b/libsubid/subid.h @@ -4,6 +4,10 @@ #ifndef SUBID_RANGE_DEFINED #define SUBID_RANGE_DEFINED 1 +#define SUBID_ABI_VERSION 4.0.0 +#define SUBID_ABI_MAJOR 4 +#define SUBID_ABI_MINOR 0 +#define SUBID_ABI_MICRO 0 /* subid_range is just a starting point and size of a range */ struct subid_range { @@ -32,7 +36,7 @@ enum subid_status { }; /* - * libsubid_init: initialize libsubid + * subid_init: initialize libsubid * * @progname: Name to display as program. If NULL, then "(libsubid)" will be * shown in error messages. @@ -45,10 +49,10 @@ enum subid_status { * * Returns false if an error occurred. */ -bool libsubid_init(const char *progname, FILE *logfd); +bool subid_init(const char *progname, FILE *logfd); /* - * get_subuid_ranges: return a list of UID ranges for a user + * subid_get_uid_ranges: return a list of UID ranges for a user * * @owner: username being queried * @ranges: a pointer to an array of subid_range structs in which the result @@ -58,10 +62,10 @@ bool libsubid_init(const char *progname, FILE *logfd); * * returns: number of ranges found, ir < 0 on error. */ -int get_subuid_ranges(const char *owner, struct subid_range **ranges); +int subid_get_uid_ranges(const char *owner, struct subid_range **ranges); /* - * get_subgid_ranges: return a list of GID ranges for a user + * subid_get_gid_ranges: return a list of GID ranges for a user * * @owner: username being queried * @ranges: a pointer to an array of subid_range structs in which the result @@ -71,10 +75,10 @@ int get_subuid_ranges(const char *owner, struct subid_range **ranges); * * returns: number of ranges found, ir < 0 on error. */ -int get_subgid_ranges(const char *owner, struct subid_range **ranges); +int subid_get_gid_ranges(const char *owner, struct subid_range **ranges); /* - * get_subuid_owners: return a list of uids to which the given uid has been + * subid_get_uid_owners: return a list of uids to which the given uid has been * delegated. * * @uid: The subuid being queried @@ -83,10 +87,10 @@ int get_subgid_ranges(const char *owner, struct subid_range **ranges); * * Returns the number of uids returned, or < 0 on error. */ -int get_subuid_owners(uid_t uid, uid_t **owner); +int subid_get_uid_owners(uid_t uid, uid_t **owner); /* - * get_subgid_owners: return a list of uids to which the given gid has been + * subid_get_gid_owners: return a list of uids to which the given gid has been * delegated. * * @uid: The subgid being queried @@ -95,10 +99,10 @@ int get_subuid_owners(uid_t uid, uid_t **owner); * * Returns the number of uids returned, or < 0 on error. */ -int get_subgid_owners(gid_t gid, uid_t **owner); +int subid_get_gid_owners(gid_t gid, uid_t **owner); /* - * grant_subuid_range: assign a subuid range to a user + * subid_grant_uid_range: assign a subuid range to a user * * @range: pointer to a struct subordinate_range detailing the UID range * to allocate. ->owner must be the username, and ->count must be @@ -109,10 +113,10 @@ int get_subgid_owners(gid_t gid, uid_t **owner); * then the range from (range->start, range->start + range->count) will * be delegated to range->owner. */ -bool grant_subuid_range(struct subordinate_range *range, bool reuse); +bool subid_grant_uid_range(struct subordinate_range *range, bool reuse); /* - * grant_subsid_range: assign a subgid range to a user + * subid_grant_gid_range: assign a subgid range to a user * * @range: pointer to a struct subordinate_range detailing the GID range * to allocate. ->owner must be the username, and ->count must be @@ -123,10 +127,10 @@ bool grant_subuid_range(struct subordinate_range *range, bool reuse); * then the range from (range->start, range->start + range->count) will * be delegated to range->owner. */ -bool grant_subgid_range(struct subordinate_range *range, bool reuse); +bool subid_grant_gid_range(struct subordinate_range *range, bool reuse); /* - * ungrant_subuid_range: remove a subuid allocation. + * subid_ungrant_uid_range: remove a subuid allocation. * * @range: pointer to a struct subordinate_range detailing the UID allocation * to remove. @@ -134,10 +138,10 @@ bool grant_subgid_range(struct subordinate_range *range, bool reuse); * Returns true if successful, false if it failed, for instance if the * delegation did not exist. */ -bool ungrant_subuid_range(struct subordinate_range *range); +bool subid_ungrant_uid_range(struct subordinate_range *range); /* - * ungrant_subuid_range: remove a subgid allocation. + * subid_ungrant_gid_range: remove a subgid allocation. * * @range: pointer to a struct subordinate_range detailing the GID allocation * to remove. @@ -145,7 +149,7 @@ bool ungrant_subuid_range(struct subordinate_range *range); * Returns true if successful, false if it failed, for instance if the * delegation did not exist. */ -bool ungrant_subgid_range(struct subordinate_range *range); +bool subid_ungrant_gid_range(struct subordinate_range *range); #define SUBID_NFIELDS 3 #endif diff --git a/libsubid/subid.h.in b/libsubid/subid.h.in new file mode 100644 index 00000000..21b22a26 --- /dev/null +++ b/libsubid/subid.h.in @@ -0,0 +1,155 @@ +#include +#include +#include + +#ifndef SUBID_RANGE_DEFINED +#define SUBID_RANGE_DEFINED 1 +#define SUBID_ABI_VERSION @LIBSUBID_ABI_MAJOR@.@LIBSUBID_ABI_MINOR@.@LIBSUBID_ABI_MICRO@ +#define SUBID_ABI_MAJOR @LIBSUBID_ABI_MAJOR@ +#define SUBID_ABI_MINOR @LIBSUBID_ABI_MINOR@ +#define SUBID_ABI_MICRO @LIBSUBID_ABI_MICRO@ + +/* subid_range is just a starting point and size of a range */ +struct subid_range { + unsigned long start; + unsigned long count; +}; + +/* subordinage_range is a subid_range plus an owner, representing + * a range in /etc/subuid or /etc/subgid */ +struct subordinate_range { + const char *owner; + unsigned long start; + unsigned long count; +}; + +enum subid_type { + ID_TYPE_UID = 1, + ID_TYPE_GID = 2 +}; + +enum subid_status { + SUBID_STATUS_SUCCESS = 0, + SUBID_STATUS_UNKNOWN_USER = 1, + SUBID_STATUS_ERROR_CONN = 2, + SUBID_STATUS_ERROR = 3, +}; + +/* + * subid_init: initialize libsubid + * + * @progname: Name to display as program. If NULL, then "(libsubid)" will be + * shown in error messages. + * @logfd: Open file pointer to pass error messages to. If NULL, then + * /dev/null will be opened and messages will be sent there. The + * default if libsubid_init() is not called is stderr (2). + * + * This function does not need to be called. If not called, then the defaults + * will be used. + * + * Returns false if an error occurred. + */ +bool subid_init(const char *progname, FILE *logfd); + +/* + * subid_get_uid_ranges: return a list of UID ranges for a user + * + * @owner: username being queried + * @ranges: a pointer to an array of subid_range structs in which the result + * will be returned. + * + * The caller must free(ranges) when done. + * + * returns: number of ranges found, ir < 0 on error. + */ +int subid_get_uid_ranges(const char *owner, struct subid_range **ranges); + +/* + * subid_get_gid_ranges: return a list of GID ranges for a user + * + * @owner: username being queried + * @ranges: a pointer to an array of subid_range structs in which the result + * will be returned. + * + * The caller must free(ranges) when done. + * + * returns: number of ranges found, ir < 0 on error. + */ +int subid_get_gid_ranges(const char *owner, struct subid_range **ranges); + +/* + * subid_get_uid_owners: return a list of uids to which the given uid has been + * delegated. + * + * @uid: The subuid being queried + * @owners: a pointer to an array of uids into which the results are placed. + * The returned array must be freed by the caller. + * + * Returns the number of uids returned, or < 0 on error. + */ +int subid_get_uid_owners(uid_t uid, uid_t **owner); + +/* + * subid_get_gid_owners: return a list of uids to which the given gid has been + * delegated. + * + * @uid: The subgid being queried + * @owners: a pointer to an array of uids into which the results are placed. + * The returned array must be freed by the caller. + * + * Returns the number of uids returned, or < 0 on error. + */ +int subid_get_gid_owners(gid_t gid, uid_t **owner); + +/* + * subid_grant_uid_range: assign a subuid range to a user + * + * @range: pointer to a struct subordinate_range detailing the UID range + * to allocate. ->owner must be the username, and ->count must be + * filled in. ->start is ignored, and will contain the start + * of the newly allocated range, upon success. + * + * Returns true if the delegation succeeded, false otherwise. If true, + * then the range from (range->start, range->start + range->count) will + * be delegated to range->owner. + */ +bool subid_grant_uid_range(struct subordinate_range *range, bool reuse); + +/* + * subid_grant_gid_range: assign a subgid range to a user + * + * @range: pointer to a struct subordinate_range detailing the GID range + * to allocate. ->owner must be the username, and ->count must be + * filled in. ->start is ignored, and will contain the start + * of the newly allocated range, upon success. + * + * Returns true if the delegation succeeded, false otherwise. If true, + * then the range from (range->start, range->start + range->count) will + * be delegated to range->owner. + */ +bool subid_grant_gid_range(struct subordinate_range *range, bool reuse); + +/* + * subid_ungrant_uid_range: remove a subuid allocation. + * + * @range: pointer to a struct subordinate_range detailing the UID allocation + * to remove. + * + * Returns true if successful, false if it failed, for instance if the + * delegation did not exist. + */ +bool subid_ungrant_uid_range(struct subordinate_range *range); + +/* + * subid_ungrant_gid_range: remove a subgid allocation. + * + * @range: pointer to a struct subordinate_range detailing the GID allocation + * to remove. + * + * Returns true if successful, false if it failed, for instance if the + * delegation did not exist. + */ +bool subid_ungrant_gid_range(struct subordinate_range *range); + +#define SUBID_NFIELDS 3 +#endif diff --git a/ltmain.sh b/ltmain.sh index a736cf99..0cb7f90d 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -31,7 +31,7 @@ PROGRAM=libtool PACKAGE=libtool -VERSION="2.4.6 Debian-2.4.6-2" +VERSION="2.4.6 Debian-2.4.6-14" package_revision=2.4.6 @@ -387,7 +387,7 @@ EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. # putting '$debug_cmd' at the start of all your functions, you can get # bash to show function call trace with: # -# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name +# debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name debug_cmd=${debug_cmd-":"} exit_cmd=: @@ -1370,7 +1370,7 @@ func_lt_ver () #! /bin/sh # Set a version string for this script. -scriptversion=2014-01-07.03; # UTC +scriptversion=2015-10-07.11; # UTC # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 @@ -1530,6 +1530,8 @@ func_run_hooks () { $debug_cmd + _G_rc_run_hooks=false + case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not support hook funcions.n" ;; @@ -1538,16 +1540,16 @@ func_run_hooks () eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do - eval $_G_hook '"$@"' - - # store returned options list back into positional - # parameters for next 'cmd' execution. - eval _G_hook_result=\$${_G_hook}_result - eval set dummy "$_G_hook_result"; shift + if eval $_G_hook '"$@"'; then + # store returned options list back into positional + # parameters for next 'cmd' execution. + eval _G_hook_result=\$${_G_hook}_result + eval set dummy "$_G_hook_result"; shift + _G_rc_run_hooks=: + fi done - func_quote_for_eval ${1+"$@"} - func_run_hooks_result=$func_quote_for_eval_result + $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result } @@ -1557,10 +1559,16 @@ func_run_hooks () ## --------------- ## # In order to add your own option parsing hooks, you must accept the -# full positional parameter list in your hook function, remove any -# options that you action, and then pass back the remaining unprocessed +# full positional parameter list in your hook function, you may remove/edit +# any options that you action, and then pass back the remaining unprocessed # options in '_result', escaped suitably for -# 'eval'. Like this: +# 'eval'. In this case you also must return $EXIT_SUCCESS to let the +# hook's caller know that it should pay attention to +# '_result'. Returning $EXIT_FAILURE signalizes that +# arguments are left untouched by the hook and therefore caller will ignore the +# result variable. +# +# Like this: # # my_options_prep () # { @@ -1570,9 +1578,11 @@ func_run_hooks () # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' -# -# func_quote_for_eval ${1+"$@"} -# my_options_prep_result=$func_quote_for_eval_result +# # No change in '$@' (ignored completely by this hook). There is +# # no need to do the equivalent (but slower) action: +# # func_quote_for_eval ${1+"$@"} +# # my_options_prep_result=$func_quote_for_eval_result +# false # } # func_add_hook func_options_prep my_options_prep # @@ -1581,25 +1591,37 @@ func_run_hooks () # { # $debug_cmd # +# args_changed=false +# # # Note that for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in -# --silent|-s) opt_silent=: ;; +# --silent|-s) opt_silent=: +# args_changed=: +# ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift +# args_changed=: # ;; -# *) set dummy "$_G_opt" "$*"; shift; break ;; +# *) # Make sure the first unrecognised option "$_G_opt" +# # is added back to "$@", we could need that later +# # if $args_changed is true. +# set dummy "$_G_opt" ${1+"$@"}; shift; break ;; # esac # done # -# func_quote_for_eval ${1+"$@"} -# my_silent_option_result=$func_quote_for_eval_result +# if $args_changed; then +# func_quote_for_eval ${1+"$@"} +# my_silent_option_result=$func_quote_for_eval_result +# fi +# +# $args_changed # } # func_add_hook func_parse_options my_silent_option # @@ -1611,16 +1633,32 @@ func_run_hooks () # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." # -# func_quote_for_eval ${1+"$@"} -# my_option_validation_result=$func_quote_for_eval_result +# false # } # func_add_hook func_validate_options my_option_validation # -# You'll alse need to manually amend $usage_message to reflect the extra +# You'll also need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. +# func_options_finish [ARG]... +# ---------------------------- +# Finishing the option parse loop (call 'func_options' hooks ATM). +func_options_finish () +{ + $debug_cmd + + _G_func_options_finish_exit=false + if func_run_hooks func_options ${1+"$@"}; then + func_options_finish_result=$func_run_hooks_result + _G_func_options_finish_exit=: + fi + + $_G_func_options_finish_exit +} + + # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the @@ -1630,17 +1668,28 @@ func_options () { $debug_cmd - func_options_prep ${1+"$@"} - eval func_parse_options \ - ${func_options_prep_result+"$func_options_prep_result"} - eval func_validate_options \ - ${func_parse_options_result+"$func_parse_options_result"} + _G_rc_options=false - eval func_run_hooks func_options \ - ${func_validate_options_result+"$func_validate_options_result"} + for my_func in options_prep parse_options validate_options options_finish + do + if eval func_$my_func '${1+"$@"}'; then + eval _G_res_var='$'"func_${my_func}_result" + eval set dummy "$_G_res_var" ; shift + _G_rc_options=: + fi + done - # save modified positional parameters for caller - func_options_result=$func_run_hooks_result + # Save modified positional parameters for caller. As a top-level + # options-parser function we always need to set the 'func_options_result' + # variable (regardless the $_G_rc_options value). + if $_G_rc_options; then + func_options_result=$_G_res_var + else + func_quote_for_eval ${1+"$@"} + func_options_result=$func_quote_for_eval_result + fi + + $_G_rc_options } @@ -1649,9 +1698,9 @@ func_options () # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and -# needs to propogate that back to rest of this script, then the complete +# needs to propagate that back to rest of this script, then the complete # modified list must be put in 'func_run_hooks_result' before -# returning. +# returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned). func_hookable func_options_prep func_options_prep () { @@ -1661,10 +1710,14 @@ func_options_prep () opt_verbose=false opt_warning_types= - func_run_hooks func_options_prep ${1+"$@"} + _G_rc_options_prep=false + if func_run_hooks func_options_prep ${1+"$@"}; then + _G_rc_options_prep=: + # save modified positional parameters for caller + func_options_prep_result=$func_run_hooks_result + fi - # save modified positional parameters for caller - func_options_prep_result=$func_run_hooks_result + $_G_rc_options_prep } @@ -1678,18 +1731,20 @@ func_parse_options () func_parse_options_result= + _G_rc_parse_options=false # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. - func_run_hooks func_parse_options ${1+"$@"} - - # Adjust func_parse_options positional parameters to match - eval set dummy "$func_run_hooks_result"; shift + if func_run_hooks func_parse_options ${1+"$@"}; then + eval set dummy "$func_run_hooks_result"; shift + _G_rc_parse_options=: + fi # Break out of the loop if we already parsed every option. test $# -gt 0 || break + _G_match_parse_options=: _G_opt=$1 shift case $_G_opt in @@ -1704,7 +1759,10 @@ func_parse_options () ;; --warnings|--warning|-W) - test $# = 0 && func_missing_arg $_G_opt && break + if test $# = 0 && func_missing_arg $_G_opt; then + _G_rc_parse_options=: + break + fi case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above @@ -1757,15 +1815,25 @@ func_parse_options () shift ;; - --) break ;; + --) _G_rc_parse_options=: ; break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; - *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + *) set dummy "$_G_opt" ${1+"$@"}; shift + _G_match_parse_options=false + break + ;; esac + + $_G_match_parse_options && _G_rc_parse_options=: done - # save modified positional parameters for caller - func_quote_for_eval ${1+"$@"} - func_parse_options_result=$func_quote_for_eval_result + + if $_G_rc_parse_options; then + # save modified positional parameters for caller + func_quote_for_eval ${1+"$@"} + func_parse_options_result=$func_quote_for_eval_result + fi + + $_G_rc_parse_options } @@ -1778,16 +1846,21 @@ func_validate_options () { $debug_cmd + _G_rc_validate_options=false + # Display all warnings if -W was not given. test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" - func_run_hooks func_validate_options ${1+"$@"} + if func_run_hooks func_validate_options ${1+"$@"}; then + # save modified positional parameters for caller + func_validate_options_result=$func_run_hooks_result + _G_rc_validate_options=: + fi # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE - # save modified positional parameters for caller - func_validate_options_result=$func_run_hooks_result + $_G_rc_validate_options } @@ -2068,7 +2141,7 @@ include the following information: compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname $scriptversion Debian-2.4.6-2 + version: $progname $scriptversion Debian-2.4.6-14 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` @@ -2270,6 +2343,8 @@ libtool_options_prep () nonopt= preserve_args= + _G_rc_lt_options_prep=: + # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) @@ -2293,11 +2368,18 @@ libtool_options_prep () uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; + *) + _G_rc_lt_options_prep=false + ;; esac - # Pass back the list of options. - func_quote_for_eval ${1+"$@"} - libtool_options_prep_result=$func_quote_for_eval_result + if $_G_rc_lt_options_prep; then + # Pass back the list of options. + func_quote_for_eval ${1+"$@"} + libtool_options_prep_result=$func_quote_for_eval_result + fi + + $_G_rc_lt_options_prep } func_add_hook func_options_prep libtool_options_prep @@ -2309,9 +2391,12 @@ libtool_parse_options () { $debug_cmd + _G_rc_lt_parse_options=false + # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do + _G_match_lt_parse_options=: _G_opt=$1 shift case $_G_opt in @@ -2386,15 +2471,22 @@ libtool_parse_options () func_append preserve_args " $_G_opt" ;; - # An option not handled by this hook function: - *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + # An option not handled by this hook function: + *) set dummy "$_G_opt" ${1+"$@"} ; shift + _G_match_lt_parse_options=false + break + ;; esac + $_G_match_lt_parse_options && _G_rc_lt_parse_options=: done + if $_G_rc_lt_parse_options; then + # save modified positional parameters for caller + func_quote_for_eval ${1+"$@"} + libtool_parse_options_result=$func_quote_for_eval_result + fi - # save modified positional parameters for caller - func_quote_for_eval ${1+"$@"} - libtool_parse_options_result=$func_quote_for_eval_result + $_G_rc_lt_parse_options } func_add_hook func_parse_options libtool_parse_options @@ -7275,10 +7367,13 @@ func_mode_link () # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer + # -fuse-ld=* Linker select flags for GCC + # -static-* direct GCC to link specific libraries statically + # -fcilkplus Cilk Plus language extension features for C/C++ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ - -specs=*|-fsanitize=*) + -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" diff --git a/m4/libtool.m4 b/m4/libtool.m4 index ee80844b..a6d21ae5 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1041,8 +1041,8 @@ int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD - echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD - $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF @@ -1492,7 +1492,7 @@ need_locks=$enable_libtool_lock m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} -: ${AR_FLAGS=cru} +: ${AR_FLAGS=cr} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) @@ -4063,7 +4063,8 @@ _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD + if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -4703,6 +4704,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + # flang / f18. f95 an alias for gfortran or flang on Debian + flang* | f18* | f95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) @@ -6438,7 +6445,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else GXX=no @@ -6813,7 +6820,7 @@ if test yes != "$_lt_caught_CXX_error"; then # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then @@ -6878,7 +6885,7 @@ if test yes != "$_lt_caught_CXX_error"; then # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then @@ -7217,7 +7224,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else # FIXME: insert proper C++ library support @@ -7301,7 +7308,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. @@ -7312,7 +7319,7 @@ if test yes != "$_lt_caught_CXX_error"; then # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' diff --git a/man/Makefile.am b/man/Makefile.am index f0f5c44b..e9cab28a 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -62,6 +62,7 @@ man_MANS += $(man_nopam) endif man_subids = \ + man1/getsubids.1 \ man1/newgidmap.1 \ man1/newuidmap.1 \ man5/subgid.5 \ @@ -80,6 +81,7 @@ man_XMANS = \ expiry.1.xml \ faillog.5.xml \ faillog.8.xml \ + getsubids.1.xml \ gpasswd.1.xml \ groupadd.8.xml \ groupdel.8.xml \ diff --git a/man/Makefile.in b/man/Makefile.in index 484bc152..3e4de032 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -178,7 +178,7 @@ am__recursive_targets = \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - distdir + distdir distdir-am am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is @@ -407,6 +407,7 @@ man_nopam = \ man5/porttime.5 man_subids = \ + man1/getsubids.1 \ man1/newgidmap.1 \ man1/newuidmap.1 \ man5/subgid.5 \ @@ -421,6 +422,7 @@ man_XMANS = \ expiry.1.xml \ faillog.5.xml \ faillog.8.xml \ + getsubids.1.xml \ gpasswd.1.xml \ groupadd.8.xml \ groupdel.8.xml \ @@ -561,8 +563,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(srcdir)/generate_mans.mak $(am__empty): @@ -854,7 +856,10 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/chage.1.xml b/man/chage.1.xml index afc9ed7a..51fa4e36 100644 --- a/man/chage.1.xml +++ b/man/chage.1.xml @@ -1,32 +1,8 @@ -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "CHFN" "1" "22/07/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "CHFN" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man1/groups.1 b/man/da/man1/groups.1 index 18089d36..48a9a332 100644 --- a/man/da/man1/groups.1 +++ b/man/da/man1/groups.1 @@ -2,12 +2,12 @@ .\" Title: groups .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "GROUPS" "1" "22/07/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "GROUPS" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man1/id.1 b/man/da/man1/id.1 index 08477386..3955ef74 100644 --- a/man/da/man1/id.1 +++ b/man/da/man1/id.1 @@ -2,12 +2,12 @@ .\" Title: id .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "ID" "1" "22/07/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "ID" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man1/newgrp.1 b/man/da/man1/newgrp.1 index 4a5b7f57..9948981e 100644 --- a/man/da/man1/newgrp.1 +++ b/man/da/man1/newgrp.1 @@ -2,12 +2,12 @@ .\" Title: newgrp .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "NEWGRP" "1" "22/07/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "NEWGRP" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man1/sg.1 b/man/da/man1/sg.1 index 8c182966..7e90c3cf 100644 --- a/man/da/man1/sg.1 +++ b/man/da/man1/sg.1 @@ -2,12 +2,12 @@ .\" Title: sg .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "SG" "1" "22/07/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "SG" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man5/gshadow.5 b/man/da/man5/gshadow.5 index 1392e781..eec1889b 100644 --- a/man/da/man5/gshadow.5 +++ b/man/da/man5/gshadow.5 @@ -2,12 +2,12 @@ .\" Title: gshadow .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "GSHADOW" "5" "22/07/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "GSHADOW" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man8/groupdel.8 b/man/da/man8/groupdel.8 index 84a039b8..39986277 100644 --- a/man/da/man8/groupdel.8 +++ b/man/da/man8/groupdel.8 @@ -2,12 +2,12 @@ .\" Title: groupdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Kommandoer for systemh\(oandtering -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "GROUPDEL" "8" "22/07/2021" "shadow\-utils 4\&.9" "Kommandoer for systemh\(oandterin" +.TH "GROUPDEL" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Kommandoer for systemh\(oandterin" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man8/logoutd.8 b/man/da/man8/logoutd.8 index 32abd541..a079b7c3 100644 --- a/man/da/man8/logoutd.8 +++ b/man/da/man8/logoutd.8 @@ -2,12 +2,12 @@ .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Kommandoer for systemh\(oandtering -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "LOGOUTD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Kommandoer for systemh\(oandterin" +.TH "LOGOUTD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Kommandoer for systemh\(oandterin" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man8/nologin.8 b/man/da/man8/nologin.8 index 00cb8e1f..913e1682 100644 --- a/man/da/man8/nologin.8 +++ b/man/da/man8/nologin.8 @@ -2,12 +2,12 @@ .\" Title: nologin .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Kommandoer for systemh\(oandtering -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "NOLOGIN" "8" "22/07/2021" "shadow\-utils 4\&.9" "Kommandoer for systemh\(oandterin" +.TH "NOLOGIN" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Kommandoer for systemh\(oandterin" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/da/man8/vipw.8 b/man/da/man8/vipw.8 index 2d9aade6..ffac8ded 100644 --- a/man/da/man8/vipw.8 +++ b/man/da/man8/vipw.8 @@ -2,12 +2,12 @@ .\" Title: vipw .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Kommandoer for systemh\(oandtering -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Danish .\" -.TH "VIPW" "8" "22/07/2021" "shadow\-utils 4\&.9" "Kommandoer for systemh\(oandterin" +.TH "VIPW" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Kommandoer for systemh\(oandterin" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/Makefile.in b/man/de/Makefile.in index eef3df35..2b07d0d1 100644 --- a/man/de/Makefile.in +++ b/man/de/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -371,8 +371,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(srcdir)/../generate_translations.mak $(srcdir)/../generate_mans.mak $(am__empty): @@ -569,7 +569,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/de/man1/chage.1 b/man/de/man1/chage.1 index fab879b2..4d6994ca 100644 --- a/man/de/man1/chage.1 +++ b/man/de/man1/chage.1 @@ -2,12 +2,12 @@ .\" Title: chage .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "CHAGE" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "CHAGE" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/chfn.1 b/man/de/man1/chfn.1 index 18192968..0c64c4ab 100644 --- a/man/de/man1/chfn.1 +++ b/man/de/man1/chfn.1 @@ -2,12 +2,12 @@ .\" Title: chfn .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "CHFN" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "CHFN" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/chsh.1 b/man/de/man1/chsh.1 index b28e8bbb..ce25dbf7 100644 --- a/man/de/man1/chsh.1 +++ b/man/de/man1/chsh.1 @@ -2,12 +2,12 @@ .\" Title: chsh .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "CHSH" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "CHSH" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/expiry.1 b/man/de/man1/expiry.1 index 6cc8c4e5..533d7344 100644 --- a/man/de/man1/expiry.1 +++ b/man/de/man1/expiry.1 @@ -2,12 +2,12 @@ .\" Title: expiry .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "EXPIRY" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "EXPIRY" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/gpasswd.1 b/man/de/man1/gpasswd.1 index 6fdc0a2d..626890e6 100644 --- a/man/de/man1/gpasswd.1 +++ b/man/de/man1/gpasswd.1 @@ -2,12 +2,12 @@ .\" Title: gpasswd .\" Author: Rafal Maszkowski .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GPASSWD" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "GPASSWD" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/groups.1 b/man/de/man1/groups.1 index 58a19055..d3bfa701 100644 --- a/man/de/man1/groups.1 +++ b/man/de/man1/groups.1 @@ -2,12 +2,12 @@ .\" Title: groups .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GROUPS" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "GROUPS" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/id.1 b/man/de/man1/id.1 index f2b79537..6563869c 100644 --- a/man/de/man1/id.1 +++ b/man/de/man1/id.1 @@ -2,12 +2,12 @@ .\" Title: id .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "ID" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "ID" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/login.1 b/man/de/man1/login.1 index a9ec0487..b59a95bb 100644 --- a/man/de/man1/login.1 +++ b/man/de/man1/login.1 @@ -2,12 +2,12 @@ .\" Title: login .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "LOGIN" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "LOGIN" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -319,7 +319,9 @@ Sie sollten dies abschalten, wenn schon die Startdateien der Shell die Mails pr\ .PP \fBMAIL_DIR\fR (string) .RS 4 -Das Verzeichnis des Mail\-Spools\&. Diese Angabe wird ben\(:otigt, um die Mailbox zu bearbeiten, nachdem das entsprechende Benutzerkonto ver\(:andert oder gel\(:oscht wurde\&. Falls nicht angegeben, wird ein Standard verwendet, der beim Kompilieren festgelegt wurde\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/de/man1/newgrp.1 b/man/de/man1/newgrp.1 index bd2edd22..df9e573c 100644 --- a/man/de/man1/newgrp.1 +++ b/man/de/man1/newgrp.1 @@ -2,12 +2,12 @@ .\" Title: newgrp .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "NEWGRP" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "NEWGRP" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/passwd.1 b/man/de/man1/passwd.1 index 4c5526f5..10727a9c 100644 --- a/man/de/man1/passwd.1 +++ b/man/de/man1/passwd.1 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "PASSWD" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "PASSWD" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/sg.1 b/man/de/man1/sg.1 index 057259c5..1df115b5 100644 --- a/man/de/man1/sg.1 +++ b/man/de/man1/sg.1 @@ -2,12 +2,12 @@ .\" Title: sg .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "SG" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "SG" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man1/su.1 b/man/de/man1/su.1 index ee3bc50e..9a1524e7 100644 --- a/man/de/man1/su.1 +++ b/man/de/man1/su.1 @@ -2,12 +2,12 @@ .\" Title: su .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Dienstprogramme f\(:ur Benutzer -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "SU" "1" "22.07.2021" "shadow\-utils 4\&.9" "Dienstprogramme f\(:ur Benutzer" +.TH "SU" "1" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Dienstprogramme f\(:ur Benutzer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -312,7 +312,9 @@ Sie sollten dies abschalten, wenn schon die Startdateien der Shell die Mails pr\ .PP \fBMAIL_DIR\fR (string) .RS 4 -Das Verzeichnis des Mail\-Spools\&. Diese Angabe wird ben\(:otigt, um die Mailbox zu bearbeiten, nachdem das entsprechende Benutzerkonto ver\(:andert oder gel\(:oscht wurde\&. Falls nicht angegeben, wird ein Standard verwendet, der beim Kompilieren festgelegt wurde\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/de/man3/shadow.3 b/man/de/man3/shadow.3 index 24caa955..47a7d525 100644 --- a/man/de/man3/shadow.3 +++ b/man/de/man3/shadow.3 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Bibliotheksaufrufe -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "SHADOW" "3" "22.07.2021" "shadow\-utils 4\&.9" "Bibliotheksaufrufe" +.TH "SHADOW" "3" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Bibliotheksaufrufe" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/faillog.5 b/man/de/man5/faillog.5 index fe3e1d1a..8dec9878 100644 --- a/man/de/man5/faillog.5 +++ b/man/de/man5/faillog.5 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "FAILLOG" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "FAILLOG" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuratio" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/gshadow.5 b/man/de/man5/gshadow.5 index 588cb9ce..98b59a38 100644 --- a/man/de/man5/gshadow.5 +++ b/man/de/man5/gshadow.5 @@ -2,12 +2,12 @@ .\" Title: gshadow .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GSHADOW" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "GSHADOW" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/limits.5 b/man/de/man5/limits.5 index 0c2539e1..2cbb5b65 100644 --- a/man/de/man5/limits.5 +++ b/man/de/man5/limits.5 @@ -2,12 +2,12 @@ .\" Title: limits .\" Author: Luca Berra .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "LIMITS" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "LIMITS" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/login.access.5 b/man/de/man5/login.access.5 index 1fab4f9f..43f367d7 100644 --- a/man/de/man5/login.access.5 +++ b/man/de/man5/login.access.5 @@ -2,12 +2,12 @@ .\" Title: login.access .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "LOGIN\&.ACCESS" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "LOGIN\&.ACCESS" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/login.defs.5 b/man/de/man5/login.defs.5 index bc2dbe34..b4e337a3 100644 --- a/man/de/man5/login.defs.5 +++ b/man/de/man5/login.defs.5 @@ -2,12 +2,12 @@ .\" Title: login.defs .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "LOGIN\&.DEFS" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "LOGIN\&.DEFS" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -318,7 +318,9 @@ Sie sollten dies abschalten, wenn schon die Startdateien der Shell die Mails pr\ .PP \fBMAIL_DIR\fR (string) .RS 4 -Das Verzeichnis des Mail\-Spools\&. Diese Angabe wird ben\(:otigt, um die Mailbox zu bearbeiten, nachdem das entsprechende Benutzerkonto ver\(:andert oder gel\(:oscht wurde\&. Falls nicht angegeben, wird ein Standard verwendet, der beim Kompilieren festgelegt wurde\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/de/man5/passwd.5 b/man/de/man5/passwd.5 index 3db541ca..9299f53d 100644 --- a/man/de/man5/passwd.5 +++ b/man/de/man5/passwd.5 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "PASSWD" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "PASSWD" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/porttime.5 b/man/de/man5/porttime.5 index e0546468..e909273f 100644 --- a/man/de/man5/porttime.5 +++ b/man/de/man5/porttime.5 @@ -2,12 +2,12 @@ .\" Title: porttime .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "PORTTIME" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "PORTTIME" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/shadow.5 b/man/de/man5/shadow.5 index 7027137b..6b688d28 100644 --- a/man/de/man5/shadow.5 +++ b/man/de/man5/shadow.5 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "SHADOW" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "SHADOW" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man5/suauth.5 b/man/de/man5/suauth.5 index 3c648190..7a4116e5 100644 --- a/man/de/man5/suauth.5 +++ b/man/de/man5/suauth.5 @@ -2,12 +2,12 @@ .\" Title: suauth .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 -.\" Manual: Dateiformate und konvertierung -.\" Source: shadow-utils 4.9 +.\" Date: 02.01.2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "SUAUTH" "5" "22.07.2021" "shadow\-utils 4\&.9" "Dateiformate und konvertierung" +.TH "SUAUTH" "5" "02.01.2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/chgpasswd.8 b/man/de/man8/chgpasswd.8 index 56372d45..75ba2da3 100644 --- a/man/de/man8/chgpasswd.8 +++ b/man/de/man8/chgpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chgpasswd .\" Author: Thomas K\(/loczko .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "CHGPASSWD" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "CHGPASSWD" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/chpasswd.8 b/man/de/man8/chpasswd.8 index 650f1618..4022fbf6 100644 --- a/man/de/man8/chpasswd.8 +++ b/man/de/man8/chpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chpasswd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "CHPASSWD" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "CHPASSWD" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/faillog.8 b/man/de/man8/faillog.8 index 3390a22a..acd1e8ee 100644 --- a/man/de/man8/faillog.8 +++ b/man/de/man8/faillog.8 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "FAILLOG" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "FAILLOG" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/groupadd.8 b/man/de/man8/groupadd.8 index d594d79a..7be33aaf 100644 --- a/man/de/man8/groupadd.8 +++ b/man/de/man8/groupadd.8 @@ -2,12 +2,12 @@ .\" Title: groupadd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GROUPADD" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "GROUPADD" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/groupdel.8 b/man/de/man8/groupdel.8 index 90a8ec45..45141e4e 100644 --- a/man/de/man8/groupdel.8 +++ b/man/de/man8/groupdel.8 @@ -2,12 +2,12 @@ .\" Title: groupdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GROUPDEL" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "GROUPDEL" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/groupmems.8 b/man/de/man8/groupmems.8 index 5a8dfccc..24126bc1 100644 --- a/man/de/man8/groupmems.8 +++ b/man/de/man8/groupmems.8 @@ -2,12 +2,12 @@ .\" Title: groupmems .\" Author: George Kraft, IV .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GROUPMEMS" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "GROUPMEMS" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/groupmod.8 b/man/de/man8/groupmod.8 index 6a5a6b2e..8fe8da0c 100644 --- a/man/de/man8/groupmod.8 +++ b/man/de/man8/groupmod.8 @@ -2,12 +2,12 @@ .\" Title: groupmod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GROUPMOD" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "GROUPMOD" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/grpck.8 b/man/de/man8/grpck.8 index 97faefc7..fdacb2b4 100644 --- a/man/de/man8/grpck.8 +++ b/man/de/man8/grpck.8 @@ -2,12 +2,12 @@ .\" Title: grpck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "GRPCK" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "GRPCK" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/lastlog.8 b/man/de/man8/lastlog.8 index fae9ad8f..8f472eb6 100644 --- a/man/de/man8/lastlog.8 +++ b/man/de/man8/lastlog.8 @@ -2,12 +2,12 @@ .\" Title: lastlog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "LASTLOG" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "LASTLOG" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/logoutd.8 b/man/de/man8/logoutd.8 index 3a1c02c7..55cd6504 100644 --- a/man/de/man8/logoutd.8 +++ b/man/de/man8/logoutd.8 @@ -2,12 +2,12 @@ .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "LOGOUTD" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "LOGOUTD" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/newusers.8 b/man/de/man8/newusers.8 index 41d3bf32..2edb20d4 100644 --- a/man/de/man8/newusers.8 +++ b/man/de/man8/newusers.8 @@ -2,12 +2,12 @@ .\" Title: newusers .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "NEWUSERS" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "NEWUSERS" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/nologin.8 b/man/de/man8/nologin.8 index 68044d99..59a583a9 100644 --- a/man/de/man8/nologin.8 +++ b/man/de/man8/nologin.8 @@ -2,12 +2,12 @@ .\" Title: nologin .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "NOLOGIN" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "NOLOGIN" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/pwck.8 b/man/de/man8/pwck.8 index d37b102b..69544b10 100644 --- a/man/de/man8/pwck.8 +++ b/man/de/man8/pwck.8 @@ -2,12 +2,12 @@ .\" Title: pwck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "PWCK" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "PWCK" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/pwconv.8 b/man/de/man8/pwconv.8 index 5f875fca..177bbf47 100644 --- a/man/de/man8/pwconv.8 +++ b/man/de/man8/pwconv.8 @@ -2,12 +2,12 @@ .\" Title: pwconv .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "PWCONV" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "PWCONV" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/sulogin.8 b/man/de/man8/sulogin.8 index c6822bec..7bd6326f 100644 --- a/man/de/man8/sulogin.8 +++ b/man/de/man8/sulogin.8 @@ -2,12 +2,12 @@ .\" Title: sulogin .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "SULOGIN" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "SULOGIN" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/de/man8/useradd.8 b/man/de/man8/useradd.8 index 7e163024..76826c1c 100644 --- a/man/de/man8/useradd.8 +++ b/man/de/man8/useradd.8 @@ -2,12 +2,12 @@ .\" Title: useradd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "USERADD" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "USERADD" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -213,6 +213,14 @@ options can be specified, e\&.g\&.: F\(:ugt den Benutzer nicht zu den Datenbanken lastlog und faillog hinzu\&. .sp By default, the user\*(Aqs entries in the lastlog and faillog databases are reset to avoid reusing the entry from a previously deleted user\&. +.sp +If this option is not specified, +\fBuseradd\fR +will also consult the variable +\fBLOG_INIT\fR +in the +/etc/default/useradd +if set to no the user will not be added to the lastlog and faillog databases\&. .RE .PP \fB\-m\fR, \fB\-\-create\-home\fR @@ -496,7 +504,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -Das Verzeichnis des Mail\-Spools\&. Diese Angabe wird ben\(:otigt, um die Mailbox zu bearbeiten, nachdem das entsprechende Benutzerkonto ver\(:andert oder gel\(:oscht wurde\&. Falls nicht angegeben, wird ein Standard verwendet, der beim Kompilieren festgelegt wurde\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/de/man8/userdel.8 b/man/de/man8/userdel.8 index e13a44a8..a702738b 100644 --- a/man/de/man8/userdel.8 +++ b/man/de/man8/userdel.8 @@ -2,12 +2,12 @@ .\" Title: userdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "USERDEL" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "USERDEL" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -106,7 +106,9 @@ change the behavior of this tool: .PP \fBMAIL_DIR\fR (string) .RS 4 -Das Verzeichnis des Mail\-Spools\&. Diese Angabe wird ben\(:otigt, um die Mailbox zu bearbeiten, nachdem das entsprechende Benutzerkonto ver\(:andert oder gel\(:oscht wurde\&. Falls nicht angegeben, wird ein Standard verwendet, der beim Kompilieren festgelegt wurde\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/de/man8/usermod.8 b/man/de/man8/usermod.8 index 0d04d49e..0c06c205 100644 --- a/man/de/man8/usermod.8 +++ b/man/de/man8/usermod.8 @@ -2,12 +2,12 @@ .\" Title: usermod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "USERMOD" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "USERMOD" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -175,6 +175,13 @@ This option is not recommended because the password (or encrypted password) will Sie sollten sicherstellen, dass das Passwort den Passwortrichtlinien des Systems entspricht\&. .RE .PP +\fB\-r\fR, \fB\-\-remove\fR +.RS 4 +Remove the user from named supplementary group(s)\&. Use only with the +\fB\-G\fR +option\&. +.RE +.PP \fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_DIR\fR .RS 4 Apply changes in the @@ -338,7 +345,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -Das Verzeichnis des Mail\-Spools\&. Diese Angabe wird ben\(:otigt, um die Mailbox zu bearbeiten, nachdem das entsprechende Benutzerkonto ver\(:andert oder gel\(:oscht wurde\&. Falls nicht angegeben, wird ein Standard verwendet, der beim Kompilieren festgelegt wurde\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/de/man8/vipw.8 b/man/de/man8/vipw.8 index 5ab693b6..26deda10 100644 --- a/man/de/man8/vipw.8 +++ b/man/de/man8/vipw.8 @@ -2,12 +2,12 @@ .\" Title: vipw .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22.07.2021 +.\" Date: 02.01.2022 .\" Manual: Befehle zur Systemverwaltung -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: German .\" -.TH "VIPW" "8" "22.07.2021" "shadow\-utils 4\&.9" "Befehle zur Systemverwaltung" +.TH "VIPW" "8" "02.01.2022" "shadow\-utils 4\&.11\&.1" "Befehle zur Systemverwaltung" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/es/Makefile.in b/man/es/Makefile.in index 463da5af..57fc87be 100644 --- a/man/es/Makefile.in +++ b/man/es/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -317,8 +317,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -342,7 +342,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/expiry.1.xml b/man/expiry.1.xml index 63575b03..338b3bf7 100644 --- a/man/expiry.1.xml +++ b/man/expiry.1.xml @@ -1,33 +1,9 @@ faillog 5 - File Formats and Conversions + File Formats and Configuration Files shadow-utils &SHADOW_UTILS_VERSION; diff --git a/man/faillog.8.xml b/man/faillog.8.xml index a9132a8f..16f40090 100644 --- a/man/faillog.8.xml +++ b/man/faillog.8.xml @@ -1,32 +1,8 @@ -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "CHAGE" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "CHAGE" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/chfn.1 b/man/fr/man1/chfn.1 index f00ad7b6..bc8e829e 100644 --- a/man/fr/man1/chfn.1 +++ b/man/fr/man1/chfn.1 @@ -2,12 +2,12 @@ .\" Title: chfn .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "CHFN" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "CHFN" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/chsh.1 b/man/fr/man1/chsh.1 index f49606c9..656396ce 100644 --- a/man/fr/man1/chsh.1 +++ b/man/fr/man1/chsh.1 @@ -2,12 +2,12 @@ .\" Title: chsh .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "CHSH" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "CHSH" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/expiry.1 b/man/fr/man1/expiry.1 index 2058b1f1..bcdd4d31 100644 --- a/man/fr/man1/expiry.1 +++ b/man/fr/man1/expiry.1 @@ -2,12 +2,12 @@ .\" Title: expiry .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "EXPIRY" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "EXPIRY" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/gpasswd.1 b/man/fr/man1/gpasswd.1 index c044a5b6..46bea474 100644 --- a/man/fr/man1/gpasswd.1 +++ b/man/fr/man1/gpasswd.1 @@ -2,12 +2,12 @@ .\" Title: gpasswd .\" Author: rafal Maszkowski .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GPASSWD" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "GPASSWD" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/groups.1 b/man/fr/man1/groups.1 index aa90d325..dd4a2f7c 100644 --- a/man/fr/man1/groups.1 +++ b/man/fr/man1/groups.1 @@ -2,12 +2,12 @@ .\" Title: groups .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GROUPS" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "GROUPS" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/id.1 b/man/fr/man1/id.1 index 30bebbe9..3cb5fffe 100644 --- a/man/fr/man1/id.1 +++ b/man/fr/man1/id.1 @@ -2,12 +2,12 @@ .\" Title: id .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "ID" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "ID" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/login.1 b/man/fr/man1/login.1 index 00b591de..c717319d 100644 --- a/man/fr/man1/login.1 +++ b/man/fr/man1/login.1 @@ -2,12 +2,12 @@ .\" Title: login .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "LOGIN" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "LOGIN" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -318,7 +318,9 @@ Vous devriez le d\('esactiver si les fichiers de d\('emarrage de l\*(Aqinterpr\( .PP \fBMAIL_DIR\fR (string) .RS 4 -R\('epertoire d\*(Aqattente des courriels (\(Fo\ \&mail spool directory\ \&\(Fc)\&. Ce param\(`etre est n\('ecessaire pour manipuler les bo\(^ites \(`a lettres lorsque le compte d\*(Aqun utilisateur est modifi\('e ou supprim\('e\&. S\*(Aqil n\*(Aqest pas sp\('ecifi\('e, une valeur par d\('efaut d\('efinie \(`a la compilation est utilis\('ee\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/fr/man1/newgidmap.1 b/man/fr/man1/newgidmap.1 index c10052b1..25cc1db5 100644 --- a/man/fr/man1/newgidmap.1 +++ b/man/fr/man1/newgidmap.1 @@ -2,12 +2,12 @@ .\" Title: newgidmap .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "NEWGIDMAP" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "NEWGIDMAP" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/newgrp.1 b/man/fr/man1/newgrp.1 index c7e00069..20271cb6 100644 --- a/man/fr/man1/newgrp.1 +++ b/man/fr/man1/newgrp.1 @@ -2,12 +2,12 @@ .\" Title: newgrp .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "NEWGRP" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "NEWGRP" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/newuidmap.1 b/man/fr/man1/newuidmap.1 index 64cd2b6e..30ad5b26 100644 --- a/man/fr/man1/newuidmap.1 +++ b/man/fr/man1/newuidmap.1 @@ -2,12 +2,12 @@ .\" Title: newuidmap .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "NEWUIDMAP" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "NEWUIDMAP" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/passwd.1 b/man/fr/man1/passwd.1 index b7981fe0..d07db7c1 100644 --- a/man/fr/man1/passwd.1 +++ b/man/fr/man1/passwd.1 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "PASSWD" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "PASSWD" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/sg.1 b/man/fr/man1/sg.1 index cadcfafc..ce67aaa9 100644 --- a/man/fr/man1/sg.1 +++ b/man/fr/man1/sg.1 @@ -2,12 +2,12 @@ .\" Title: sg .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SG" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "SG" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man1/su.1 b/man/fr/man1/su.1 index ce5416a7..210a56cf 100644 --- a/man/fr/man1/su.1 +++ b/man/fr/man1/su.1 @@ -2,12 +2,12 @@ .\" Title: su .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes utilisateur -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SU" "1" "22/07/2021" "shadow\-utils 4\&.9" "Commandes utilisateur" +.TH "SU" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes utilisateur" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -312,7 +312,9 @@ Vous devriez le d\('esactiver si les fichiers de d\('emarrage de l\*(Aqinterpr\( .PP \fBMAIL_DIR\fR (string) .RS 4 -R\('epertoire d\*(Aqattente des courriels (\(Fo\ \&mail spool directory\ \&\(Fc)\&. Ce param\(`etre est n\('ecessaire pour manipuler les bo\(^ites \(`a lettres lorsque le compte d\*(Aqun utilisateur est modifi\('e ou supprim\('e\&. S\*(Aqil n\*(Aqest pas sp\('ecifi\('e, une valeur par d\('efaut d\('efinie \(`a la compilation est utilis\('ee\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/fr/man3/shadow.3 b/man/fr/man3/shadow.3 index ff5933ef..2fd8f207 100644 --- a/man/fr/man3/shadow.3 +++ b/man/fr/man3/shadow.3 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Appels de biblioth\(`eque -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SHADOW" "3" "22/07/2021" "shadow\-utils 4\&.9" "Appels de biblioth\(`eque" +.TH "SHADOW" "3" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Appels de biblioth\(`eque" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/faillog.5 b/man/fr/man5/faillog.5 index 40fc171f..7af4be49 100644 --- a/man/fr/man5/faillog.5 +++ b/man/fr/man5/faillog.5 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "FAILLOG" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "FAILLOG" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuratio" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/gshadow.5 b/man/fr/man5/gshadow.5 index 1201f97f..e144b596 100644 --- a/man/fr/man5/gshadow.5 +++ b/man/fr/man5/gshadow.5 @@ -2,12 +2,12 @@ .\" Title: gshadow .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GSHADOW" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "GSHADOW" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/limits.5 b/man/fr/man5/limits.5 index 361c1839..f62ca033 100644 --- a/man/fr/man5/limits.5 +++ b/man/fr/man5/limits.5 @@ -2,12 +2,12 @@ .\" Title: limits .\" Author: Luca Berra .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "LIMITS" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "LIMITS" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/login.access.5 b/man/fr/man5/login.access.5 index bb15a6ec..fcdb95a7 100644 --- a/man/fr/man5/login.access.5 +++ b/man/fr/man5/login.access.5 @@ -2,12 +2,12 @@ .\" Title: login.access .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "LOGIN\&.ACCESS" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "LOGIN\&.ACCESS" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/login.defs.5 b/man/fr/man5/login.defs.5 index 5b4092a4..61043ca6 100644 --- a/man/fr/man5/login.defs.5 +++ b/man/fr/man5/login.defs.5 @@ -2,12 +2,12 @@ .\" Title: login.defs .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "LOGIN\&.DEFS" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "LOGIN\&.DEFS" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -317,7 +317,9 @@ Vous devriez le d\('esactiver si les fichiers de d\('emarrage de l\*(Aqinterpr\( .PP \fBMAIL_DIR\fR (string) .RS 4 -R\('epertoire d\*(Aqattente des courriels (\(Fo\ \&mail spool directory\ \&\(Fc)\&. Ce param\(`etre est n\('ecessaire pour manipuler les bo\(^ites \(`a lettres lorsque le compte d\*(Aqun utilisateur est modifi\('e ou supprim\('e\&. S\*(Aqil n\*(Aqest pas sp\('ecifi\('e, une valeur par d\('efaut d\('efinie \(`a la compilation est utilis\('ee\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/fr/man5/passwd.5 b/man/fr/man5/passwd.5 index af35e5ed..9958bb20 100644 --- a/man/fr/man5/passwd.5 +++ b/man/fr/man5/passwd.5 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "PASSWD" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "PASSWD" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/porttime.5 b/man/fr/man5/porttime.5 index ee2c6277..f8287924 100644 --- a/man/fr/man5/porttime.5 +++ b/man/fr/man5/porttime.5 @@ -2,12 +2,12 @@ .\" Title: porttime .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "PORTTIME" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "PORTTIME" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/shadow.5 b/man/fr/man5/shadow.5 index 1806908e..a76cd556 100644 --- a/man/fr/man5/shadow.5 +++ b/man/fr/man5/shadow.5 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SHADOW" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "SHADOW" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/suauth.5 b/man/fr/man5/suauth.5 index c91567b9..79b69d30 100644 --- a/man/fr/man5/suauth.5 +++ b/man/fr/man5/suauth.5 @@ -2,12 +2,12 @@ .\" Title: suauth .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SUAUTH" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "SUAUTH" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/subgid.5 b/man/fr/man5/subgid.5 index 5d015468..491f5e4a 100644 --- a/man/fr/man5/subgid.5 +++ b/man/fr/man5/subgid.5 @@ -2,12 +2,12 @@ .\" Title: subgid .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SUBGID" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "SUBGID" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man5/subuid.5 b/man/fr/man5/subuid.5 index b7b6487c..8a399aa4 100644 --- a/man/fr/man5/subuid.5 +++ b/man/fr/man5/subuid.5 @@ -2,12 +2,12 @@ .\" Title: subuid .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formats et conversions de fichiers -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SUBUID" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formats et conversions de fich" +.TH "SUBUID" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/chgpasswd.8 b/man/fr/man8/chgpasswd.8 index f17e16ab..3ce9e288 100644 --- a/man/fr/man8/chgpasswd.8 +++ b/man/fr/man8/chgpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chgpasswd .\" Author: Thomas K\(/loczko .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "CHGPASSWD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "CHGPASSWD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/chpasswd.8 b/man/fr/man8/chpasswd.8 index b97e946a..ce03e609 100644 --- a/man/fr/man8/chpasswd.8 +++ b/man/fr/man8/chpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chpasswd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "CHPASSWD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "CHPASSWD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/faillog.8 b/man/fr/man8/faillog.8 index 81c69f8d..75a5ba65 100644 --- a/man/fr/man8/faillog.8 +++ b/man/fr/man8/faillog.8 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "FAILLOG" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "FAILLOG" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/groupadd.8 b/man/fr/man8/groupadd.8 index 6c245755..6e80b27d 100644 --- a/man/fr/man8/groupadd.8 +++ b/man/fr/man8/groupadd.8 @@ -2,12 +2,12 @@ .\" Title: groupadd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GROUPADD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "GROUPADD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/groupdel.8 b/man/fr/man8/groupdel.8 index d02df2fc..ef07210d 100644 --- a/man/fr/man8/groupdel.8 +++ b/man/fr/man8/groupdel.8 @@ -2,12 +2,12 @@ .\" Title: groupdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GROUPDEL" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "GROUPDEL" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/groupmems.8 b/man/fr/man8/groupmems.8 index df16b497..773e0f28 100644 --- a/man/fr/man8/groupmems.8 +++ b/man/fr/man8/groupmems.8 @@ -2,12 +2,12 @@ .\" Title: groupmems .\" Author: George Kraft, IV .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GROUPMEMS" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "GROUPMEMS" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/groupmod.8 b/man/fr/man8/groupmod.8 index 143d2092..938f9693 100644 --- a/man/fr/man8/groupmod.8 +++ b/man/fr/man8/groupmod.8 @@ -2,12 +2,12 @@ .\" Title: groupmod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GROUPMOD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "GROUPMOD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/grpck.8 b/man/fr/man8/grpck.8 index 456a8e51..c76f485a 100644 --- a/man/fr/man8/grpck.8 +++ b/man/fr/man8/grpck.8 @@ -2,12 +2,12 @@ .\" Title: grpck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "GRPCK" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "GRPCK" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/lastlog.8 b/man/fr/man8/lastlog.8 index f6659b1a..5247c1bf 100644 --- a/man/fr/man8/lastlog.8 +++ b/man/fr/man8/lastlog.8 @@ -2,12 +2,12 @@ .\" Title: lastlog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "LASTLOG" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "LASTLOG" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/logoutd.8 b/man/fr/man8/logoutd.8 index 5a2bfbfa..b0b9f71a 100644 --- a/man/fr/man8/logoutd.8 +++ b/man/fr/man8/logoutd.8 @@ -2,12 +2,12 @@ .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "LOGOUTD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "LOGOUTD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/newusers.8 b/man/fr/man8/newusers.8 index a32e0868..020caa06 100644 --- a/man/fr/man8/newusers.8 +++ b/man/fr/man8/newusers.8 @@ -2,12 +2,12 @@ .\" Title: newusers .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "NEWUSERS" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "NEWUSERS" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/nologin.8 b/man/fr/man8/nologin.8 index 2f3c8da0..cb59e075 100644 --- a/man/fr/man8/nologin.8 +++ b/man/fr/man8/nologin.8 @@ -2,12 +2,12 @@ .\" Title: nologin .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "NOLOGIN" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "NOLOGIN" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/pwck.8 b/man/fr/man8/pwck.8 index ba9bbe46..a110453d 100644 --- a/man/fr/man8/pwck.8 +++ b/man/fr/man8/pwck.8 @@ -2,12 +2,12 @@ .\" Title: pwck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "PWCK" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "PWCK" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/pwconv.8 b/man/fr/man8/pwconv.8 index d37d0c6b..1281cdb6 100644 --- a/man/fr/man8/pwconv.8 +++ b/man/fr/man8/pwconv.8 @@ -2,12 +2,12 @@ .\" Title: pwconv .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "PWCONV" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "PWCONV" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/sulogin.8 b/man/fr/man8/sulogin.8 index 060776ec..648d941c 100644 --- a/man/fr/man8/sulogin.8 +++ b/man/fr/man8/sulogin.8 @@ -2,12 +2,12 @@ .\" Title: sulogin .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "SULOGIN" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "SULOGIN" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/fr/man8/useradd.8 b/man/fr/man8/useradd.8 index 9893649b..e95200e8 100644 --- a/man/fr/man8/useradd.8 +++ b/man/fr/man8/useradd.8 @@ -2,12 +2,12 @@ .\" Title: useradd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "USERADD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "USERADD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -213,6 +213,14 @@ options can be specified, e\&.g\&.: N\*(Aqajoute pas l\*(Aqutilisateur aux bases de donn\('ees lastlog et faillog\&. .sp Par d\('efaut, les entr\('ees de l\*(Aqutilisateur dans les bases de donn\('ees lastlog et faillog sont remises \(`a z\('ero pour \('eviter de r\('eutiliser les entr\('ees d\*(Aqun utilisateur pr\('ec\('edemment supprim\('e\&. +.sp +If this option is not specified, +\fBuseradd\fR +will also consult the variable +\fBLOG_INIT\fR +in the +/etc/default/useradd +if set to no the user will not be added to the lastlog and faillog databases\&. .RE .PP \fB\-m\fR, \fB\-\-create\-home\fR @@ -496,7 +504,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -R\('epertoire d\*(Aqattente des courriels (\(Fo\ \&mail spool directory\ \&\(Fc)\&. Ce param\(`etre est n\('ecessaire pour manipuler les bo\(^ites \(`a lettres lorsque le compte d\*(Aqun utilisateur est modifi\('e ou supprim\('e\&. S\*(Aqil n\*(Aqest pas sp\('ecifi\('e, une valeur par d\('efaut d\('efinie \(`a la compilation est utilis\('ee\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/fr/man8/userdel.8 b/man/fr/man8/userdel.8 index ec5c79e6..4de7332b 100644 --- a/man/fr/man8/userdel.8 +++ b/man/fr/man8/userdel.8 @@ -2,12 +2,12 @@ .\" Title: userdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "USERDEL" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "USERDEL" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -106,7 +106,9 @@ change the behavior of this tool: .PP \fBMAIL_DIR\fR (string) .RS 4 -R\('epertoire d\*(Aqattente des courriels (\(Fo\ \&mail spool directory\ \&\(Fc)\&. Ce param\(`etre est n\('ecessaire pour manipuler les bo\(^ites \(`a lettres lorsque le compte d\*(Aqun utilisateur est modifi\('e ou supprim\('e\&. S\*(Aqil n\*(Aqest pas sp\('ecifi\('e, une valeur par d\('efaut d\('efinie \(`a la compilation est utilis\('ee\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/fr/man8/usermod.8 b/man/fr/man8/usermod.8 index 03bcdae8..b748a699 100644 --- a/man/fr/man8/usermod.8 +++ b/man/fr/man8/usermod.8 @@ -2,12 +2,12 @@ .\" Title: usermod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "USERMOD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "USERMOD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -175,6 +175,13 @@ This option is not recommended because the password (or encrypted password) will Il est n\('ecessaire de v\('erifier si le mot de passe respecte la politique de mots de passe du syst\(`eme\&. .RE .PP +\fB\-r\fR, \fB\-\-remove\fR +.RS 4 +Remove the user from named supplementary group(s)\&. Use only with the +\fB\-G\fR +option\&. +.RE +.PP \fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_DIR\fR .RS 4 Apply changes in the @@ -338,7 +345,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -R\('epertoire d\*(Aqattente des courriels (\(Fo\ \&mail spool directory\ \&\(Fc)\&. Ce param\(`etre est n\('ecessaire pour manipuler les bo\(^ites \(`a lettres lorsque le compte d\*(Aqun utilisateur est modifi\('e ou supprim\('e\&. S\*(Aqil n\*(Aqest pas sp\('ecifi\('e, une valeur par d\('efaut d\('efinie \(`a la compilation est utilis\('ee\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/fr/man8/vipw.8 b/man/fr/man8/vipw.8 index b8baa686..24cf3b4e 100644 --- a/man/fr/man8/vipw.8 +++ b/man/fr/man8/vipw.8 @@ -2,12 +2,12 @@ .\" Title: vipw .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Commandes de gestion du syst\(`eme -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: French .\" -.TH "VIPW" "8" "22/07/2021" "shadow\-utils 4\&.9" "Commandes de gestion du syst\(`em" +.TH "VIPW" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Commandes de gestion du syst\(`em" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/getsubids.1.xml b/man/getsubids.1.xml new file mode 100644 index 00000000..1fded748 --- /dev/null +++ b/man/getsubids.1.xml @@ -0,0 +1,127 @@ + + + +]> + + + + + Iker + Pedrosa + Creation, 2021 + + + + getsubids + 1 + User Commands + shadow-utils + &SHADOW_UTILS_VERSION; + + + getsubids + get the subordinate id ranges for a user + + + + + getsubids + + options + + + USER + + + + + + DESCRIPTION + + The getsubids command lists the subordinate user ID + ranges for a given user. The subordinate group IDs can be listed using + the option. + + + + + OPTIONS + + The options which apply to the getsubids command are: + + + + + + + + + List the subordinate group ID ranges. + + + + + + + + + + Display help message and exit. + + + + + + + + EXAMPLE + + For example, to obtain the subordinate UIDs of the testuser: + + + +$ getsubids testuser +0: testuser 100000 65536 + + + + This command output provides (in order from left to right) the list + index, username, UID range start, and number of UIDs in range. + + + + + SEE ALSO + + + login.defs5 + , + + newgidmap1 + , + + newuidmap1 + , + + subgid5 + , + + subuid5 + , + + useradd8 + , + + userdel8 + . + + usermod8 + , + + + diff --git a/man/gpasswd.1.xml b/man/gpasswd.1.xml index ebd1b419..cd11a8e4 100644 --- a/man/gpasswd.1.xml +++ b/man/gpasswd.1.xml @@ -1,32 +1,8 @@ gshadow 5 - File Formats and Conversions + File Formats and Configuration Files shadow-utils &SHADOW_UTILS_VERSION; diff --git a/man/hu/Makefile.in b/man/hu/Makefile.in index 0ee1c04a..341909fe 100644 --- a/man/hu/Makefile.in +++ b/man/hu/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -351,8 +351,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -505,7 +505,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/hu/man1/chsh.1 b/man/hu/man1/chsh.1 index b4b1b4d5..96a2c132 100644 --- a/man/hu/man1/chsh.1 +++ b/man/hu/man1/chsh.1 @@ -1,33 +1,5 @@ -.\" Copyright 1990, John F. Haugh II -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by John F. Haugh, II -.\" and other contributors. -.\" 4. Neither the name of John F. Haugh, II nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JOHN HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JOHN HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1990, John F. Haugh II +.\" SPDX-License-Identifier: BSD-3-Clause .\" .\" $Id$ .\" diff --git a/man/hu/man1/groups.1 b/man/hu/man1/groups.1 index 9b87e511..c09a8bfd 100644 --- a/man/hu/man1/groups.1 +++ b/man/hu/man1/groups.1 @@ -1,29 +1,5 @@ -.\" Copyright 1991 \- 1994, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1991 \- 1994, Julianne Frances Haugh +.\" SPDX-License-Identifier: BSD-3-Clause .\" .\" $Id$ .\" diff --git a/man/hu/man1/login.1 b/man/hu/man1/login.1 index f84ea824..7f38ff17 100644 --- a/man/hu/man1/login.1 +++ b/man/hu/man1/login.1 @@ -1,29 +1,5 @@ -.\" Copyright 1989 \- 1994, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1989 \- 1994, Julianne Frances Haugh +.\" SPDX-License-Identifier: BSD-3-Clause .\" .\" $Id$ .\" diff --git a/man/hu/man1/newgrp.1 b/man/hu/man1/newgrp.1 index 714f1875..b2ce878a 100644 --- a/man/hu/man1/newgrp.1 +++ b/man/hu/man1/newgrp.1 @@ -1,30 +1,7 @@ -.\" Copyright 1991, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1991, Julianne Frances Haugh +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" Hungarian translation by Peter Mamuzsics -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. .\" .\" $Id$ .\" diff --git a/man/hu/man1/passwd.1 b/man/hu/man1/passwd.1 index dab98dd1..380f6ae9 100644 --- a/man/hu/man1/passwd.1 +++ b/man/hu/man1/passwd.1 @@ -1,32 +1,5 @@ -.\" Copyright 1989 \- 1994, John F. Haugh II -.\" All rights reserved. -.\" -.\" Redistribution is allowed, provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by John F. Haugh, II -.\" and other contributors. -.\" 4. Neither the name of John F. Haugh, II nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JOHN HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JOHN HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1989 \- 1994, John F. Haugh II +.\" SPDX-License-Identifier: BSD-3-Clause .\" .\" $Id$ .\" diff --git a/man/hu/man8/lastlog.8 b/man/hu/man8/lastlog.8 index a7058c5c..68995a72 100644 --- a/man/hu/man8/lastlog.8 +++ b/man/hu/man8/lastlog.8 @@ -1,29 +1,6 @@ -.\" Copyright 1992, Phillip Street and Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1992, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1992, Phillip Street +.\" SPDX-License-Identifier: BSD-3-Clause .\" .\" @(#)lastlog.8 3.3 08:24:58 29 Sep 1993 (National Guard Release) .\" $Id$ diff --git a/man/id.1.xml b/man/id.1.xml index e947e19c..624a3f4a 100644 --- a/man/id.1.xml +++ b/man/id.1.xml @@ -1,32 +1,8 @@ -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "CHAGE" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "CHAGE" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/chfn.1 b/man/it/man1/chfn.1 index 2f62fcfa..53eb1c50 100644 --- a/man/it/man1/chfn.1 +++ b/man/it/man1/chfn.1 @@ -2,12 +2,12 @@ .\" Title: chfn .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "CHFN" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "CHFN" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/chsh.1 b/man/it/man1/chsh.1 index 9631ac06..352428de 100644 --- a/man/it/man1/chsh.1 +++ b/man/it/man1/chsh.1 @@ -2,12 +2,12 @@ .\" Title: chsh .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "CHSH" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "CHSH" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/expiry.1 b/man/it/man1/expiry.1 index d189e2de..27fb8023 100644 --- a/man/it/man1/expiry.1 +++ b/man/it/man1/expiry.1 @@ -2,12 +2,12 @@ .\" Title: expiry .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "EXPIRY" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "EXPIRY" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/gpasswd.1 b/man/it/man1/gpasswd.1 index dcf9d0f5..cffaf98c 100644 --- a/man/it/man1/gpasswd.1 +++ b/man/it/man1/gpasswd.1 @@ -2,12 +2,12 @@ .\" Title: gpasswd .\" Author: Rafal Maszkowski .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GPASSWD" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "GPASSWD" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/groups.1 b/man/it/man1/groups.1 index c0a46d35..84f9d194 100644 --- a/man/it/man1/groups.1 +++ b/man/it/man1/groups.1 @@ -2,12 +2,12 @@ .\" Title: groups .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GROUPS" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "GROUPS" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/id.1 b/man/it/man1/id.1 index 028a5a47..a67952f6 100644 --- a/man/it/man1/id.1 +++ b/man/it/man1/id.1 @@ -2,12 +2,12 @@ .\" Title: id .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "ID" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "ID" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/login.1 b/man/it/man1/login.1 index 7bbd2bc7..0f1ddd66 100644 --- a/man/it/man1/login.1 +++ b/man/it/man1/login.1 @@ -2,12 +2,12 @@ .\" Title: login .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "LOGIN" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "LOGIN" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -318,7 +318,9 @@ Andrebbe disabilitato se i file di avvio della shell effettuano gi\(`a questo co .PP \fBMAIL_DIR\fR (string) .RS 4 -La directory di spool per la posta\&. Questa \(`e necessaria per manipolare la casella di posta quando il corrispondente account utente viene modificato o cancellato\&. Se non \(`e specificata viene utilizzato un valore impostato al momento della compilazione\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/it/man1/newgrp.1 b/man/it/man1/newgrp.1 index 005e9bb4..ed875ae0 100644 --- a/man/it/man1/newgrp.1 +++ b/man/it/man1/newgrp.1 @@ -2,12 +2,12 @@ .\" Title: newgrp .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "NEWGRP" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "NEWGRP" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/passwd.1 b/man/it/man1/passwd.1 index 3c2f2807..1567fb42 100644 --- a/man/it/man1/passwd.1 +++ b/man/it/man1/passwd.1 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "PASSWD" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "PASSWD" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/sg.1 b/man/it/man1/sg.1 index 2b28663a..17fd210c 100644 --- a/man/it/man1/sg.1 +++ b/man/it/man1/sg.1 @@ -2,12 +2,12 @@ .\" Title: sg .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "SG" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "SG" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man1/su.1 b/man/it/man1/su.1 index 0b04e8c9..6e4572f8 100644 --- a/man/it/man1/su.1 +++ b/man/it/man1/su.1 @@ -2,12 +2,12 @@ .\" Title: su .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "SU" "1" "22/07/2021" "shadow\-utils 4\&.9" "Comandi utente" +.TH "SU" "1" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -312,7 +312,9 @@ Andrebbe disabilitato se i file di avvio della shell effettuano gi\(`a questo co .PP \fBMAIL_DIR\fR (string) .RS 4 -La directory di spool per la posta\&. Questa \(`e necessaria per manipolare la casella di posta quando il corrispondente account utente viene modificato o cancellato\&. Se non \(`e specificata viene utilizzato un valore impostato al momento della compilazione\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/it/man3/shadow.3 b/man/it/man3/shadow.3 index db989992..ca8975e3 100644 --- a/man/it/man3/shadow.3 +++ b/man/it/man3/shadow.3 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Chiamate di libreria -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "SHADOW" "3" "22/07/2021" "shadow\-utils 4\&.9" "Chiamate di libreria" +.TH "SHADOW" "3" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Chiamate di libreria" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/faillog.5 b/man/it/man5/faillog.5 index 9c83f81b..05c4d11b 100644 --- a/man/it/man5/faillog.5 +++ b/man/it/man5/faillog.5 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "FAILLOG" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "FAILLOG" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuratio" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/gshadow.5 b/man/it/man5/gshadow.5 index 7fecfa72..9f724e51 100644 --- a/man/it/man5/gshadow.5 +++ b/man/it/man5/gshadow.5 @@ -2,12 +2,12 @@ .\" Title: gshadow .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GSHADOW" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "GSHADOW" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/limits.5 b/man/it/man5/limits.5 index ee188216..4eb2aa3d 100644 --- a/man/it/man5/limits.5 +++ b/man/it/man5/limits.5 @@ -2,12 +2,12 @@ .\" Title: limits .\" Author: Luca Berra .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "LIMITS" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "LIMITS" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/login.access.5 b/man/it/man5/login.access.5 index 8d824e2b..dd80da7c 100644 --- a/man/it/man5/login.access.5 +++ b/man/it/man5/login.access.5 @@ -2,12 +2,12 @@ .\" Title: login.access .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "LOGIN\&.ACCESS" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "LOGIN\&.ACCESS" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/login.defs.5 b/man/it/man5/login.defs.5 index 44a18f3f..e657bddf 100644 --- a/man/it/man5/login.defs.5 +++ b/man/it/man5/login.defs.5 @@ -2,12 +2,12 @@ .\" Title: login.defs .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "LOGIN\&.DEFS" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "LOGIN\&.DEFS" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -317,7 +317,9 @@ Andrebbe disabilitato se i file di avvio della shell effettuano gi\(`a questo co .PP \fBMAIL_DIR\fR (string) .RS 4 -La directory di spool per la posta\&. Questa \(`e necessaria per manipolare la casella di posta quando il corrispondente account utente viene modificato o cancellato\&. Se non \(`e specificata viene utilizzato un valore impostato al momento della compilazione\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/it/man5/passwd.5 b/man/it/man5/passwd.5 index d6676e34..9d638971 100644 --- a/man/it/man5/passwd.5 +++ b/man/it/man5/passwd.5 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "PASSWD" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "PASSWD" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/porttime.5 b/man/it/man5/porttime.5 index e05a8c45..df69087a 100644 --- a/man/it/man5/porttime.5 +++ b/man/it/man5/porttime.5 @@ -2,12 +2,12 @@ .\" Title: porttime .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "PORTTIME" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "PORTTIME" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/shadow.5 b/man/it/man5/shadow.5 index 1a1238bc..4860b6ed 100644 --- a/man/it/man5/shadow.5 +++ b/man/it/man5/shadow.5 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "SHADOW" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "SHADOW" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man5/suauth.5 b/man/it/man5/suauth.5 index 067854bd..dde0e813 100644 --- a/man/it/man5/suauth.5 +++ b/man/it/man5/suauth.5 @@ -2,12 +2,12 @@ .\" Title: suauth .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 -.\" Manual: Formati di file e conversioni -.\" Source: shadow-utils 4.9 +.\" Date: 02/01/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "SUAUTH" "5" "22/07/2021" "shadow\-utils 4\&.9" "Formati di file e conversioni" +.TH "SUAUTH" "5" "02/01/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/chgpasswd.8 b/man/it/man8/chgpasswd.8 index bc6a3fd7..2b3ad83d 100644 --- a/man/it/man8/chgpasswd.8 +++ b/man/it/man8/chgpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chgpasswd .\" Author: Thomas K\(/loczko .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "CHGPASSWD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "CHGPASSWD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/chpasswd.8 b/man/it/man8/chpasswd.8 index ce0f98fd..fd7b18e9 100644 --- a/man/it/man8/chpasswd.8 +++ b/man/it/man8/chpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chpasswd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "CHPASSWD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "CHPASSWD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/faillog.8 b/man/it/man8/faillog.8 index 318bb5ed..19fa5afc 100644 --- a/man/it/man8/faillog.8 +++ b/man/it/man8/faillog.8 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "FAILLOG" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "FAILLOG" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/groupadd.8 b/man/it/man8/groupadd.8 index c9da269a..d1ac2d12 100644 --- a/man/it/man8/groupadd.8 +++ b/man/it/man8/groupadd.8 @@ -2,12 +2,12 @@ .\" Title: groupadd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GROUPADD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "GROUPADD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/groupdel.8 b/man/it/man8/groupdel.8 index d059dcc9..c7a64986 100644 --- a/man/it/man8/groupdel.8 +++ b/man/it/man8/groupdel.8 @@ -2,12 +2,12 @@ .\" Title: groupdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GROUPDEL" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "GROUPDEL" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/groupmems.8 b/man/it/man8/groupmems.8 index ff0a0316..8ca84b6a 100644 --- a/man/it/man8/groupmems.8 +++ b/man/it/man8/groupmems.8 @@ -2,12 +2,12 @@ .\" Title: groupmems .\" Author: George Kraft, IV .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GROUPMEMS" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "GROUPMEMS" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/groupmod.8 b/man/it/man8/groupmod.8 index ccfa5313..bf26f66f 100644 --- a/man/it/man8/groupmod.8 +++ b/man/it/man8/groupmod.8 @@ -2,12 +2,12 @@ .\" Title: groupmod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GROUPMOD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "GROUPMOD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/grpck.8 b/man/it/man8/grpck.8 index f4bd23a3..c1627a8c 100644 --- a/man/it/man8/grpck.8 +++ b/man/it/man8/grpck.8 @@ -2,12 +2,12 @@ .\" Title: grpck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "GRPCK" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "GRPCK" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/lastlog.8 b/man/it/man8/lastlog.8 index b70ce8b4..cd11fda4 100644 --- a/man/it/man8/lastlog.8 +++ b/man/it/man8/lastlog.8 @@ -2,12 +2,12 @@ .\" Title: lastlog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "LASTLOG" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "LASTLOG" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/logoutd.8 b/man/it/man8/logoutd.8 index 1f8c50ce..5c6f3b81 100644 --- a/man/it/man8/logoutd.8 +++ b/man/it/man8/logoutd.8 @@ -2,12 +2,12 @@ .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "LOGOUTD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "LOGOUTD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/newusers.8 b/man/it/man8/newusers.8 index e00cc413..8ebb8b07 100644 --- a/man/it/man8/newusers.8 +++ b/man/it/man8/newusers.8 @@ -2,12 +2,12 @@ .\" Title: newusers .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "NEWUSERS" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "NEWUSERS" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/nologin.8 b/man/it/man8/nologin.8 index 3b6a1e18..fd806383 100644 --- a/man/it/man8/nologin.8 +++ b/man/it/man8/nologin.8 @@ -2,12 +2,12 @@ .\" Title: nologin .\" Author: Nicolas Fran\(,cois .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "NOLOGIN" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "NOLOGIN" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/pwck.8 b/man/it/man8/pwck.8 index f9dd3617..305d6137 100644 --- a/man/it/man8/pwck.8 +++ b/man/it/man8/pwck.8 @@ -2,12 +2,12 @@ .\" Title: pwck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "PWCK" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "PWCK" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/pwconv.8 b/man/it/man8/pwconv.8 index d2b78205..97ecd603 100644 --- a/man/it/man8/pwconv.8 +++ b/man/it/man8/pwconv.8 @@ -2,12 +2,12 @@ .\" Title: pwconv .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "PWCONV" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "PWCONV" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/sulogin.8 b/man/it/man8/sulogin.8 index aea2da55..269c0883 100644 --- a/man/it/man8/sulogin.8 +++ b/man/it/man8/sulogin.8 @@ -2,12 +2,12 @@ .\" Title: sulogin .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "SULOGIN" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "SULOGIN" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/it/man8/useradd.8 b/man/it/man8/useradd.8 index 4fbe723a..636737a8 100644 --- a/man/it/man8/useradd.8 +++ b/man/it/man8/useradd.8 @@ -2,12 +2,12 @@ .\" Title: useradd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "USERADD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "USERADD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -213,6 +213,14 @@ options can be specified, e\&.g\&.: Non aggiunge l\*(Aqutente ai database \(Folastlog\(Fc e \(Fofaillog\(Fc\&. .sp By default, the user\*(Aqs entries in the lastlog and faillog databases are reset to avoid reusing the entry from a previously deleted user\&. +.sp +If this option is not specified, +\fBuseradd\fR +will also consult the variable +\fBLOG_INIT\fR +in the +/etc/default/useradd +if set to no the user will not be added to the lastlog and faillog databases\&. .RE .PP \fB\-m\fR, \fB\-\-create\-home\fR @@ -496,7 +504,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -La directory di spool per la posta\&. Questa \(`e necessaria per manipolare la casella di posta quando il corrispondente account utente viene modificato o cancellato\&. Se non \(`e specificata viene utilizzato un valore impostato al momento della compilazione\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/it/man8/userdel.8 b/man/it/man8/userdel.8 index 2c6ca624..559c46f9 100644 --- a/man/it/man8/userdel.8 +++ b/man/it/man8/userdel.8 @@ -2,12 +2,12 @@ .\" Title: userdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "USERDEL" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "USERDEL" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -106,7 +106,9 @@ change the behavior of this tool: .PP \fBMAIL_DIR\fR (string) .RS 4 -La directory di spool per la posta\&. Questa \(`e necessaria per manipolare la casella di posta quando il corrispondente account utente viene modificato o cancellato\&. Se non \(`e specificata viene utilizzato un valore impostato al momento della compilazione\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/it/man8/usermod.8 b/man/it/man8/usermod.8 index 4703cb96..67d2a1f5 100644 --- a/man/it/man8/usermod.8 +++ b/man/it/man8/usermod.8 @@ -2,12 +2,12 @@ .\" Title: usermod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "USERMOD" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "USERMOD" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -175,6 +175,13 @@ This option is not recommended because the password (or encrypted password) will Ci si deve accertare che la password rispetti le norme delle password del sistema\&. .RE .PP +\fB\-r\fR, \fB\-\-remove\fR +.RS 4 +Remove the user from named supplementary group(s)\&. Use only with the +\fB\-G\fR +option\&. +.RE +.PP \fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_DIR\fR .RS 4 Apply changes in the @@ -338,7 +345,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -La directory di spool per la posta\&. Questa \(`e necessaria per manipolare la casella di posta quando il corrispondente account utente viene modificato o cancellato\&. Se non \(`e specificata viene utilizzato un valore impostato al momento della compilazione\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/it/man8/vipw.8 b/man/it/man8/vipw.8 index 6ff14237..aca7caaa 100644 --- a/man/it/man8/vipw.8 +++ b/man/it/man8/vipw.8 @@ -2,12 +2,12 @@ .\" Title: vipw .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 22/07/2021 +.\" Date: 02/01/2022 .\" Manual: Comandi per la gestione del sistema -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Italian .\" -.TH "VIPW" "8" "22/07/2021" "shadow\-utils 4\&.9" "Comandi per la gestione del si" +.TH "VIPW" "8" "02/01/2022" "shadow\-utils 4\&.11\&.1" "Comandi per la gestione del si" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/ja/Makefile.in b/man/ja/Makefile.in index e4f0dff0..e834a97e 100644 --- a/man/ja/Makefile.in +++ b/man/ja/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -356,8 +356,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -510,7 +510,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/ja/man1/chage.1 b/man/ja/man1/chage.1 index cad8bfef..e22f55f6 100644 --- a/man/ja/man1/chage.1 +++ b/man/ja/man1/chage.1 @@ -1,36 +1,8 @@ +.\" SPDX-FileCopyrightText: 1990 - 1994 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: Copyright (c) 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" $Id$ -.\" Copyright 1990 - 1994 Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. -.\" Translated Fri Feb 14 23:06:00 JST 1997 -.\" by Kazuyoshi Furutaka -.\" Modified Tue 16 Sep 2002 by NAKANO Takeo .\" .TH CHAGE 1 .SH 名前 @@ -117,4 +89,4 @@ chage \- ユーザパスワードの有効期限情報を変更する。 .BR passwd (5), .BR shadow (5) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/chfn.1 b/man/ja/man1/chfn.1 index 38971ea3..a7881ae5 100644 --- a/man/ja/man1/chfn.1 +++ b/man/ja/man1/chfn.1 @@ -1,36 +1,8 @@ +.\" SPDX-FileCopyrightText: 1990 - 1994 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" $Id$ -.\" Copyright 1990 - 1994 Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. -.\" Translated Fri Feb 14 23:06:00 JST 1997 -.\" by Kazuyoshi Furutaka -.\" Modified Tue 16 Sep 2002 by NAKANO Takeo .\" .TH CHFN 1 .SH 名前 @@ -69,4 +41,4 @@ chfn は現在のユーザアカウントに対して動作する。 .SH 関連項目 .BR passwd (5) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/chsh.1 b/man/ja/man1/chsh.1 index d56be97c..75a51330 100644 --- a/man/ja/man1/chsh.1 +++ b/man/ja/man1/chsh.1 @@ -1,36 +1,11 @@ -.\"$Id$ -.\" Copyright 1990, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1990 - 1994 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Tue 16 Sep 2002 by NAKANO Takeo +.\" $Id$ .\" .TH CHSH 1 .SH 名前 @@ -69,4 +44,4 @@ chsh \- ログインシェルを変更する .BR chfn (1), .BR passwd (5) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/expiry.1 b/man/ja/man1/expiry.1 index d671507b..6658372b 100644 --- a/man/ja/man1/expiry.1 +++ b/man/ja/man1/expiry.1 @@ -1,36 +1,13 @@ -.\" $Id$ -.\" Copyright 1990 - 1994 Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1990 - 1994 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" Modified for expiry by Ben Collins , 1999 -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved. .\" Translated Sun 3 Mar 2002 by NAKANO Takeo .\" Modified Tue 16 Sep 2002 by NAKANO Takeo .\" +.\" $Id$ +.\" .TH EXPIRY 1 .SH 名前 expiry \- パスワードの期限切れポリシーのチェックと執行 diff --git a/man/ja/man1/groups.1 b/man/ja/man1/groups.1 index f0a2bbfb..d316afee 100644 --- a/man/ja/man1/groups.1 +++ b/man/ja/man1/groups.1 @@ -1,37 +1,11 @@ -.\"$Id$ -.\" Copyright 1991 - 1994, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 2001 Maki KURODA -.\" all right reserved, -.\" Translated Tue Oct 30 11:58:18 JST 2001 -.\" by Maki KURODA +.\" SPDX-FileCopyrightText: 1991 - 1994 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: Copyright (c) 2001 Maki KURODA +.\" SPDX-License-Identifier: BSD-3-Clause +.\" Translated Tue Oct 30 11:58:18 JST 2001 by Maki KURODA .\" Modified Tue 16 Sep 2002 by NAKANO Takeo .\" +.\" $Id$ +.\" .\"WORD: concurrent group set 同時所属グループ集合 .\"WORD: real group ID 実グループ ID .\"WORD: effective group ID 実効グループ ID @@ -62,4 +36,4 @@ ID 値に対応する名前が \fI/etc/group\fR に登録されていなけれ .BR getgid (2), .BR getgroups (2) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/id.1 b/man/ja/man1/id.1 index 197cbe74..3f15aa2b 100644 --- a/man/ja/man1/id.1 +++ b/man/ja/man1/id.1 @@ -1,37 +1,13 @@ -.\"$Id$ -.\" Copyright 1991, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1991 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: Copyright (c) 2000 ISHIKAWA Keisuke +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 2000 ISHIKAWA Keisuke -.\" all rights reserved. .\" Translated Thu Nov 9 23:17:10 JST 2000 .\" by ISHIKAWA Keisuke .\" Modified Tue 16 Sep 2002 by NAKANO Takeo .\" +.\" $Id$ +.\" .TH ID 1 .SH 名前 id \- 現在のユーザ ID 名とグループ ID 名を表示する @@ -54,4 +30,4 @@ id \- 現在のユーザ ID 名とグループ ID 名を表示する .BR getgroups (2), .BR getuid (2) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/login.1 b/man/ja/man1/login.1 index 44d305e5..cd901697 100644 --- a/man/ja/man1/login.1 +++ b/man/ja/man1/login.1 @@ -1,30 +1,8 @@ -.\" $Id$ -.\" Copyright 1989 - 1994, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1989 - 1994 Julianne Frances Haugh +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. +.\" $Id$ .\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. .TH LOGIN 1 .SH 名前 login \- システム上でセッションを開く @@ -138,4 +116,4 @@ root が \fBlogin\fP を起動した場合にのみ用いる。 .BR passwd (5), .BR getty (8) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/newgrp.1 b/man/ja/man1/newgrp.1 index a60af04c..b71bb12b 100644 --- a/man/ja/man1/newgrp.1 +++ b/man/ja/man1/newgrp.1 @@ -1,33 +1,9 @@ -.\"$Id$ -.\" Copyright 1991, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1991 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. +.\" $Id$ .\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated & Modified Sun 3 Mar 2002 by NAKANO Takeo @@ -89,4 +65,4 @@ sg の実行元となるであろうシェルのほとんどにおいて、 .BR login (1), .BR su (1) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/passwd.1 b/man/ja/man1/passwd.1 index 15f55d46..d3425489 100644 --- a/man/ja/man1/passwd.1 +++ b/man/ja/man1/passwd.1 @@ -1,33 +1,9 @@ +.\" SPDX-FileCopyrightText: 1989 - 1994 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" $Id$ -.\" Copyright 1989 - 1994, Julianne Frances Haugh -.\" All rights reserved. .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated 2 Mar 2002 by NAKANO Takeo @@ -214,4 +190,4 @@ NIS が動作していて、 .BR passwd (5), .BR shadow (5) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man1/su.1 b/man/ja/man1/su.1 index 9406f0dc..b3f3d05f 100644 --- a/man/ja/man1/su.1 +++ b/man/ja/man1/su.1 @@ -1,33 +1,9 @@ +.\" SPDX-FileCopyrightText: 1989 - 1990 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" $Id$ -.\" Copyright 1989 - 1990, Julianne Frances Haugh -.\" All rights reserved. .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated Wed Apr 26 JST 2000 by Kentaro Shirakata @@ -85,4 +61,4 @@ su \- ユーザIDを変更する。またはスーパーユーザになる .BR login.defs (5), .BR suauth (5) .SH 著者 -Julianne Frances Haugh +Julianne Frances Haugh diff --git a/man/ja/man3/shadow.3 b/man/ja/man3/shadow.3 index b76a74fe..89abb7b4 100644 --- a/man/ja/man3/shadow.3 +++ b/man/ja/man3/shadow.3 @@ -1,33 +1,9 @@ +.\" SPDX-FileCopyrightText: 1989 - 1993 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" $Id$ -.\" Copyright 1989 - 1993, Julianne Frances Haugh -.\" All rights reserved. .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" updated Tue 17 Sep 2002 by NAKANO Takeo @@ -150,4 +126,4 @@ shadowされたパスワードファイルへのアクセスは制限されて .BR getpwent (3), .BR shadow (5) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man5/faillog.5 b/man/ja/man5/faillog.5 index 4fdcf738..a983880c 100644 --- a/man/ja/man5/faillog.5 +++ b/man/ja/man5/faillog.5 @@ -1,33 +1,9 @@ -.\"$Id$ -.\" Copyright 1989 - 1994, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1989 - 1994 Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. +.\" $Id$ .\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Tue 18 Sep 2002 by NAKANO Takeo @@ -61,4 +37,4 @@ faillog \- ログイン失敗を記録するファイル .SH 関連項目 .BR faillog (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man5/login.defs.5 b/man/ja/man5/login.defs.5 index cb9566eb..9a812fad 100644 --- a/man/ja/man5/login.defs.5 +++ b/man/ja/man5/login.defs.5 @@ -1,34 +1,10 @@ -.\" Copyright 1991 - 1993, Julianne Frances Haugh and Chip Rosenthal -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1991 - 1993, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1991 - 1993, Chip Rosenthal +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" .\" $Id$ .\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated Wed Apr 26 17:22:36 JST 2000 @@ -188,6 +164,6 @@ shadow パスワード機能によって提供されてきた機能の大部分 .BR shadow (5), .BR pam (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) .br Chip Rosenthal (chip@unicom.com) diff --git a/man/ja/man5/passwd.5 b/man/ja/man5/passwd.5 index 438f4991..56bf9152 100644 --- a/man/ja/man5/passwd.5 +++ b/man/ja/man5/passwd.5 @@ -1,33 +1,8 @@ .\"$Id$ -.\" Copyright 1989 - 1990, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1989 - 1990, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Tue 18 Sep 2002 by NAKNAO Takeo @@ -110,4 +85,4 @@ ulimit= \- ulimit の初期設定値 .BR pwunconv (8), .BR sulogin (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man5/porttime.5 b/man/ja/man5/porttime.5 index 5b6b0355..f2889576 100644 --- a/man/ja/man5/porttime.5 +++ b/man/ja/man5/porttime.5 @@ -1,33 +1,8 @@ .\" $Id$ -.\" Copyright 1989 - 1990, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1989 - 1990, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Tue 18 Sep 2002 by NAKNAO Takeo @@ -90,4 +65,4 @@ porttime \- ポートアクセス時間設定ファイル .SH 関連項目 .BR login (1) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man5/shadow.5 b/man/ja/man5/shadow.5 index 8885990d..eb179dfc 100644 --- a/man/ja/man5/shadow.5 +++ b/man/ja/man5/shadow.5 @@ -1,33 +1,8 @@ .\"$Id$ -.\" Copyright 1989 - 1990, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1989 - 1990, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Tue 18 Sep 2002 by NAKNAO Takeo @@ -99,4 +74,4 @@ a から z、A から Z のアルファベット、 .BR pwunconv (8), .BR sulogin (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/chpasswd.8 b/man/ja/man8/chpasswd.8 index e5dc43e2..4b4ffff9 100644 --- a/man/ja/man8/chpasswd.8 +++ b/man/ja/man8/chpasswd.8 @@ -1,33 +1,8 @@ .\"$Id$ -.\" Copyright 1991, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1991, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated Wed Apr 26 18:06:10 JST 2000 @@ -67,4 +42,4 @@ .BR newusers (8), .BR useradd (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/faillog.8 b/man/ja/man8/faillog.8 index 222043a3..88f5edb2 100644 --- a/man/ja/man8/faillog.8 +++ b/man/ja/man8/faillog.8 @@ -1,34 +1,8 @@ .\"$Id$ -.\" Copyright 1989 \- 1994, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1989 \- 1994, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Sat 21 Sep 2002 by NAKANO Takeo @@ -94,4 +68,4 @@ faillog \- faillog を調べ、login 失敗の制限を設定する .BR login (1), .BR faillog (5) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/groupadd.8 b/man/ja/man8/groupadd.8 index 4bdf73db..926cc8f2 100644 --- a/man/ja/man8/groupadd.8 +++ b/man/ja/man8/groupadd.8 @@ -1,33 +1,8 @@ .\"$Id$ -.\" Copyright 1991, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1991, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated & Modified Sat 21 Sep 2002 by NAKANO Takeo @@ -65,4 +40,4 @@ groupadd \- 新しいグループを作成する .BR userdel (8), .BR usermod (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/groupdel.8 b/man/ja/man8/groupdel.8 index 0f24453f..42222613 100644 --- a/man/ja/man8/groupdel.8 +++ b/man/ja/man8/groupdel.8 @@ -1,33 +1,8 @@ .\"$Id$ -.\" Copyright 1991 - 1993, Julianne Frances Haugh -.\" All rights reserved. +.\" SPDX-FileCopyrightText: 1991 - 1993, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated & Modified Sat 21 Sep 2002 by NAKANO Takeo @@ -62,4 +37,4 @@ groupdel \- グループを削除する .BR userdel (8), .BR usermod (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/groupmod.8 b/man/ja/man8/groupmod.8 index eb0f7cf2..e0d2f7de 100644 --- a/man/ja/man8/groupmod.8 +++ b/man/ja/man8/groupmod.8 @@ -1,33 +1,7 @@ .\"$Id$ -.\" Copyright 1991, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1991, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated & Modified Sat 21 Sep 2002 by NAKANO Takeo @@ -67,4 +41,4 @@ groupmod \- グループを修正する .BR userdel (8), .BR usermod (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/grpck.8 b/man/ja/man8/grpck.8 index c570c280..307a37a1 100644 --- a/man/ja/man8/grpck.8 +++ b/man/ja/man8/grpck.8 @@ -1,33 +1,7 @@ .\"$Id$ -.\" Copyright 1992 - 1993, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1992 - 1993, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated & Modified Sat 21 Sep 2002 by NAKANO Takeo @@ -113,4 +87,4 @@ grpck \- グループファイルが正しいかどうか検査する .IP 5 5 グループファイルを更新できない .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/lastlog.8 b/man/ja/man8/lastlog.8 index 171d6a9a..763930d5 100644 --- a/man/ja/man8/lastlog.8 +++ b/man/ja/man8/lastlog.8 @@ -1,34 +1,10 @@ .\"$Id$ -.\" Copyright 1992, Phillip Street and Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1992, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1992, Phillip Street +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" @(#)lastlog.8 3.3 08:24:58 29 Sep 1993 (National Guard Release) .\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated & Modified Thu Oct 14 1997 by NAKANO Takeo @@ -75,6 +51,6 @@ lastlog プログラムは長時間画面に何も出力しないまま UID が 171\-799 の間プログラムは何も出力しないので、 ハングしたように見える)。 .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) .BR Phillip Street diff --git a/man/ja/man8/logoutd.8 b/man/ja/man8/logoutd.8 index c8215a53..e1ff2d8b 100644 --- a/man/ja/man8/logoutd.8 +++ b/man/ja/man8/logoutd.8 @@ -1,33 +1,7 @@ .\"$Id$ -.\" Copyright 1991, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1991, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Sat 21 Sep 2002 by NAKANO Takeo @@ -52,4 +26,4 @@ logoutd \- ログイン時間の制限を実施する .br /etc/utmp \- 現在のログインセッション .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/newusers.8 b/man/ja/man8/newusers.8 index 630660d5..604ca821 100644 --- a/man/ja/man8/newusers.8 +++ b/man/ja/man8/newusers.8 @@ -1,33 +1,7 @@ .\"$Id$ -.\" Copyright 1991 - 1994, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1996 HANATAKA Shinya -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1996 HANATAKA Shinya +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Wed Nov 20 17:42:39 JST 1996 .\" by HANATAKA Shinya .\" Modified Sun 22 Sep 2002 by NAKANO Takeo @@ -68,4 +42,4 @@ newusers \- ユーザの新規作成や情報更新をバッチ処理で行う .BR passwd (1), .BR useradd (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/pwck.8 b/man/ja/man8/pwck.8 index e59972f9..74ebcbc2 100644 --- a/man/ja/man8/pwck.8 +++ b/man/ja/man8/pwck.8 @@ -1,33 +1,7 @@ .\"$Id$ -.\" Copyright 1992, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1992, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated Sun 3 Mar 2002 by NAKANO Takeo @@ -118,4 +92,4 @@ pwck \- パスワードファイルが正しいかどうか検査する .IP 5 5 パスワードファイルを更新出来ない .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/sulogin.8 b/man/ja/man8/sulogin.8 index b4b0fd77..d3be5833 100644 --- a/man/ja/man8/sulogin.8 +++ b/man/ja/man8/sulogin.8 @@ -1,33 +1,7 @@ .\" $Id$ -.\" Copyright 1989 - 1992, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1989 - 1992, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Modified Sun 22 Sep 2002 by NAKANO Takeo @@ -92,4 +66,4 @@ co:s:respawn:/etc/sulogin /dev/console .BR sh (1), .BR init (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/useradd.8 b/man/ja/man8/useradd.8 index 40ae9f34..6e75055c 100644 --- a/man/ja/man8/useradd.8 +++ b/man/ja/man8/useradd.8 @@ -1,33 +1,7 @@ .\" $Id$ -.\" Copyright 1991 - 1994, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1996 HANATAKA Shinya -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1996 HANATAKA Shinya +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Wed Nov 20 17:42:39 JST 1996 .\" by HANATAKA Shinya .\" Updated Mon Mar 5 JST 2002 by Kentaro Shirakata @@ -173,4 +147,4 @@ NIS のグループにユーザを加えてはならない。 .BR userdel (8), .BR usermod (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/userdel.8 b/man/ja/man8/userdel.8 index 8cbb2182..621ae2c1 100644 --- a/man/ja/man8/userdel.8 +++ b/man/ja/man8/userdel.8 @@ -1,33 +1,7 @@ .\" $Id$ -.\" Copyright 1991 - 1994, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated Fri Jan 12 JST 2000 by Kentaro Shirakata @@ -74,4 +48,4 @@ NIS のクライアントからは、NIS の属性値は削除できない。 .BR useradd (8), .BR usermod (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ja/man8/usermod.8 b/man/ja/man8/usermod.8 index bd2f6045..10a8fa6c 100644 --- a/man/ja/man8/usermod.8 +++ b/man/ja/man8/usermod.8 @@ -1,33 +1,7 @@ .\" $Id$ -.\" Copyright 1991 - 1994, Julianne Frances Haugh -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka -.\" all rights reserved. +.\" SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh +.\" SPDX-FileCopyrightText: 1997 Kazuyoshi Furutaka +.\" SPDX-License-Identifier: BSD-3-Clause .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka .\" Updated Tue Jan 23 17:21:08 JST 2001 @@ -142,4 +116,4 @@ NIS に関する作業は NIS サーバ上で行なわなければならない .BR useradd (8), .BR userdel (8) .SH 著者 -Julianne Frances Haugh (jockgrrl@ix.netcom.com) +Julianne Frances Haugh (julie78787@gmail.com) diff --git a/man/ko/Makefile.in b/man/ko/Makefile.in index de291a8f..7a0c73ee 100644 --- a/man/ko/Makefile.in +++ b/man/ko/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -351,8 +351,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) @@ -505,7 +505,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/ko/man8/vipw.8 b/man/ko/man8/vipw.8 index c36f908e..0a529595 100644 --- a/man/ko/man8/vipw.8 +++ b/man/ko/man8/vipw.8 @@ -1,33 +1,5 @@ -.\" Copyright (c) 1983, 1991 The Regents of the University of California. -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. -.\" 4. Neither the name of the University nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. +.\" SPDX-FileCopyrightText: 1983, 1991 The Regents of the University of California. +.\" SPDX-License-Identifier: BSD-3-Clause .\" .\" from: @(#)vipw.8 6.7 (Berkeley) 3/16/91 .\" $Id$ diff --git a/man/lastlog.8.xml b/man/lastlog.8.xml index 7e68282f..bd309f2e 100644 --- a/man/lastlog.8.xml +++ b/man/lastlog.8.xml @@ -1,33 +1,9 @@ limits 5 - File Formats and Conversions + File Formats and Configuration Files shadow-utils &SHADOW_UTILS_VERSION; diff --git a/man/login.1.xml b/man/login.1.xml index 1bca536f..fbfbbf18 100644 --- a/man/login.1.xml +++ b/man/login.1.xml @@ -1,32 +1,8 @@ login.access 5 - File Formats and Conversions + File Formats and Configuration Files shadow-utils &SHADOW_UTILS_VERSION; diff --git a/man/login.defs.5.xml b/man/login.defs.5.xml index 93178496..ab62fa86 100644 --- a/man/login.defs.5.xml +++ b/man/login.defs.5.xml @@ -1,33 +1,9 @@ login.defs 5 - File Formats and Conversions + File Formats and Configuration Files shadow-utils &SHADOW_UTILS_VERSION; diff --git a/man/login.defs.d/CHFN_AUTH.xml b/man/login.defs.d/CHFN_AUTH.xml index 941e5f95..771fb0bb 100644 --- a/man/login.defs.d/CHFN_AUTH.xml +++ b/man/login.defs.d/CHFN_AUTH.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/CHFN_RESTRICT.xml b/man/login.defs.d/CHFN_RESTRICT.xml index ecc21b7b..a00ab3ce 100644 --- a/man/login.defs.d/CHFN_RESTRICT.xml +++ b/man/login.defs.d/CHFN_RESTRICT.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/CHSH_AUTH.xml b/man/login.defs.d/CHSH_AUTH.xml index 0d7139f8..c690d2dc 100644 --- a/man/login.defs.d/CHSH_AUTH.xml +++ b/man/login.defs.d/CHSH_AUTH.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/CONSOLE.xml b/man/login.defs.d/CONSOLE.xml index a5f69325..1d0fefc9 100644 --- a/man/login.defs.d/CONSOLE.xml +++ b/man/login.defs.d/CONSOLE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/CONSOLE_GROUPS.xml b/man/login.defs.d/CONSOLE_GROUPS.xml index f464153b..0fd874c4 100644 --- a/man/login.defs.d/CONSOLE_GROUPS.xml +++ b/man/login.defs.d/CONSOLE_GROUPS.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/CREATE_HOME.xml b/man/login.defs.d/CREATE_HOME.xml index fe404772..769c968a 100644 --- a/man/login.defs.d/CREATE_HOME.xml +++ b/man/login.defs.d/CREATE_HOME.xml @@ -1,30 +1,6 @@ (boolean) diff --git a/man/login.defs.d/DEFAULT_HOME.xml b/man/login.defs.d/DEFAULT_HOME.xml index bb9982b8..b5944c14 100644 --- a/man/login.defs.d/DEFAULT_HOME.xml +++ b/man/login.defs.d/DEFAULT_HOME.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/ENCRYPT_METHOD.xml b/man/login.defs.d/ENCRYPT_METHOD.xml index af9d7f12..85dd79b0 100644 --- a/man/login.defs.d/ENCRYPT_METHOD.xml +++ b/man/login.defs.d/ENCRYPT_METHOD.xml @@ -1,30 +1,6 @@ (string) diff --git a/man/login.defs.d/ENVIRON_FILE.xml b/man/login.defs.d/ENVIRON_FILE.xml index ee85d8c8..f27f538d 100644 --- a/man/login.defs.d/ENVIRON_FILE.xml +++ b/man/login.defs.d/ENVIRON_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/ENV_HZ.xml b/man/login.defs.d/ENV_HZ.xml index 9bbc2554..daf1752f 100644 --- a/man/login.defs.d/ENV_HZ.xml +++ b/man/login.defs.d/ENV_HZ.xml @@ -1,32 +1,8 @@ diff --git a/man/login.defs.d/ENV_PATH.xml b/man/login.defs.d/ENV_PATH.xml index a3852fa7..633ed810 100644 --- a/man/login.defs.d/ENV_PATH.xml +++ b/man/login.defs.d/ENV_PATH.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/ENV_SUPATH.xml b/man/login.defs.d/ENV_SUPATH.xml index bbd07f8b..d34298b2 100644 --- a/man/login.defs.d/ENV_SUPATH.xml +++ b/man/login.defs.d/ENV_SUPATH.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/ENV_TZ.xml b/man/login.defs.d/ENV_TZ.xml index 90c8bcab..04d208ed 100644 --- a/man/login.defs.d/ENV_TZ.xml +++ b/man/login.defs.d/ENV_TZ.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/ERASECHAR.xml b/man/login.defs.d/ERASECHAR.xml index fad4d725..42cbfcf8 100644 --- a/man/login.defs.d/ERASECHAR.xml +++ b/man/login.defs.d/ERASECHAR.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/FAILLOG_ENAB.xml b/man/login.defs.d/FAILLOG_ENAB.xml index 5a525578..e4bff21c 100644 --- a/man/login.defs.d/FAILLOG_ENAB.xml +++ b/man/login.defs.d/FAILLOG_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/FAIL_DELAY.xml b/man/login.defs.d/FAIL_DELAY.xml index 060ca0ad..fea78622 100644 --- a/man/login.defs.d/FAIL_DELAY.xml +++ b/man/login.defs.d/FAIL_DELAY.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/FAKE_SHELL.xml b/man/login.defs.d/FAKE_SHELL.xml index 967acaae..4c596b37 100644 --- a/man/login.defs.d/FAKE_SHELL.xml +++ b/man/login.defs.d/FAKE_SHELL.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/FTMP_FILE.xml b/man/login.defs.d/FTMP_FILE.xml index 255569a1..930f9a30 100644 --- a/man/login.defs.d/FTMP_FILE.xml +++ b/man/login.defs.d/FTMP_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/GID_MAX.xml b/man/login.defs.d/GID_MAX.xml index 639eafb0..b051e5fb 100644 --- a/man/login.defs.d/GID_MAX.xml +++ b/man/login.defs.d/GID_MAX.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/HMAC_CRYPTO_ALGO.xml b/man/login.defs.d/HMAC_CRYPTO_ALGO.xml index 324ddab6..3aa3370a 100644 --- a/man/login.defs.d/HMAC_CRYPTO_ALGO.xml +++ b/man/login.defs.d/HMAC_CRYPTO_ALGO.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/HOME_MODE.xml b/man/login.defs.d/HOME_MODE.xml index 21aa55f7..1be69d90 100644 --- a/man/login.defs.d/HOME_MODE.xml +++ b/man/login.defs.d/HOME_MODE.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/HUSHLOGIN_FILE.xml b/man/login.defs.d/HUSHLOGIN_FILE.xml index edb02624..84c82fa6 100644 --- a/man/login.defs.d/HUSHLOGIN_FILE.xml +++ b/man/login.defs.d/HUSHLOGIN_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/ISSUE_FILE.xml b/man/login.defs.d/ISSUE_FILE.xml index 12c22a7c..b1d2c3ef 100644 --- a/man/login.defs.d/ISSUE_FILE.xml +++ b/man/login.defs.d/ISSUE_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/KILLCHAR.xml b/man/login.defs.d/KILLCHAR.xml index fea9f873..b73cc2da 100644 --- a/man/login.defs.d/KILLCHAR.xml +++ b/man/login.defs.d/KILLCHAR.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/LASTLOG_ENAB.xml b/man/login.defs.d/LASTLOG_ENAB.xml index c264a89c..9603096a 100644 --- a/man/login.defs.d/LASTLOG_ENAB.xml +++ b/man/login.defs.d/LASTLOG_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/LASTLOG_UID_MAX.xml b/man/login.defs.d/LASTLOG_UID_MAX.xml index ba3025a6..38ad3103 100644 --- a/man/login.defs.d/LASTLOG_UID_MAX.xml +++ b/man/login.defs.d/LASTLOG_UID_MAX.xml @@ -1,33 +1,9 @@ (number) diff --git a/man/login.defs.d/LOGIN_RETRIES.xml b/man/login.defs.d/LOGIN_RETRIES.xml index 3de450d6..ba0b05a7 100644 --- a/man/login.defs.d/LOGIN_RETRIES.xml +++ b/man/login.defs.d/LOGIN_RETRIES.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/LOGIN_STRING.xml b/man/login.defs.d/LOGIN_STRING.xml index 3743afea..12183c8f 100644 --- a/man/login.defs.d/LOGIN_STRING.xml +++ b/man/login.defs.d/LOGIN_STRING.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/LOGIN_TIMEOUT.xml b/man/login.defs.d/LOGIN_TIMEOUT.xml index 05b7cffa..af20462e 100644 --- a/man/login.defs.d/LOGIN_TIMEOUT.xml +++ b/man/login.defs.d/LOGIN_TIMEOUT.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/LOG_OK_LOGINS.xml b/man/login.defs.d/LOG_OK_LOGINS.xml index ec115806..35b13e9a 100644 --- a/man/login.defs.d/LOG_OK_LOGINS.xml +++ b/man/login.defs.d/LOG_OK_LOGINS.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/LOG_UNKFAIL_ENAB.xml b/man/login.defs.d/LOG_UNKFAIL_ENAB.xml index 2bc0ca2f..040382c3 100644 --- a/man/login.defs.d/LOG_UNKFAIL_ENAB.xml +++ b/man/login.defs.d/LOG_UNKFAIL_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/MAIL_CHECK_ENAB.xml b/man/login.defs.d/MAIL_CHECK_ENAB.xml index 62dece0d..584f328d 100644 --- a/man/login.defs.d/MAIL_CHECK_ENAB.xml +++ b/man/login.defs.d/MAIL_CHECK_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/MAIL_DIR.xml b/man/login.defs.d/MAIL_DIR.xml index 60b82d6b..328ebb89 100644 --- a/man/login.defs.d/MAIL_DIR.xml +++ b/man/login.defs.d/MAIL_DIR.xml @@ -1,32 +1,8 @@ (string) @@ -35,6 +11,8 @@ The mail spool directory. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted. If not specified, a compile-time default is used. + The parameter CREATE_MAIL_SPOOL in /etc/default/useradd + determines whether the mail spool should be created. diff --git a/man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml b/man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml index 45975d9f..345cdb35 100644 --- a/man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml +++ b/man/login.defs.d/MAX_MEMBERS_PER_GROUP.xml @@ -1,30 +1,6 @@ (number) diff --git a/man/login.defs.d/MD5_CRYPT_ENAB.xml b/man/login.defs.d/MD5_CRYPT_ENAB.xml index be9426e7..94006a64 100644 --- a/man/login.defs.d/MD5_CRYPT_ENAB.xml +++ b/man/login.defs.d/MD5_CRYPT_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/MOTD_FILE.xml b/man/login.defs.d/MOTD_FILE.xml index b472e71f..f7350e8d 100644 --- a/man/login.defs.d/MOTD_FILE.xml +++ b/man/login.defs.d/MOTD_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/NOLOGINS_FILE.xml b/man/login.defs.d/NOLOGINS_FILE.xml index fde79f5d..41be5f8b 100644 --- a/man/login.defs.d/NOLOGINS_FILE.xml +++ b/man/login.defs.d/NOLOGINS_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/NONEXISTENT.xml b/man/login.defs.d/NONEXISTENT.xml index 2b1f6e47..e6484ec1 100644 --- a/man/login.defs.d/NONEXISTENT.xml +++ b/man/login.defs.d/NONEXISTENT.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/OBSCURE_CHECKS_ENAB.xml b/man/login.defs.d/OBSCURE_CHECKS_ENAB.xml index 5eb1d654..92157909 100644 --- a/man/login.defs.d/OBSCURE_CHECKS_ENAB.xml +++ b/man/login.defs.d/OBSCURE_CHECKS_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/PASS_ALWAYS_WARN.xml b/man/login.defs.d/PASS_ALWAYS_WARN.xml index 86874889..3eb224ac 100644 --- a/man/login.defs.d/PASS_ALWAYS_WARN.xml +++ b/man/login.defs.d/PASS_ALWAYS_WARN.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/PASS_CHANGE_TRIES.xml b/man/login.defs.d/PASS_CHANGE_TRIES.xml index f6f6d1d4..f3fa0ac3 100644 --- a/man/login.defs.d/PASS_CHANGE_TRIES.xml +++ b/man/login.defs.d/PASS_CHANGE_TRIES.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/PASS_MAX_DAYS.xml b/man/login.defs.d/PASS_MAX_DAYS.xml index 7df51a2e..7f7061b1 100644 --- a/man/login.defs.d/PASS_MAX_DAYS.xml +++ b/man/login.defs.d/PASS_MAX_DAYS.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/PASS_MAX_LEN.xml b/man/login.defs.d/PASS_MAX_LEN.xml index 2b9e024f..2e145837 100644 --- a/man/login.defs.d/PASS_MAX_LEN.xml +++ b/man/login.defs.d/PASS_MAX_LEN.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/PASS_MIN_DAYS.xml b/man/login.defs.d/PASS_MIN_DAYS.xml index afbfdfaa..c35cbb12 100644 --- a/man/login.defs.d/PASS_MIN_DAYS.xml +++ b/man/login.defs.d/PASS_MIN_DAYS.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/PASS_WARN_AGE.xml b/man/login.defs.d/PASS_WARN_AGE.xml index fc03f1d8..0feeb7eb 100644 --- a/man/login.defs.d/PASS_WARN_AGE.xml +++ b/man/login.defs.d/PASS_WARN_AGE.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/PORTTIME_CHECKS_ENAB.xml b/man/login.defs.d/PORTTIME_CHECKS_ENAB.xml index 0ba7c3a2..78d683be 100644 --- a/man/login.defs.d/PORTTIME_CHECKS_ENAB.xml +++ b/man/login.defs.d/PORTTIME_CHECKS_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/QUOTAS_ENAB.xml b/man/login.defs.d/QUOTAS_ENAB.xml index 2a68b21d..f85d7d0b 100644 --- a/man/login.defs.d/QUOTAS_ENAB.xml +++ b/man/login.defs.d/QUOTAS_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml b/man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml index 7f0f9648..43972d76 100644 --- a/man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml +++ b/man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml @@ -1,30 +1,6 @@ (number) diff --git a/man/login.defs.d/SUB_GID_COUNT.xml b/man/login.defs.d/SUB_GID_COUNT.xml index 93fe7421..4eb50783 100644 --- a/man/login.defs.d/SUB_GID_COUNT.xml +++ b/man/login.defs.d/SUB_GID_COUNT.xml @@ -1,30 +1,6 @@ (number) diff --git a/man/login.defs.d/SUB_UID_COUNT.xml b/man/login.defs.d/SUB_UID_COUNT.xml index 516417b7..90bead5e 100644 --- a/man/login.defs.d/SUB_UID_COUNT.xml +++ b/man/login.defs.d/SUB_UID_COUNT.xml @@ -1,30 +1,6 @@ (number) diff --git a/man/login.defs.d/SULOG_FILE.xml b/man/login.defs.d/SULOG_FILE.xml index d5d07c86..4fab8aa7 100644 --- a/man/login.defs.d/SULOG_FILE.xml +++ b/man/login.defs.d/SULOG_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/SU_NAME.xml b/man/login.defs.d/SU_NAME.xml index 0a9dfdb0..d71d1aa5 100644 --- a/man/login.defs.d/SU_NAME.xml +++ b/man/login.defs.d/SU_NAME.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/SU_WHEEL_ONLY.xml b/man/login.defs.d/SU_WHEEL_ONLY.xml index 7b8e0bce..2a0b39a5 100644 --- a/man/login.defs.d/SU_WHEEL_ONLY.xml +++ b/man/login.defs.d/SU_WHEEL_ONLY.xml @@ -1,32 +1,8 @@ diff --git a/man/login.defs.d/SYSLOG_SG_ENAB.xml b/man/login.defs.d/SYSLOG_SG_ENAB.xml index 07055371..8e2f23a2 100644 --- a/man/login.defs.d/SYSLOG_SG_ENAB.xml +++ b/man/login.defs.d/SYSLOG_SG_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/SYSLOG_SU_ENAB.xml b/man/login.defs.d/SYSLOG_SU_ENAB.xml index af94a237..155e3c57 100644 --- a/man/login.defs.d/SYSLOG_SU_ENAB.xml +++ b/man/login.defs.d/SYSLOG_SU_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/SYS_GID_MAX.xml b/man/login.defs.d/SYS_GID_MAX.xml index 4a9ed28b..f39ddfd0 100644 --- a/man/login.defs.d/SYS_GID_MAX.xml +++ b/man/login.defs.d/SYS_GID_MAX.xml @@ -1,30 +1,6 @@ (number) diff --git a/man/login.defs.d/SYS_UID_MAX.xml b/man/login.defs.d/SYS_UID_MAX.xml index 3ca6cee2..5b0a1de8 100644 --- a/man/login.defs.d/SYS_UID_MAX.xml +++ b/man/login.defs.d/SYS_UID_MAX.xml @@ -1,30 +1,6 @@ (number) diff --git a/man/login.defs.d/TCB_AUTH_GROUP.xml b/man/login.defs.d/TCB_AUTH_GROUP.xml index f9c9f72c..fabcb036 100644 --- a/man/login.defs.d/TCB_AUTH_GROUP.xml +++ b/man/login.defs.d/TCB_AUTH_GROUP.xml @@ -1,30 +1,6 @@ (boolean) diff --git a/man/login.defs.d/TCB_SYMLINKS.xml b/man/login.defs.d/TCB_SYMLINKS.xml index 76b34fb7..7e52c342 100644 --- a/man/login.defs.d/TCB_SYMLINKS.xml +++ b/man/login.defs.d/TCB_SYMLINKS.xml @@ -1,30 +1,6 @@ (boolean) diff --git a/man/login.defs.d/TTYGROUP.xml b/man/login.defs.d/TTYGROUP.xml index 474f31b7..e7cb53d0 100644 --- a/man/login.defs.d/TTYGROUP.xml +++ b/man/login.defs.d/TTYGROUP.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/TTYTYPE_FILE.xml b/man/login.defs.d/TTYTYPE_FILE.xml index f3e8509d..491bb0bf 100644 --- a/man/login.defs.d/TTYTYPE_FILE.xml +++ b/man/login.defs.d/TTYTYPE_FILE.xml @@ -1,32 +1,8 @@ (string) diff --git a/man/login.defs.d/UID_MAX.xml b/man/login.defs.d/UID_MAX.xml index 77cf41f9..df365d02 100644 --- a/man/login.defs.d/UID_MAX.xml +++ b/man/login.defs.d/UID_MAX.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/ULIMIT.xml b/man/login.defs.d/ULIMIT.xml index 3cf4267d..2ff37338 100644 --- a/man/login.defs.d/ULIMIT.xml +++ b/man/login.defs.d/ULIMIT.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/UMASK.xml b/man/login.defs.d/UMASK.xml index 0f061dbb..1090e05b 100644 --- a/man/login.defs.d/UMASK.xml +++ b/man/login.defs.d/UMASK.xml @@ -1,32 +1,8 @@ (number) diff --git a/man/login.defs.d/USERDEL_CMD.xml b/man/login.defs.d/USERDEL_CMD.xml index 40800b25..56c0933c 100644 --- a/man/login.defs.d/USERDEL_CMD.xml +++ b/man/login.defs.d/USERDEL_CMD.xml @@ -1,33 +1,9 @@ (string) diff --git a/man/login.defs.d/USERGROUPS_ENAB.xml b/man/login.defs.d/USERGROUPS_ENAB.xml index daa88928..6338fc98 100644 --- a/man/login.defs.d/USERGROUPS_ENAB.xml +++ b/man/login.defs.d/USERGROUPS_ENAB.xml @@ -1,32 +1,8 @@ (boolean) diff --git a/man/login.defs.d/USE_TCB.xml b/man/login.defs.d/USE_TCB.xml index 6fbe4d9f..a89bf239 100644 --- a/man/login.defs.d/USE_TCB.xml +++ b/man/login.defs.d/USE_TCB.xml @@ -1,30 +1,6 @@ (boolean) diff --git a/man/logoutd.8.xml b/man/logoutd.8.xml index 13b1337a..d3f96e4b 100644 --- a/man/logoutd.8.xml +++ b/man/logoutd.8.xml @@ -1,32 +1,8 @@ -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "CHAGE" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "CHAGE" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/chfn.1 b/man/man1/chfn.1 index bb761a5e..44457d1d 100644 --- a/man/man1/chfn.1 +++ b/man/man1/chfn.1 @@ -2,12 +2,12 @@ .\" Title: chfn .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "CHFN" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "CHFN" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/chsh.1 b/man/man1/chsh.1 index 2405b9fa..51dede05 100644 --- a/man/man1/chsh.1 +++ b/man/man1/chsh.1 @@ -2,12 +2,12 @@ .\" Title: chsh .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "CHSH" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "CHSH" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/expiry.1 b/man/man1/expiry.1 index 7ac916f0..e97f85d5 100644 --- a/man/man1/expiry.1 +++ b/man/man1/expiry.1 @@ -2,12 +2,12 @@ .\" Title: expiry .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "EXPIRY" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "EXPIRY" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/getsubids.1 b/man/man1/getsubids.1 new file mode 100644 index 00000000..86fd5f15 --- /dev/null +++ b/man/man1/getsubids.1 @@ -0,0 +1,82 @@ +'\" t +.\" Title: getsubids +.\" Author: Iker Pedrosa +.\" Generator: DocBook XSL Stylesheets v1.79.1 +.\" Date: 01/02/2022 +.\" Manual: User Commands +.\" Source: shadow-utils 4.11.1 +.\" Language: English +.\" +.TH "GETSUBIDS" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +getsubids \- get the subordinate id ranges for a user +.SH "SYNOPSIS" +.HP \w'\fBgetsubids\fR\ 'u +\fBgetsubids\fR [\fIoptions\fR] \fIUSER\fR +.SH "DESCRIPTION" +.PP +The +\fBgetsubids\fR +command lists the subordinate user ID ranges for a given user\&. The subordinate group IDs can be listed using the +\fB\-g\fR +option\&. +.SH "OPTIONS" +.PP +The options which apply to the +\fBgetsubids\fR +command are: +.PP +\fB\-g\fR +.RS 4 +List the subordinate group ID ranges\&. +.RE +.PP +\fB\-h\fR +.RS 4 +Display help message and exit\&. +.RE +.SH "EXAMPLE" +.PP +For example, to obtain the subordinate UIDs of the testuser: +.PP +.if n \{\ +.RS 4 +.\} +.nf +$ getsubids testuser +0: testuser 100000 65536 +.fi +.if n \{\ +.RE +.\} +.PP +This command output provides (in order from left to right) the list index, username, UID range start, and number of UIDs in range\&. +.SH "SEE ALSO" +.PP +\fBlogin.defs\fR(5), +\fBnewgidmap\fR(1), +\fBnewuidmap\fR(1), +\fBsubgid\fR(5), +\fBsubuid\fR(5), +\fBuseradd\fR(8), +\fBuserdel\fR(8)\&. +\fBusermod\fR(8), diff --git a/man/man1/gpasswd.1 b/man/man1/gpasswd.1 index 13cf5cfe..499d987b 100644 --- a/man/man1/gpasswd.1 +++ b/man/man1/gpasswd.1 @@ -2,12 +2,12 @@ .\" Title: gpasswd .\" Author: Rafal Maszkowski .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GPASSWD" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "GPASSWD" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/groups.1 b/man/man1/groups.1 index 7d5172dc..2480f1c3 100644 --- a/man/man1/groups.1 +++ b/man/man1/groups.1 @@ -2,12 +2,12 @@ .\" Title: groups .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GROUPS" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "GROUPS" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/id.1 b/man/man1/id.1 index 6156127b..8c7d100d 100644 --- a/man/man1/id.1 +++ b/man/man1/id.1 @@ -2,12 +2,12 @@ .\" Title: id .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "ID" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "ID" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/login.1 b/man/man1/login.1 index 22501204..20141e4b 100644 --- a/man/man1/login.1 +++ b/man/man1/login.1 @@ -2,12 +2,12 @@ .\" Title: login .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "LOGIN" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "LOGIN" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -318,7 +318,9 @@ You should disable it if the shell startup files already check for mail ("mailx .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/man1/newgidmap.1 b/man/man1/newgidmap.1 index c675a1d4..2ed76813 100644 --- a/man/man1/newgidmap.1 +++ b/man/man1/newgidmap.1 @@ -2,12 +2,12 @@ .\" Title: newgidmap .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "NEWGIDMAP" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "NEWGIDMAP" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/newgrp.1 b/man/man1/newgrp.1 index 1ef4e527..5e5b6299 100644 --- a/man/man1/newgrp.1 +++ b/man/man1/newgrp.1 @@ -2,12 +2,12 @@ .\" Title: newgrp .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "NEWGRP" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "NEWGRP" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/newuidmap.1 b/man/man1/newuidmap.1 index 5a8cd9a9..1d343ff4 100644 --- a/man/man1/newuidmap.1 +++ b/man/man1/newuidmap.1 @@ -2,12 +2,12 @@ .\" Title: newuidmap .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "NEWUIDMAP" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "NEWUIDMAP" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/passwd.1 b/man/man1/passwd.1 index d867851c..476f43d8 100644 --- a/man/man1/passwd.1 +++ b/man/man1/passwd.1 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "PASSWD" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "PASSWD" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/sg.1 b/man/man1/sg.1 index 69f9cbbe..d9ee09db 100644 --- a/man/man1/sg.1 +++ b/man/man1/sg.1 @@ -2,12 +2,12 @@ .\" Title: sg .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SG" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "SG" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man1/su.1 b/man/man1/su.1 index 4a52b8e5..0de673f4 100644 --- a/man/man1/su.1 +++ b/man/man1/su.1 @@ -2,12 +2,12 @@ .\" Title: su .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: User Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SU" "1" "07/22/2021" "shadow\-utils 4\&.9" "User Commands" +.TH "SU" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -312,7 +312,9 @@ You should disable it if the shell startup files already check for mail ("mailx .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/man3/shadow.3 b/man/man3/shadow.3 index 31066e6d..d82a66a5 100644 --- a/man/man3/shadow.3 +++ b/man/man3/shadow.3 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Library Calls -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SHADOW" "3" "07/22/2021" "shadow\-utils 4\&.9" "Library Calls" +.TH "SHADOW" "3" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Library Calls" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/faillog.5 b/man/man5/faillog.5 index a1605b90..0813d46c 100644 --- a/man/man5/faillog.5 +++ b/man/man5/faillog.5 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "FAILLOG" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "FAILLOG" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuratio" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/gshadow.5 b/man/man5/gshadow.5 index a7dafd03..2e07f1c1 100644 --- a/man/man5/gshadow.5 +++ b/man/man5/gshadow.5 @@ -2,12 +2,12 @@ .\" Title: gshadow .\" Author: Nicolas François .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GSHADOW" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "GSHADOW" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/limits.5 b/man/man5/limits.5 index 59ed1e4b..f9b8e6e0 100644 --- a/man/man5/limits.5 +++ b/man/man5/limits.5 @@ -2,12 +2,12 @@ .\" Title: limits .\" Author: Luca Berra .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "LIMITS" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "LIMITS" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/login.access.5 b/man/man5/login.access.5 index 56adab93..00ce6625 100644 --- a/man/man5/login.access.5 +++ b/man/man5/login.access.5 @@ -2,12 +2,12 @@ .\" Title: login.access .\" Author: Marek Michałkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "LOGIN\&.ACCESS" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "LOGIN\&.ACCESS" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/login.defs.5 b/man/man5/login.defs.5 index bdc35b8f..316496eb 100644 --- a/man/man5/login.defs.5 +++ b/man/man5/login.defs.5 @@ -2,12 +2,12 @@ .\" Title: login.defs .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "LOGIN\&.DEFS" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "LOGIN\&.DEFS" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -317,7 +317,9 @@ You should disable it if the shell startup files already check for mail ("mailx .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/man5/passwd.5 b/man/man5/passwd.5 index 4b8ea026..cffae70a 100644 --- a/man/man5/passwd.5 +++ b/man/man5/passwd.5 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "PASSWD" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "PASSWD" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/porttime.5 b/man/man5/porttime.5 index 7220a616..1670cb6f 100644 --- a/man/man5/porttime.5 +++ b/man/man5/porttime.5 @@ -2,12 +2,12 @@ .\" Title: porttime .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "PORTTIME" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "PORTTIME" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/shadow.5 b/man/man5/shadow.5 index 470805f9..bb9b7e28 100644 --- a/man/man5/shadow.5 +++ b/man/man5/shadow.5 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SHADOW" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "SHADOW" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/suauth.5 b/man/man5/suauth.5 index a1057a28..42de1b17 100644 --- a/man/man5/suauth.5 +++ b/man/man5/suauth.5 @@ -2,12 +2,12 @@ .\" Title: suauth .\" Author: Marek Michałkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SUAUTH" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "SUAUTH" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/subgid.5 b/man/man5/subgid.5 index f6dca2d2..d485adf2 100644 --- a/man/man5/subgid.5 +++ b/man/man5/subgid.5 @@ -2,12 +2,12 @@ .\" Title: subgid .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SUBGID" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "SUBGID" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man5/subuid.5 b/man/man5/subuid.5 index 708310ac..c95f4b1d 100644 --- a/man/man5/subuid.5 +++ b/man/man5/subuid.5 @@ -2,12 +2,12 @@ .\" Title: subuid .\" Author: Eric Biederman .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SUBUID" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "SUBUID" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/chgpasswd.8 b/man/man8/chgpasswd.8 index 8faf90cd..07b2986e 100644 --- a/man/man8/chgpasswd.8 +++ b/man/man8/chgpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chgpasswd .\" Author: Thomas Kłoczko .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "CHGPASSWD" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "CHGPASSWD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/chpasswd.8 b/man/man8/chpasswd.8 index 376e7057..00551259 100644 --- a/man/man8/chpasswd.8 +++ b/man/man8/chpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chpasswd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "CHPASSWD" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "CHPASSWD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/faillog.8 b/man/man8/faillog.8 index d335a4d8..ee993880 100644 --- a/man/man8/faillog.8 +++ b/man/man8/faillog.8 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "FAILLOG" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "FAILLOG" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/groupadd.8 b/man/man8/groupadd.8 index 19b4edae..370ddaae 100644 --- a/man/man8/groupadd.8 +++ b/man/man8/groupadd.8 @@ -2,12 +2,12 @@ .\" Title: groupadd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GROUPADD" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "GROUPADD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/groupdel.8 b/man/man8/groupdel.8 index 70cc7bdc..7e420629 100644 --- a/man/man8/groupdel.8 +++ b/man/man8/groupdel.8 @@ -2,12 +2,12 @@ .\" Title: groupdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GROUPDEL" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "GROUPDEL" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/groupmems.8 b/man/man8/groupmems.8 index 5b5a2d4c..12fe563b 100644 --- a/man/man8/groupmems.8 +++ b/man/man8/groupmems.8 @@ -2,12 +2,12 @@ .\" Title: groupmems .\" Author: George Kraft, IV .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GROUPMEMS" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "GROUPMEMS" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/groupmod.8 b/man/man8/groupmod.8 index 25fb44ca..5903811a 100644 --- a/man/man8/groupmod.8 +++ b/man/man8/groupmod.8 @@ -2,12 +2,12 @@ .\" Title: groupmod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GROUPMOD" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "GROUPMOD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/grpck.8 b/man/man8/grpck.8 index 8fadfd17..eaaaeb27 100644 --- a/man/man8/grpck.8 +++ b/man/man8/grpck.8 @@ -2,12 +2,12 @@ .\" Title: grpck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "GRPCK" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "GRPCK" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/lastlog.8 b/man/man8/lastlog.8 index dff42bc6..b31a196a 100644 --- a/man/man8/lastlog.8 +++ b/man/man8/lastlog.8 @@ -2,12 +2,12 @@ .\" Title: lastlog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "LASTLOG" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "LASTLOG" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/logoutd.8 b/man/man8/logoutd.8 index 3f7b1296..a9459a57 100644 --- a/man/man8/logoutd.8 +++ b/man/man8/logoutd.8 @@ -2,12 +2,12 @@ .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "LOGOUTD" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "LOGOUTD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/newusers.8 b/man/man8/newusers.8 index 908f98e0..5e8c5268 100644 --- a/man/man8/newusers.8 +++ b/man/man8/newusers.8 @@ -2,12 +2,12 @@ .\" Title: newusers .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "NEWUSERS" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "NEWUSERS" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/nologin.8 b/man/man8/nologin.8 index 7293116d..878ae204 100644 --- a/man/man8/nologin.8 +++ b/man/man8/nologin.8 @@ -2,12 +2,12 @@ .\" Title: nologin .\" Author: Nicolas François .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "NOLOGIN" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "NOLOGIN" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/pwck.8 b/man/man8/pwck.8 index 9c31ea0f..f8574195 100644 --- a/man/man8/pwck.8 +++ b/man/man8/pwck.8 @@ -2,12 +2,12 @@ .\" Title: pwck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "PWCK" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "PWCK" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/pwconv.8 b/man/man8/pwconv.8 index e485a067..51d18acb 100644 --- a/man/man8/pwconv.8 +++ b/man/man8/pwconv.8 @@ -2,12 +2,12 @@ .\" Title: pwconv .\" Author: Marek Michałkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "PWCONV" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "PWCONV" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/sulogin.8 b/man/man8/sulogin.8 index c1486612..4f5c9941 100644 --- a/man/man8/sulogin.8 +++ b/man/man8/sulogin.8 @@ -2,12 +2,12 @@ .\" Title: sulogin .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "SULOGIN" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "SULOGIN" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/man8/useradd.8 b/man/man8/useradd.8 index 572ff7e2..5f7e4d14 100644 --- a/man/man8/useradd.8 +++ b/man/man8/useradd.8 @@ -2,12 +2,12 @@ .\" Title: useradd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "USERADD" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "USERADD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -213,6 +213,14 @@ options can be specified, e\&.g\&.: Do not add the user to the lastlog and faillog databases\&. .sp By default, the user\*(Aqs entries in the lastlog and faillog databases are reset to avoid reusing the entry from a previously deleted user\&. +.sp +If this option is not specified, +\fBuseradd\fR +will also consult the variable +\fBLOG_INIT\fR +in the +/etc/default/useradd +if set to no the user will not be added to the lastlog and faillog databases\&. .RE .PP \fB\-m\fR, \fB\-\-create\-home\fR @@ -496,7 +504,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/man8/userdel.8 b/man/man8/userdel.8 index 927d7b93..eef09542 100644 --- a/man/man8/userdel.8 +++ b/man/man8/userdel.8 @@ -2,12 +2,12 @@ .\" Title: userdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "USERDEL" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "USERDEL" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -106,7 +106,9 @@ change the behavior of this tool: .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/man8/usermod.8 b/man/man8/usermod.8 index 4b86d362..4632b35f 100644 --- a/man/man8/usermod.8 +++ b/man/man8/usermod.8 @@ -2,12 +2,12 @@ .\" Title: usermod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "USERMOD" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "USERMOD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -175,6 +175,13 @@ This option is not recommended because the password (or encrypted password) will You should make sure the password respects the system\*(Aqs password policy\&. .RE .PP +\fB\-r\fR, \fB\-\-remove\fR +.RS 4 +Remove the user from named supplementary group(s)\&. Use only with the +\fB\-G\fR +option\&. +.RE +.PP \fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_DIR\fR .RS 4 Apply changes in the @@ -338,7 +345,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/man8/vipw.8 b/man/man8/vipw.8 index 8ae89585..101ba0e1 100644 --- a/man/man8/vipw.8 +++ b/man/man8/vipw.8 @@ -2,12 +2,12 @@ .\" Title: vipw .\" Author: Marek Michałkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: System Management Commands -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: English .\" -.TH "VIPW" "8" "07/22/2021" "shadow\-utils 4\&.9" "System Management Commands" +.TH "VIPW" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/newgidmap.1.xml b/man/newgidmap.1.xml index 681aefcb..e4ebc69e 100644 --- a/man/newgidmap.1.xml +++ b/man/newgidmap.1.xml @@ -1,31 +1,7 @@ passwd 5 - File Formats and Conversions + File Formats and Configuration Files shadow-utils &SHADOW_UTILS_VERSION; diff --git a/man/pl/Makefile.in b/man/pl/Makefile.in index 2f4977fb..cbed6ffe 100644 --- a/man/pl/Makefile.in +++ b/man/pl/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15.1 from Makefile.am. +# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2017 Free Software Foundation, Inc. +# Copyright (C) 1994-2018 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -366,8 +366,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(srcdir)/../generate_translations.mak $(srcdir)/../generate_mans.mak $(am__empty): @@ -564,7 +564,10 @@ ctags CTAGS: cscope cscopelist: -distdir: $(DISTFILES) +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ diff --git a/man/pl/man1/chage.1 b/man/pl/man1/chage.1 index 10fc1368..21f9035c 100644 --- a/man/pl/man1/chage.1 +++ b/man/pl/man1/chage.1 @@ -2,12 +2,12 @@ .\" Title: chage .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia użytkownik\('ow -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "CHAGE" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow" +.TH "CHAGE" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia użytkownik\('ow" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man1/chsh.1 b/man/pl/man1/chsh.1 index 9f6c0b5a..d132e2c7 100644 --- a/man/pl/man1/chsh.1 +++ b/man/pl/man1/chsh.1 @@ -2,12 +2,12 @@ .\" Title: chsh .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia użytkownik\('ow -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "CHSH" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow" +.TH "CHSH" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia użytkownik\('ow" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man1/expiry.1 b/man/pl/man1/expiry.1 index 46d45ec6..d0091ccd 100644 --- a/man/pl/man1/expiry.1 +++ b/man/pl/man1/expiry.1 @@ -2,12 +2,12 @@ .\" Title: expiry .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia użytkownik\('ow -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "EXPIRY" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow" +.TH "EXPIRY" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia użytkownik\('ow" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man1/groups.1 b/man/pl/man1/groups.1 index 3c65e104..c8c9a082 100644 --- a/man/pl/man1/groups.1 +++ b/man/pl/man1/groups.1 @@ -2,12 +2,12 @@ .\" Title: groups .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia użytkownik\('ow -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "GROUPS" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow" +.TH "GROUPS" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia użytkownik\('ow" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man1/id.1 b/man/pl/man1/id.1 index d8027028..aea36838 100644 --- a/man/pl/man1/id.1 +++ b/man/pl/man1/id.1 @@ -2,12 +2,12 @@ .\" Title: id .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia użytkownik\('ow -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "ID" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow" +.TH "ID" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia użytkownik\('ow" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man1/newgrp.1 b/man/pl/man1/newgrp.1 index 7f659ce3..9209c5d4 100644 --- a/man/pl/man1/newgrp.1 +++ b/man/pl/man1/newgrp.1 @@ -2,12 +2,12 @@ .\" Title: newgrp .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia użytkownik\('ow -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "NEWGRP" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow" +.TH "NEWGRP" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia użytkownik\('ow" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man1/sg.1 b/man/pl/man1/sg.1 index 14e2c333..7869bf8f 100644 --- a/man/pl/man1/sg.1 +++ b/man/pl/man1/sg.1 @@ -2,12 +2,12 @@ .\" Title: sg .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia użytkownik\('ow -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "SG" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow" +.TH "SG" "1" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia użytkownik\('ow" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man3/shadow.3 b/man/pl/man3/shadow.3 index 9c78eaf4..c03a0099 100644 --- a/man/pl/man3/shadow.3 +++ b/man/pl/man3/shadow.3 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Library Calls -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "SHADOW" "3" "07/22/2021" "shadow\-utils 4\&.9" "Library Calls" +.TH "SHADOW" "3" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Library Calls" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man5/faillog.5 b/man/pl/man5/faillog.5 index c0bb68d7..3956287b 100644 --- a/man/pl/man5/faillog.5 +++ b/man/pl/man5/faillog.5 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "FAILLOG" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "FAILLOG" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuratio" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man5/porttime.5 b/man/pl/man5/porttime.5 index 1281d56a..41fa2c2d 100644 --- a/man/pl/man5/porttime.5 +++ b/man/pl/man5/porttime.5 @@ -2,12 +2,12 @@ .\" Title: porttime .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 -.\" Manual: File Formats and Conversions -.\" Source: shadow-utils 4.9 +.\" Date: 01/02/2022 +.\" Manual: File Formats and Configuration Files +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "PORTTIME" "5" "07/22/2021" "shadow\-utils 4\&.9" "File Formats and Conversions" +.TH "PORTTIME" "5" "01/02/2022" "shadow\-utils 4\&.11\&.1" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/faillog.8 b/man/pl/man8/faillog.8 index 03bf1970..217fa5e4 100644 --- a/man/pl/man8/faillog.8 +++ b/man/pl/man8/faillog.8 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "FAILLOG" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "FAILLOG" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/groupadd.8 b/man/pl/man8/groupadd.8 index e474cb9a..44dedd5e 100644 --- a/man/pl/man8/groupadd.8 +++ b/man/pl/man8/groupadd.8 @@ -2,12 +2,12 @@ .\" Title: groupadd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "GROUPADD" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "GROUPADD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/groupdel.8 b/man/pl/man8/groupdel.8 index 1ab9175f..031db986 100644 --- a/man/pl/man8/groupdel.8 +++ b/man/pl/man8/groupdel.8 @@ -2,12 +2,12 @@ .\" Title: groupdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "GROUPDEL" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "GROUPDEL" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/groupmems.8 b/man/pl/man8/groupmems.8 index fbb17e15..02af71af 100644 --- a/man/pl/man8/groupmems.8 +++ b/man/pl/man8/groupmems.8 @@ -2,12 +2,12 @@ .\" Title: groupmems .\" Author: George Kraft, IV .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "GROUPMEMS" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "GROUPMEMS" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/groupmod.8 b/man/pl/man8/groupmod.8 index ddba0f55..de09b112 100644 --- a/man/pl/man8/groupmod.8 +++ b/man/pl/man8/groupmod.8 @@ -2,12 +2,12 @@ .\" Title: groupmod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "GROUPMOD" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "GROUPMOD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/grpck.8 b/man/pl/man8/grpck.8 index 7b65a651..06911247 100644 --- a/man/pl/man8/grpck.8 +++ b/man/pl/man8/grpck.8 @@ -2,12 +2,12 @@ .\" Title: grpck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "GRPCK" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "GRPCK" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/lastlog.8 b/man/pl/man8/lastlog.8 index e05264ac..16051674 100644 --- a/man/pl/man8/lastlog.8 +++ b/man/pl/man8/lastlog.8 @@ -2,12 +2,12 @@ .\" Title: lastlog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "LASTLOG" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "LASTLOG" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/logoutd.8 b/man/pl/man8/logoutd.8 index 998fa3d1..9179f263 100644 --- a/man/pl/man8/logoutd.8 +++ b/man/pl/man8/logoutd.8 @@ -2,12 +2,12 @@ .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "LOGOUTD" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "LOGOUTD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/pl/man8/userdel.8 b/man/pl/man8/userdel.8 index bfca520f..78f9b039 100644 --- a/man/pl/man8/userdel.8 +++ b/man/pl/man8/userdel.8 @@ -2,12 +2,12 @@ .\" Title: userdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "USERDEL" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "USERDEL" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -106,7 +106,9 @@ change the behavior of this tool: .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/pl/man8/usermod.8 b/man/pl/man8/usermod.8 index bbf8965f..ad68ca01 100644 --- a/man/pl/man8/usermod.8 +++ b/man/pl/man8/usermod.8 @@ -2,12 +2,12 @@ .\" Title: usermod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "USERMOD" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "USERMOD" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -175,6 +175,13 @@ This option is not recommended because the password (or encrypted password) will You should make sure the password respects the system\*(Aqs password policy\&. .RE .PP +\fB\-r\fR, \fB\-\-remove\fR +.RS 4 +Remove the user from named supplementary group(s)\&. Use only with the +\fB\-G\fR +option\&. +.RE +.PP \fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_DIR\fR .RS 4 Apply changes in the @@ -338,7 +345,9 @@ option present in the configuration means that there is no user ID limit for wri .PP \fBMAIL_DIR\fR (string) .RS 4 -The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. +The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&. The parameter CREATE_MAIL_SPOOL in +/etc/default/useradd +determines whether the mail spool should be created\&. .RE .PP \fBMAIL_FILE\fR (string) diff --git a/man/pl/man8/vipw.8 b/man/pl/man8/vipw.8 index 1c7b82ce..53c160dd 100644 --- a/man/pl/man8/vipw.8 +++ b/man/pl/man8/vipw.8 @@ -2,12 +2,12 @@ .\" Title: vipw .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 07/22/2021 +.\" Date: 01/02/2022 .\" Manual: Polecenia Zarządzania Systemem -.\" Source: shadow-utils 4.9 +.\" Source: shadow-utils 4.11.1 .\" Language: Polish .\" -.TH "VIPW" "8" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia Zarządzania Systemem" +.TH "VIPW" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Polecenia Zarządzania Systemem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/po/Makefile.in b/man/po/Makefile.in index deaa8705..f194957b 100644 --- a/man/po/Makefile.in +++ b/man/po/Makefile.in @@ -90,9 +90,17 @@ $(DOMAIN).pot-update: $(XMLFILES) $(srcdir)/XMLFILES remove-potcdate.sed @set -e; tmpdir=`pwd`; \ echo "cd $(top_srcdir)/man"; \ cd $(top_srcdir)/man; \ - echo "xml2po --expand-all-entities -o $$tmpdir/$(DOMAIN).po $(notdir $(XMLFILES))"; \ - xml2po --expand-all-entities -o $$tmpdir/$(DOMAIN).po $(notdir $(XMLFILES)); \ - cd $$tmpdir + files=""; \ + for file in $(notdir $(XMLFILES)); do \ + if grep -q SHADOW-CONFIG-HERE $$file ; then \ + sed -e 's/^/%config;/' $$file > $$file.out; \ + else \ + sed -e 's/^\(/\1 [%config;]>/' $$file > $$file.out; \ + fi; \ + files="$$files $$file.out"; \ + done; \ + itstool -d -o $$tmpdir/$(DOMAIN).po $$files; \ + cd $$tmpdir; \ test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ diff --git a/man/po/da.po b/man/po/da.po index cee1b50b..0a169a9d 100644 --- a/man/po/da.po +++ b/man/po/da.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: shadow-man\n" -"POT-Creation-Date: 2021-07-22 21:57+0000\n" +"POT-Creation-Date: 2022-01-02 21:10-0600\n" "PO-Revision-Date: 2013-08-23 01:35+0200\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" @@ -29,5234 +29,1762 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: vipw.8.xml:41(firstname) suauth.5.xml:39(firstname) -#: pwconv.8.xml:45(firstname) login.access.5.xml:40(firstname) -msgid "Marek" +#. (itstool) path: author/firstname +#: chage.1.xml.out:16 chfn.1.xml.out:18 chpasswd.8.xml.out:19 chsh.1.xml.out:18 +#: expiry.1.xml.out:19 faillog.5.xml.out:15 faillog.8.xml.out:15 +#: groupadd.8.xml.out:18 groupdel.8.xml.out:16 groupmod.8.xml.out:16 +#: groups.1.xml.out:15 grpck.8.xml.out:15 lastlog.8.xml.out:17 +#: login.1.xml.out:48 login.defs.5.xml.out:84 logoutd.8.xml.out:15 +#: newgrp.1.xml.out:16 newusers.8.xml.out:31 passwd.1.xml.out:22 +#: passwd.5.xml.out:15 porttime.5.xml.out:15 pwck.8.xml.out:22 +#: shadow.3.xml.out:15 shadow.5.xml.out:15 sg.1.xml.out:16 su.1.xml.out:32 +#: useradd.8.xml.out:34 userdel.8.xml.out:21 usermod.8.xml.out:22 +msgid "Julianne Frances" msgstr "" -#: vipw.8.xml:42(surname) suauth.5.xml:40(surname) pwconv.8.xml:46(surname) -#: login.access.5.xml:41(surname) -msgid "Michałkiewicz" +#. (itstool) path: author/surname +#: chage.1.xml.out:17 chfn.1.xml.out:19 chpasswd.8.xml.out:20 chsh.1.xml.out:19 +#: expiry.1.xml.out:20 faillog.5.xml.out:16 faillog.8.xml.out:16 +#: groupadd.8.xml.out:19 groupdel.8.xml.out:17 groupmod.8.xml.out:17 +#: groups.1.xml.out:16 grpck.8.xml.out:16 lastlog.8.xml.out:18 +#: login.1.xml.out:49 login.defs.5.xml.out:85 logoutd.8.xml.out:16 +#: newgrp.1.xml.out:17 newusers.8.xml.out:32 passwd.1.xml.out:23 +#: passwd.5.xml.out:16 porttime.5.xml.out:16 pwck.8.xml.out:23 +#: shadow.3.xml.out:16 shadow.5.xml.out:16 sg.1.xml.out:17 su.1.xml.out:33 +#: useradd.8.xml.out:35 userdel.8.xml.out:22 usermod.8.xml.out:23 +msgid "Haugh" msgstr "" -#: vipw.8.xml:43(contrib) limits.5.xml:43(contrib) -msgid "Creation, 1997" +#. (itstool) path: author/contrib +#: chage.1.xml.out:18 chfn.1.xml.out:20 chsh.1.xml.out:20 expiry.1.xml.out:21 +msgid "Creation, 1990" msgstr "" -#: vipw.8.xml:46(firstname) usermod.8.xml:51(firstname) -#: userdel.8.xml:50(firstname) useradd.8.xml:63(firstname) -#: suauth.5.xml:44(firstname) su.1.xml:61(firstname) sg.1.xml:45(firstname) -#: shadow.5.xml:44(firstname) shadow.3.xml:44(firstname) -#: pwconv.8.xml:50(firstname) pwck.8.xml:51(firstname) -#: porttime.5.xml:44(firstname) passwd.5.xml:44(firstname) -#: passwd.1.xml:51(firstname) newusers.8.xml:60(firstname) -#: newgrp.1.xml:45(firstname) logoutd.8.xml:44(firstname) -#: login.defs.5.xml:113(firstname) login.access.5.xml:45(firstname) -#: login.1.xml:77(firstname) limits.5.xml:46(firstname) -#: lastlog.8.xml:46(firstname) grpck.8.xml:44(firstname) -#: groups.1.xml:44(firstname) groupmod.8.xml:45(firstname) -#: groupmems.8.xml:48(firstname) groupdel.8.xml:45(firstname) -#: groupadd.8.xml:47(firstname) gpasswd.1.xml:49(firstname) -#: faillog.8.xml:44(firstname) faillog.5.xml:44(firstname) -#: expiry.1.xml:48(firstname) chsh.1.xml:47(firstname) -#: chpasswd.8.xml:48(firstname) chgpasswd.8.xml:44(firstname) -#: chfn.1.xml:47(firstname) chage.1.xml:45(firstname) +#. (itstool) path: author/firstname +#: chage.1.xml.out:21 chfn.1.xml.out:23 chgpasswd.8.xml.out:20 +#: chpasswd.8.xml.out:24 chsh.1.xml.out:23 expiry.1.xml.out:24 +#: faillog.5.xml.out:20 faillog.8.xml.out:20 gpasswd.1.xml.out:25 +#: groupadd.8.xml.out:23 groupdel.8.xml.out:21 groupmems.8.xml.out:24 +#: groupmod.8.xml.out:21 groups.1.xml.out:20 grpck.8.xml.out:20 +#: lastlog.8.xml.out:22 limits.5.xml.out:22 login.1.xml.out:53 +#: login.access.5.xml.out:21 login.defs.5.xml.out:89 logoutd.8.xml.out:20 +#: newgrp.1.xml.out:21 newusers.8.xml.out:36 passwd.1.xml.out:27 +#: passwd.5.xml.out:20 porttime.5.xml.out:20 pwck.8.xml.out:27 +#: pwconv.8.xml.out:26 shadow.3.xml.out:20 shadow.5.xml.out:20 sg.1.xml.out:21 +#: su.1.xml.out:37 suauth.5.xml.out:20 useradd.8.xml.out:39 +#: userdel.8.xml.out:26 usermod.8.xml.out:27 vipw.8.xml.out:22 msgid "Thomas" msgstr "" -#: vipw.8.xml:47(surname) usermod.8.xml:52(surname) userdel.8.xml:51(surname) -#: useradd.8.xml:64(surname) suauth.5.xml:45(surname) su.1.xml:62(surname) -#: sg.1.xml:46(surname) shadow.5.xml:45(surname) shadow.3.xml:45(surname) -#: pwconv.8.xml:51(surname) pwck.8.xml:52(surname) porttime.5.xml:45(surname) -#: passwd.5.xml:45(surname) passwd.1.xml:52(surname) newusers.8.xml:61(surname) -#: newgrp.1.xml:46(surname) logoutd.8.xml:45(surname) -#: login.defs.5.xml:114(surname) login.access.5.xml:46(surname) -#: login.1.xml:78(surname) limits.5.xml:47(surname) lastlog.8.xml:47(surname) -#: grpck.8.xml:45(surname) groups.1.xml:45(surname) groupmod.8.xml:46(surname) -#: groupmems.8.xml:49(surname) groupdel.8.xml:46(surname) -#: groupadd.8.xml:48(surname) gpasswd.1.xml:50(surname) -#: faillog.8.xml:45(surname) faillog.5.xml:45(surname) expiry.1.xml:49(surname) -#: chsh.1.xml:48(surname) chpasswd.8.xml:49(surname) -#: chgpasswd.8.xml:45(surname) chfn.1.xml:48(surname) chage.1.xml:46(surname) +#. (itstool) path: author/surname +#: chage.1.xml.out:22 chfn.1.xml.out:24 chgpasswd.8.xml.out:21 +#: chpasswd.8.xml.out:25 chsh.1.xml.out:24 expiry.1.xml.out:25 +#: faillog.5.xml.out:21 faillog.8.xml.out:21 gpasswd.1.xml.out:26 +#: groupadd.8.xml.out:24 groupdel.8.xml.out:22 groupmems.8.xml.out:25 +#: groupmod.8.xml.out:22 groups.1.xml.out:21 grpck.8.xml.out:21 +#: lastlog.8.xml.out:23 limits.5.xml.out:23 login.1.xml.out:54 +#: login.access.5.xml.out:22 login.defs.5.xml.out:90 logoutd.8.xml.out:21 +#: newgrp.1.xml.out:22 newusers.8.xml.out:37 passwd.1.xml.out:28 +#: passwd.5.xml.out:21 porttime.5.xml.out:21 pwck.8.xml.out:28 +#: pwconv.8.xml.out:27 shadow.3.xml.out:21 shadow.5.xml.out:21 sg.1.xml.out:22 +#: su.1.xml.out:38 suauth.5.xml.out:21 useradd.8.xml.out:40 +#: userdel.8.xml.out:27 usermod.8.xml.out:28 vipw.8.xml.out:23 msgid "Kłoczko" msgstr "" -#: vipw.8.xml:48(email) usermod.8.xml:53(email) userdel.8.xml:52(email) -#: useradd.8.xml:65(email) suauth.5.xml:46(email) su.1.xml:63(email) -#: sg.1.xml:47(email) shadow.5.xml:46(email) shadow.3.xml:46(email) -#: pwconv.8.xml:52(email) pwck.8.xml:53(email) porttime.5.xml:46(email) -#: passwd.5.xml:46(email) passwd.1.xml:53(email) newusers.8.xml:62(email) -#: newgrp.1.xml:47(email) logoutd.8.xml:46(email) login.defs.5.xml:115(email) -#: login.access.5.xml:47(email) login.1.xml:79(email) limits.5.xml:48(email) -#: lastlog.8.xml:48(email) grpck.8.xml:46(email) groups.1.xml:46(email) -#: groupmod.8.xml:47(email) groupmems.8.xml:50(email) groupdel.8.xml:47(email) -#: groupadd.8.xml:49(email) gpasswd.1.xml:51(email) faillog.8.xml:46(email) -#: faillog.5.xml:46(email) expiry.1.xml:50(email) chsh.1.xml:49(email) -#: chpasswd.8.xml:50(email) chgpasswd.8.xml:46(email) chfn.1.xml:49(email) -#: chage.1.xml:47(email) +#. (itstool) path: author/email +#: chage.1.xml.out:23 chfn.1.xml.out:25 chgpasswd.8.xml.out:22 +#: chpasswd.8.xml.out:26 chsh.1.xml.out:25 expiry.1.xml.out:26 +#: faillog.5.xml.out:22 faillog.8.xml.out:22 gpasswd.1.xml.out:27 +#: groupadd.8.xml.out:25 groupdel.8.xml.out:23 groupmems.8.xml.out:26 +#: groupmod.8.xml.out:23 groups.1.xml.out:22 grpck.8.xml.out:22 +#: lastlog.8.xml.out:24 limits.5.xml.out:24 login.1.xml.out:55 +#: login.access.5.xml.out:23 login.defs.5.xml.out:91 logoutd.8.xml.out:22 +#: newgrp.1.xml.out:23 newusers.8.xml.out:38 passwd.1.xml.out:29 +#: passwd.5.xml.out:22 porttime.5.xml.out:22 pwck.8.xml.out:29 +#: pwconv.8.xml.out:28 shadow.3.xml.out:22 shadow.5.xml.out:22 sg.1.xml.out:23 +#: su.1.xml.out:39 suauth.5.xml.out:22 useradd.8.xml.out:41 +#: userdel.8.xml.out:28 usermod.8.xml.out:29 vipw.8.xml.out:24 msgid "kloczek@pld.org.pl" msgstr "" -#: vipw.8.xml:49(contrib) usermod.8.xml:54(contrib) userdel.8.xml:53(contrib) -#: useradd.8.xml:66(contrib) suauth.5.xml:47(contrib) su.1.xml:64(contrib) -#: sg.1.xml:48(contrib) shadow.5.xml:47(contrib) shadow.3.xml:47(contrib) -#: pwconv.8.xml:53(contrib) pwck.8.xml:54(contrib) porttime.5.xml:47(contrib) -#: passwd.5.xml:47(contrib) passwd.1.xml:54(contrib) newusers.8.xml:63(contrib) -#: newgrp.1.xml:48(contrib) logoutd.8.xml:47(contrib) -#: login.defs.5.xml:116(contrib) login.access.5.xml:48(contrib) -#: login.1.xml:80(contrib) limits.5.xml:49(contrib) lastlog.8.xml:49(contrib) -#: grpck.8.xml:47(contrib) groups.1.xml:47(contrib) groupmod.8.xml:48(contrib) -#: groupmems.8.xml:51(contrib) groupdel.8.xml:48(contrib) -#: groupadd.8.xml:50(contrib) gpasswd.1.xml:52(contrib) -#: faillog.8.xml:47(contrib) faillog.5.xml:47(contrib) expiry.1.xml:51(contrib) -#: chsh.1.xml:50(contrib) chpasswd.8.xml:51(contrib) chfn.1.xml:50(contrib) -#: chage.1.xml:48(contrib) +#. (itstool) path: author/contrib +#: chage.1.xml.out:24 chfn.1.xml.out:26 chpasswd.8.xml.out:27 chsh.1.xml.out:26 +#: expiry.1.xml.out:27 faillog.5.xml.out:23 faillog.8.xml.out:23 +#: gpasswd.1.xml.out:28 groupadd.8.xml.out:26 groupdel.8.xml.out:24 +#: groupmems.8.xml.out:27 groupmod.8.xml.out:24 groups.1.xml.out:23 +#: grpck.8.xml.out:23 lastlog.8.xml.out:25 limits.5.xml.out:25 +#: login.1.xml.out:56 login.access.5.xml.out:24 login.defs.5.xml.out:92 +#: logoutd.8.xml.out:23 newgrp.1.xml.out:24 newusers.8.xml.out:39 +#: passwd.1.xml.out:30 passwd.5.xml.out:23 porttime.5.xml.out:23 +#: pwck.8.xml.out:30 pwconv.8.xml.out:29 shadow.3.xml.out:23 +#: shadow.5.xml.out:23 sg.1.xml.out:24 su.1.xml.out:40 suauth.5.xml.out:23 +#: useradd.8.xml.out:42 userdel.8.xml.out:29 usermod.8.xml.out:30 +#: vipw.8.xml.out:25 msgid "shadow-utils maintainer, 2000 - 2007" msgstr "" -#: vipw.8.xml:52(firstname) usermod.8.xml:57(firstname) -#: userdel.8.xml:56(firstname) useradd.8.xml:69(firstname) -#: suauth.5.xml:50(firstname) su.1.xml:67(firstname) sg.1.xml:51(firstname) -#: shadow.5.xml:50(firstname) shadow.3.xml:50(firstname) -#: pwconv.8.xml:56(firstname) pwck.8.xml:57(firstname) -#: porttime.5.xml:50(firstname) passwd.5.xml:50(firstname) -#: passwd.1.xml:57(firstname) nologin.8.xml:39(firstname) -#: newusers.8.xml:66(firstname) newgrp.1.xml:51(firstname) -#: logoutd.8.xml:50(firstname) login.defs.5.xml:119(firstname) -#: login.access.5.xml:51(firstname) login.1.xml:83(firstname) -#: limits.5.xml:52(firstname) lastlog.8.xml:52(firstname) -#: gshadow.5.xml:38(firstname) grpck.8.xml:50(firstname) -#: groups.1.xml:50(firstname) groupmod.8.xml:51(firstname) -#: groupmems.8.xml:54(firstname) groupdel.8.xml:51(firstname) -#: groupadd.8.xml:53(firstname) gpasswd.1.xml:55(firstname) -#: faillog.8.xml:50(firstname) faillog.5.xml:50(firstname) -#: expiry.1.xml:54(firstname) chsh.1.xml:53(firstname) -#: chpasswd.8.xml:54(firstname) chgpasswd.8.xml:50(firstname) -#: chfn.1.xml:53(firstname) chage.1.xml:51(firstname) +#. (itstool) path: author/firstname +#: chage.1.xml.out:27 chfn.1.xml.out:29 chgpasswd.8.xml.out:26 +#: chpasswd.8.xml.out:30 chsh.1.xml.out:29 expiry.1.xml.out:30 +#: faillog.5.xml.out:26 faillog.8.xml.out:26 gpasswd.1.xml.out:31 +#: groupadd.8.xml.out:29 groupdel.8.xml.out:27 groupmems.8.xml.out:30 +#: groupmod.8.xml.out:27 groups.1.xml.out:26 grpck.8.xml.out:26 +#: gshadow.5.xml.out:14 lastlog.8.xml.out:28 limits.5.xml.out:28 +#: login.1.xml.out:59 login.access.5.xml.out:27 login.defs.5.xml.out:95 +#: logoutd.8.xml.out:26 newgrp.1.xml.out:27 newusers.8.xml.out:42 +#: nologin.8.xml.out:15 passwd.1.xml.out:33 passwd.5.xml.out:26 +#: porttime.5.xml.out:26 pwck.8.xml.out:33 pwconv.8.xml.out:32 +#: shadow.3.xml.out:26 shadow.5.xml.out:26 sg.1.xml.out:27 su.1.xml.out:43 +#: suauth.5.xml.out:26 useradd.8.xml.out:45 userdel.8.xml.out:32 +#: usermod.8.xml.out:33 vipw.8.xml.out:28 msgid "Nicolas" msgstr "" -#: vipw.8.xml:53(surname) usermod.8.xml:58(surname) userdel.8.xml:57(surname) -#: useradd.8.xml:70(surname) suauth.5.xml:51(surname) su.1.xml:68(surname) -#: sg.1.xml:52(surname) shadow.5.xml:51(surname) shadow.3.xml:51(surname) -#: pwconv.8.xml:57(surname) pwck.8.xml:58(surname) porttime.5.xml:51(surname) -#: passwd.5.xml:51(surname) passwd.1.xml:58(surname) nologin.8.xml:40(surname) -#: newusers.8.xml:67(surname) newgrp.1.xml:52(surname) -#: logoutd.8.xml:51(surname) login.defs.5.xml:120(surname) -#: login.access.5.xml:52(surname) login.1.xml:84(surname) -#: limits.5.xml:53(surname) lastlog.8.xml:53(surname) gshadow.5.xml:39(surname) -#: grpck.8.xml:51(surname) groups.1.xml:51(surname) groupmod.8.xml:52(surname) -#: groupmems.8.xml:55(surname) groupdel.8.xml:52(surname) -#: groupadd.8.xml:54(surname) gpasswd.1.xml:56(surname) -#: faillog.8.xml:51(surname) faillog.5.xml:51(surname) expiry.1.xml:55(surname) -#: chsh.1.xml:54(surname) chpasswd.8.xml:55(surname) -#: chgpasswd.8.xml:51(surname) chfn.1.xml:54(surname) chage.1.xml:52(surname) +#. (itstool) path: author/surname +#: chage.1.xml.out:28 chfn.1.xml.out:30 chgpasswd.8.xml.out:27 +#: chpasswd.8.xml.out:31 chsh.1.xml.out:30 expiry.1.xml.out:31 +#: faillog.5.xml.out:27 faillog.8.xml.out:27 gpasswd.1.xml.out:32 +#: groupadd.8.xml.out:30 groupdel.8.xml.out:28 groupmems.8.xml.out:31 +#: groupmod.8.xml.out:28 groups.1.xml.out:27 grpck.8.xml.out:27 +#: gshadow.5.xml.out:15 lastlog.8.xml.out:29 limits.5.xml.out:29 +#: login.1.xml.out:60 login.access.5.xml.out:28 login.defs.5.xml.out:96 +#: logoutd.8.xml.out:27 newgrp.1.xml.out:28 newusers.8.xml.out:43 +#: nologin.8.xml.out:16 passwd.1.xml.out:34 passwd.5.xml.out:27 +#: porttime.5.xml.out:27 pwck.8.xml.out:34 pwconv.8.xml.out:33 +#: shadow.3.xml.out:27 shadow.5.xml.out:27 sg.1.xml.out:28 su.1.xml.out:44 +#: suauth.5.xml.out:27 useradd.8.xml.out:46 userdel.8.xml.out:33 +#: usermod.8.xml.out:34 vipw.8.xml.out:29 msgid "François" msgstr "" -#: vipw.8.xml:54(email) usermod.8.xml:59(email) userdel.8.xml:58(email) -#: useradd.8.xml:71(email) suauth.5.xml:52(email) su.1.xml:69(email) -#: sg.1.xml:53(email) shadow.5.xml:52(email) shadow.3.xml:52(email) -#: pwconv.8.xml:58(email) pwck.8.xml:59(email) porttime.5.xml:52(email) -#: passwd.5.xml:52(email) passwd.1.xml:59(email) nologin.8.xml:41(email) -#: newusers.8.xml:68(email) newgrp.1.xml:53(email) logoutd.8.xml:52(email) -#: login.defs.5.xml:121(email) login.access.5.xml:53(email) -#: login.1.xml:85(email) limits.5.xml:54(email) lastlog.8.xml:54(email) -#: gshadow.5.xml:40(email) grpck.8.xml:52(email) groups.1.xml:52(email) -#: groupmod.8.xml:53(email) groupmems.8.xml:56(email) groupdel.8.xml:53(email) -#: groupadd.8.xml:55(email) gpasswd.1.xml:57(email) faillog.8.xml:52(email) -#: faillog.5.xml:52(email) expiry.1.xml:56(email) chsh.1.xml:55(email) -#: chpasswd.8.xml:56(email) chgpasswd.8.xml:52(email) chfn.1.xml:55(email) -#: chage.1.xml:53(email) +#. (itstool) path: author/email +#: chage.1.xml.out:29 chfn.1.xml.out:31 chgpasswd.8.xml.out:28 +#: chpasswd.8.xml.out:32 chsh.1.xml.out:31 expiry.1.xml.out:32 +#: faillog.5.xml.out:28 faillog.8.xml.out:28 gpasswd.1.xml.out:33 +#: groupadd.8.xml.out:31 groupdel.8.xml.out:29 groupmems.8.xml.out:32 +#: groupmod.8.xml.out:29 groups.1.xml.out:28 grpck.8.xml.out:28 +#: gshadow.5.xml.out:16 lastlog.8.xml.out:30 limits.5.xml.out:30 +#: login.1.xml.out:61 login.access.5.xml.out:29 login.defs.5.xml.out:97 +#: logoutd.8.xml.out:28 newgrp.1.xml.out:29 newusers.8.xml.out:44 +#: nologin.8.xml.out:17 passwd.1.xml.out:35 passwd.5.xml.out:28 +#: porttime.5.xml.out:28 pwck.8.xml.out:35 pwconv.8.xml.out:34 +#: shadow.3.xml.out:28 shadow.5.xml.out:28 sg.1.xml.out:29 su.1.xml.out:45 +#: suauth.5.xml.out:28 useradd.8.xml.out:47 userdel.8.xml.out:34 +#: usermod.8.xml.out:35 vipw.8.xml.out:30 msgid "nicolas.francois@centraliens.net" msgstr "" -#: vipw.8.xml:55(contrib) usermod.8.xml:60(contrib) userdel.8.xml:59(contrib) -#: useradd.8.xml:72(contrib) suauth.5.xml:53(contrib) su.1.xml:70(contrib) -#: sg.1.xml:54(contrib) shadow.5.xml:53(contrib) shadow.3.xml:53(contrib) -#: pwconv.8.xml:59(contrib) pwck.8.xml:60(contrib) porttime.5.xml:53(contrib) -#: passwd.5.xml:53(contrib) passwd.1.xml:60(contrib) nologin.8.xml:42(contrib) -#: newusers.8.xml:69(contrib) newgrp.1.xml:54(contrib) -#: logoutd.8.xml:53(contrib) login.defs.5.xml:122(contrib) -#: login.access.5.xml:54(contrib) login.1.xml:86(contrib) -#: limits.5.xml:55(contrib) lastlog.8.xml:55(contrib) gshadow.5.xml:42(contrib) -#: grpck.8.xml:53(contrib) groups.1.xml:53(contrib) groupmod.8.xml:54(contrib) -#: groupmems.8.xml:57(contrib) groupdel.8.xml:54(contrib) -#: groupadd.8.xml:56(contrib) gpasswd.1.xml:58(contrib) -#: faillog.8.xml:53(contrib) faillog.5.xml:53(contrib) expiry.1.xml:57(contrib) -#: chsh.1.xml:56(contrib) chpasswd.8.xml:57(contrib) -#: chgpasswd.8.xml:53(contrib) chfn.1.xml:56(contrib) chage.1.xml:54(contrib) +#. (itstool) path: author/contrib +#: chage.1.xml.out:30 chfn.1.xml.out:32 chgpasswd.8.xml.out:29 +#: chpasswd.8.xml.out:33 chsh.1.xml.out:32 expiry.1.xml.out:33 +#: faillog.5.xml.out:29 faillog.8.xml.out:29 gpasswd.1.xml.out:34 +#: groupadd.8.xml.out:32 groupdel.8.xml.out:30 groupmems.8.xml.out:33 +#: groupmod.8.xml.out:30 groups.1.xml.out:29 grpck.8.xml.out:29 +#: gshadow.5.xml.out:18 lastlog.8.xml.out:31 limits.5.xml.out:31 +#: login.1.xml.out:62 login.access.5.xml.out:30 login.defs.5.xml.out:98 +#: logoutd.8.xml.out:29 newgrp.1.xml.out:30 newusers.8.xml.out:45 +#: nologin.8.xml.out:18 passwd.1.xml.out:36 passwd.5.xml.out:29 +#: porttime.5.xml.out:29 pwck.8.xml.out:36 pwconv.8.xml.out:35 +#: shadow.3.xml.out:29 shadow.5.xml.out:29 sg.1.xml.out:30 su.1.xml.out:46 +#: suauth.5.xml.out:29 useradd.8.xml.out:48 userdel.8.xml.out:35 +#: usermod.8.xml.out:36 vipw.8.xml.out:31 msgid "shadow-utils maintainer, 2007 - now" msgstr "" -#: vipw.8.xml:59(refentrytitle) vipw.8.xml:66(refname) vipw.8.xml:75(command) -#: login.defs.5.xml:524(term) -msgid "vipw" -msgstr "vipw" +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#. (itstool) path: cmdsynopsis/command +#. (itstool) path: para/command +#. (itstool) path: varlistentry/term +#. (itstool) path: citerefentry/refentrytitle +#: chage.1.xml.out:34 chage.1.xml.out:41 chage.1.xml.out:46 chage.1.xml.out:59 +#: chage.1.xml.out:69 chage.1.xml.out:215 chage.1.xml.out:225 +#: chage.1.xml.out:235 chage.1.xml.out:240 chage.1.xml.out:284 +#: login.defs.5.xml.out:233 shadow.5.xml.out:262 +msgid "chage" +msgstr "" -#: vipw.8.xml:60(manvolnum) usermod.8.xml:65(manvolnum) -#: userdel.8.xml:64(manvolnum) userdel.8.xml:282(replaceable) -#: useradd.8.xml:77(manvolnum) pwconv.8.xml:64(manvolnum) -#: pwck.8.xml:65(manvolnum) nologin.8.xml:47(manvolnum) -#: newusers.8.xml:74(manvolnum) logoutd.8.xml:58(manvolnum) -#: lastlog.8.xml:60(manvolnum) grpck.8.xml:58(manvolnum) -#: groupmod.8.xml:59(manvolnum) groupmems.8.xml:62(manvolnum) -#: groupdel.8.xml:59(manvolnum) groupdel.8.xml:209(replaceable) -#: groupadd.8.xml:61(manvolnum) faillog.8.xml:58(manvolnum) -#: faillog.5.xml:111(manvolnum) chpasswd.8.xml:62(manvolnum) -#: chgpasswd.8.xml:58(manvolnum) -msgid "8" -msgstr "8" +#. (itstool) path: refmeta/manvolnum +#. (itstool) path: term/replaceable +#. (itstool) path: citerefentry/manvolnum +#. (itstool) path: para/replaceable +#: chage.1.xml.out:35 chage.1.xml.out:293 chfn.1.xml.out:37 chfn.1.xml.out:65 +#: chfn.1.xml.out:204 chgpasswd.8.xml.out:216 chpasswd.8.xml.out:264 +#: chsh.1.xml.out:37 chsh.1.xml.out:170 expiry.1.xml.out:38 +#: faillog.8.xml.out:234 gpasswd.1.xml.out:39 gpasswd.1.xml.out:93 +#: gpasswd.1.xml.out:276 groupadd.8.xml.out:335 groupadd.8.xml.out:338 +#: groupadd.8.xml.out:341 groupdel.8.xml.out:204 groupdel.8.xml.out:207 +#: groupdel.8.xml.out:210 groupmems.8.xml.out:208 groupmems.8.xml.out:211 +#: groupmems.8.xml.out:214 groupmod.8.xml.out:325 groupmod.8.xml.out:328 +#: groupmod.8.xml.out:331 groups.1.xml.out:34 groups.1.xml.out:91 +#: grpck.8.xml.out:242 gshadow.5.xml.out:77 gshadow.5.xml.out:165 +#: limits.5.xml.out:185 login.1.xml.out:67 login.1.xml.out:128 +#: login.1.xml.out:377 login.1.xml.out:380 login.1.xml.out:383 +#: login.1.xml.out:386 login.access.5.xml.out:112 login.defs.5.xml.out:516 +#: login.defs.5.xml.out:518 login.defs.5.xml.out:520 login.defs.5.xml.out:530 +#: login.defs.5.xml.out:533 login.defs.5.xml.out:536 newgrp.1.xml.out:35 +#: newgrp.1.xml.out:130 newgrp.1.xml.out:133 newgrp.1.xml.out:136 +#: newgrp.1.xml.out:139 newgrp.1.xml.out:142 newusers.8.xml.out:455 +#: nologin.8.xml.out:60 passwd.1.xml.out:41 passwd.1.xml.out:430 +#: passwd.5.xml.out:118 passwd.5.xml.out:173 passwd.5.xml.out:179 +#: passwd.5.xml.out:182 passwd.5.xml.out:197 porttime.5.xml.out:121 +#: pwck.8.xml.out:292 shadow.5.xml.out:262 shadow.5.xml.out:265 +#: shadow.5.xml.out:268 shadow.5.xml.out:283 sg.1.xml.out:35 sg.1.xml.out:119 +#: sg.1.xml.out:122 sg.1.xml.out:125 sg.1.xml.out:128 sg.1.xml.out:131 +#: su.1.xml.out:51 su.1.xml.out:391 su.1.xml.out:415 su.1.xml.out:421 +#: su.1.xml.out:424 suauth.5.xml.out:201 useradd.8.xml.out:772 +#: useradd.8.xml.out:833 useradd.8.xml.out:836 useradd.8.xml.out:839 +#: userdel.8.xml.out:240 userdel.8.xml.out:309 userdel.8.xml.out:312 +#: userdel.8.xml.out:315 usermod.8.xml.out:105 usermod.8.xml.out:242 +#: usermod.8.xml.out:594 usermod.8.xml.out:597 usermod.8.xml.out:600 +#: vipw.8.xml.out:78 vipw.8.xml.out:204 +msgid "1" +msgstr "" -#: vipw.8.xml:61(refmiscinfo) usermod.8.xml:66(refmiscinfo) -#: userdel.8.xml:65(refmiscinfo) useradd.8.xml:78(refmiscinfo) -#: pwconv.8.xml:65(refmiscinfo) pwck.8.xml:66(refmiscinfo) -#: nologin.8.xml:48(refmiscinfo) newusers.8.xml:75(refmiscinfo) -#: logoutd.8.xml:59(refmiscinfo) lastlog.8.xml:61(refmiscinfo) -#: grpck.8.xml:59(refmiscinfo) groupmod.8.xml:60(refmiscinfo) -#: groupmems.8.xml:63(refmiscinfo) groupdel.8.xml:60(refmiscinfo) -#: groupadd.8.xml:62(refmiscinfo) faillog.8.xml:59(refmiscinfo) -#: chpasswd.8.xml:63(refmiscinfo) chgpasswd.8.xml:59(refmiscinfo) -msgid "System Management Commands" -msgstr "Kommandoer for systemhåndtering" +#. (itstool) path: refmeta/refmiscinfo +#: chage.1.xml.out:36 chfn.1.xml.out:38 chsh.1.xml.out:38 expiry.1.xml.out:39 +#: gpasswd.1.xml.out:40 groups.1.xml.out:35 login.1.xml.out:68 +#: newgrp.1.xml.out:36 passwd.1.xml.out:42 sg.1.xml.out:36 su.1.xml.out:52 +msgid "User Commands" +msgstr "" -#: vipw.8.xml:62(refmiscinfo) usermod.8.xml:67(refmiscinfo) -#: userdel.8.xml:66(refmiscinfo) useradd.8.xml:79(refmiscinfo) -#: suauth.5.xml:60(refmiscinfo) su.1.xml:77(refmiscinfo) -#: sg.1.xml:61(refmiscinfo) shadow.5.xml:60(refmiscinfo) -#: shadow.3.xml:60(refmiscinfo) pwconv.8.xml:66(refmiscinfo) -#: pwck.8.xml:67(refmiscinfo) porttime.5.xml:60(refmiscinfo) -#: passwd.5.xml:60(refmiscinfo) passwd.1.xml:67(refmiscinfo) -#: nologin.8.xml:49(refmiscinfo) newusers.8.xml:76(refmiscinfo) -#: newgrp.1.xml:61(refmiscinfo) logoutd.8.xml:60(refmiscinfo) -#: login.defs.5.xml:129(refmiscinfo) login.access.5.xml:61(refmiscinfo) -#: login.1.xml:93(refmiscinfo) limits.5.xml:62(refmiscinfo) -#: lastlog.8.xml:62(refmiscinfo) gshadow.5.xml:49(refmiscinfo) -#: grpck.8.xml:60(refmiscinfo) groups.1.xml:60(refmiscinfo) -#: groupmod.8.xml:61(refmiscinfo) groupmems.8.xml:64(refmiscinfo) -#: groupdel.8.xml:61(refmiscinfo) groupadd.8.xml:63(refmiscinfo) -#: gpasswd.1.xml:65(refmiscinfo) faillog.8.xml:60(refmiscinfo) -#: faillog.5.xml:60(refmiscinfo) expiry.1.xml:64(refmiscinfo) -#: chsh.1.xml:63(refmiscinfo) chpasswd.8.xml:64(refmiscinfo) -#: chgpasswd.8.xml:60(refmiscinfo) chfn.1.xml:63(refmiscinfo) -#: chage.1.xml:61(refmiscinfo) +#. (itstool) path: refmeta/refmiscinfo +#: chage.1.xml.out:37 chfn.1.xml.out:39 chgpasswd.8.xml.out:36 +#: chpasswd.8.xml.out:40 chsh.1.xml.out:39 expiry.1.xml.out:40 +#: faillog.5.xml.out:36 faillog.8.xml.out:36 gpasswd.1.xml.out:41 +#: groupadd.8.xml.out:39 groupdel.8.xml.out:37 groupmems.8.xml.out:40 +#: groupmod.8.xml.out:37 groups.1.xml.out:36 grpck.8.xml.out:36 +#: gshadow.5.xml.out:25 lastlog.8.xml.out:38 limits.5.xml.out:38 +#: login.1.xml.out:69 login.access.5.xml.out:37 login.defs.5.xml.out:105 +#: logoutd.8.xml.out:36 newgrp.1.xml.out:37 newusers.8.xml.out:52 +#: nologin.8.xml.out:25 passwd.1.xml.out:43 passwd.5.xml.out:36 +#: porttime.5.xml.out:36 pwck.8.xml.out:43 pwconv.8.xml.out:42 +#: shadow.3.xml.out:36 shadow.5.xml.out:36 sg.1.xml.out:37 su.1.xml.out:53 +#: suauth.5.xml.out:36 useradd.8.xml.out:55 userdel.8.xml.out:42 +#: usermod.8.xml.out:43 vipw.8.xml.out:38 msgid "shadow-utils" msgstr "shadow-utils" -#: vipw.8.xml:67(refname) vipw.8.xml:81(command) -msgid "vigr" -msgstr "vigr" - -#: vipw.8.xml:68(refpurpose) -msgid "edit the password, group, shadow-password or shadow-group file" +#. (itstool) path: refmeta/refmiscinfo +#: chage.1.xml.out:38 chfn.1.xml.out:40 chgpasswd.8.xml.out:37 +#: chpasswd.8.xml.out:41 chsh.1.xml.out:40 expiry.1.xml.out:41 +#: faillog.5.xml.out:37 faillog.8.xml.out:37 gpasswd.1.xml.out:42 +#: groupadd.8.xml.out:40 groupdel.8.xml.out:38 groupmems.8.xml.out:41 +#: groupmod.8.xml.out:38 groups.1.xml.out:37 grpck.8.xml.out:37 +#: gshadow.5.xml.out:26 lastlog.8.xml.out:39 limits.5.xml.out:39 +#: login.1.xml.out:70 login.access.5.xml.out:38 login.defs.5.xml.out:106 +#: logoutd.8.xml.out:37 newgrp.1.xml.out:38 newusers.8.xml.out:53 +#: nologin.8.xml.out:26 passwd.1.xml.out:44 passwd.5.xml.out:37 +#: porttime.5.xml.out:37 pwck.8.xml.out:44 pwconv.8.xml.out:43 +#: shadow.3.xml.out:37 shadow.5.xml.out:37 sg.1.xml.out:38 su.1.xml.out:54 +#: suauth.5.xml.out:37 useradd.8.xml.out:56 userdel.8.xml.out:43 +#: usermod.8.xml.out:44 vipw.8.xml.out:39 +msgid "4.11.1" msgstr "" -"rediger adgangskoden, gruppe, shadow-adgangskode- eller shadow-gruppe-fil" -#: vipw.8.xml:77(replaceable) vipw.8.xml:83(replaceable) -#: usermod.8.xml:79(replaceable) userdel.8.xml:76(arg) -#: useradd.8.xml:90(replaceable) useradd.8.xml:102(replaceable) -#: su.1.xml:88(replaceable) pwconv.8.xml:81(replaceable) -#: pwconv.8.xml:87(replaceable) pwconv.8.xml:93(replaceable) -#: pwconv.8.xml:99(replaceable) pwck.8.xml:78(arg) passwd.1.xml:79(replaceable) -#: newusers.8.xml:88(replaceable) lastlog.8.xml:74(replaceable) -#: grpck.8.xml:71(arg) groupmod.8.xml:73(replaceable) -#: groupdel.8.xml:73(replaceable) groupadd.8.xml:75(replaceable) -#: faillog.8.xml:72(replaceable) chsh.1.xml:75(replaceable) -#: chpasswd.8.xml:76(replaceable) chgpasswd.8.xml:72(replaceable) -#: chfn.1.xml:75(replaceable) chage.1.xml:72(replaceable) +#. (itstool) path: refnamediv/refpurpose +#: chage.1.xml.out:42 +msgid "change user password expiry information" +msgstr "ændr udløbsinformation om brugeradgangskode" + +#. (itstool) path: arg/replaceable +#. (itstool) path: cmdsynopsis/arg +#: chage.1.xml.out:48 chfn.1.xml.out:51 chgpasswd.8.xml.out:48 +#: chpasswd.8.xml.out:52 chsh.1.xml.out:51 faillog.8.xml.out:48 +#: groupadd.8.xml.out:51 groupdel.8.xml.out:49 groupmod.8.xml.out:49 +#: grpck.8.xml.out:47 lastlog.8.xml.out:50 newusers.8.xml.out:64 +#: passwd.1.xml.out:55 pwck.8.xml.out:54 pwconv.8.xml.out:57 +#: pwconv.8.xml.out:63 pwconv.8.xml.out:69 pwconv.8.xml.out:75 su.1.xml.out:64 +#: useradd.8.xml.out:66 useradd.8.xml.out:78 userdel.8.xml.out:52 +#: usermod.8.xml.out:55 vipw.8.xml.out:53 vipw.8.xml.out:59 msgid "options" msgstr "tilvalg" -#: vipw.8.xml:89(title) usermod.8.xml:86(title) userdel.8.xml:84(title) -#: useradd.8.xml:108(title) suauth.5.xml:75(title) su.1.xml:103(title) -#: sg.1.xml:81(title) shadow.5.xml:69(title) shadow.3.xml:118(title) -#: shadow.3.xml:174(title) pwconv.8.xml:105(title) pwck.8.xml:93(title) -#: porttime.5.xml:69(title) passwd.5.xml:69(title) passwd.1.xml:88(title) -#: nologin.8.xml:64(title) newusers.8.xml:97(title) newgrp.1.xml:77(title) -#: logoutd.8.xml:75(title) login.defs.5.xml:138(title) -#: login.access.5.xml:70(title) login.1.xml:125(title) limits.5.xml:72(title) -#: lastlog.8.xml:80(title) gshadow.5.xml:58(title) grpck.8.xml:82(title) -#: groups.1.xml:78(title) groupmod.8.xml:80(title) groupmems.8.xml:85(title) -#: groupdel.8.xml:80(title) groupadd.8.xml:84(title) gpasswd.1.xml:94(title) -#: faillog.8.xml:78(title) faillog.5.xml:69(title) expiry.1.xml:82(title) -#: chsh.1.xml:84(title) chpasswd.8.xml:82(title) chgpasswd.8.xml:78(title) -#: chfn.1.xml:84(title) chage.1.xml:81(title) +#. (itstool) path: arg/replaceable +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#. (itstool) path: para/emphasis +#: chage.1.xml.out:51 chfn.1.xml.out:54 chsh.1.xml.out:54 faillog.8.xml.out:179 +#: lastlog.8.xml.out:138 passwd.1.xml.out:58 useradd.8.xml.out:68 +#: useradd.8.xml.out:158 userdel.8.xml.out:54 userdel.8.xml.out:64 +#: usermod.8.xml.out:57 usermod.8.xml.out:220 usermod.8.xml.out:498 +msgid "LOGIN" +msgstr "LOGIND" + +#. (itstool) path: refsect1/title +#: chage.1.xml.out:57 chfn.1.xml.out:60 chgpasswd.8.xml.out:54 +#: chpasswd.8.xml.out:58 chsh.1.xml.out:60 expiry.1.xml.out:58 +#: faillog.5.xml.out:45 faillog.8.xml.out:54 gpasswd.1.xml.out:70 +#: groupadd.8.xml.out:60 groupdel.8.xml.out:56 groupmems.8.xml.out:61 +#: groupmod.8.xml.out:56 groups.1.xml.out:54 grpck.8.xml.out:58 +#: gshadow.5.xml.out:34 lastlog.8.xml.out:56 limits.5.xml.out:48 +#: login.1.xml.out:101 login.access.5.xml.out:46 login.defs.5.xml.out:114 +#: logoutd.8.xml.out:51 newgrp.1.xml.out:53 newusers.8.xml.out:73 +#: nologin.8.xml.out:40 passwd.1.xml.out:64 passwd.5.xml.out:45 +#: porttime.5.xml.out:45 pwck.8.xml.out:69 pwconv.8.xml.out:81 +#: shadow.3.xml.out:94 shadow.3.xml.out:150 shadow.5.xml.out:45 sg.1.xml.out:57 +#: su.1.xml.out:79 suauth.5.xml.out:51 useradd.8.xml.out:84 +#: userdel.8.xml.out:60 usermod.8.xml.out:62 vipw.8.xml.out:65 msgid "DESCRIPTION" msgstr "BESKRIVELSE" -#: vipw.8.xml:90(para) +#. (itstool) path: refsect1/para +#: chage.1.xml.out:58 msgid "" -"The vipw and vigr commands edits the " -"files /etc/passwd and /etc/group, " -"respectively. With the flag, they will edit the shadow " -"versions of those files, /etc/shadow and /etc/" -"gshadow, respectively. The programs will set the appropriate " -"locks to prevent file corruption. When looking for an editor, the programs " -"will first try the environment variable $VISUAL, then the " -"environment variable $EDITOR, and finally the default editor, " -"vi1." +"The <_:command-1/> command changes the number of days between password " +"changes and the date of the last password change. This information is used " +"by the system to determine when a user must change their password." msgstr "" -"Kommandoerne vipw og vigr redigerer " -"filerne /etc/passwd og /etc/group, " -"respektivt. Med flaget vil de redigere versionerne for " -"Shadow for disse filer, /etc/shadow og /etc/" -"gshadow, respektivt. Programmerne vil sætte de passende låse for " -"at forhindre filødelæggelse. Når der kigges efter et redigerngsprogram, så " -"vil programmet øfrst forsøge med miljøvariablen $VISUAL, " -"derefter miljøvariablen $EDITOR, og endelig " -"standardredigeringsprogrammet, vi1." -#: vipw.8.xml:107(title) usermod.8.xml:94(title) userdel.8.xml:93(title) -#: useradd.8.xml:126(title) su.1.xml:144(title) pwconv.8.xml:187(title) -#: pwck.8.xml:177(title) passwd.1.xml:174(title) newusers.8.xml:274(title) -#: login.1.xml:210(title) lastlog.8.xml:92(title) grpck.8.xml:146(title) -#: groupmod.8.xml:89(title) groupmems.8.xml:100(title) groupdel.8.xml:88(title) -#: groupadd.8.xml:93(title) gpasswd.1.xml:134(title) faillog.8.xml:89(title) -#: expiry.1.xml:91(title) chsh.1.xml:95(title) chpasswd.8.xml:130(title) -#: chgpasswd.8.xml:105(title) chfn.1.xml:111(title) chage.1.xml:91(title) +#. (itstool) path: refsect1/title +#: chage.1.xml.out:67 chfn.1.xml.out:87 chgpasswd.8.xml.out:81 +#: chpasswd.8.xml.out:106 chsh.1.xml.out:71 expiry.1.xml.out:67 +#: faillog.8.xml.out:65 gpasswd.1.xml.out:110 groupadd.8.xml.out:69 +#: groupdel.8.xml.out:64 groupmems.8.xml.out:76 groupmod.8.xml.out:65 +#: grpck.8.xml.out:122 lastlog.8.xml.out:68 login.1.xml.out:186 +#: newusers.8.xml.out:250 passwd.1.xml.out:150 pwck.8.xml.out:153 +#: pwconv.8.xml.out:163 su.1.xml.out:120 useradd.8.xml.out:102 +#: userdel.8.xml.out:69 usermod.8.xml.out:70 vipw.8.xml.out:83 msgid "OPTIONS" msgstr "TILVALG" -#: vipw.8.xml:108(para) -msgid "" -"The options which apply to the vipw and vigr commands are:" +#. (itstool) path: refsect1/para +#: chage.1.xml.out:68 chfn.1.xml.out:88 chgpasswd.8.xml.out:82 +#: chpasswd.8.xml.out:107 chsh.1.xml.out:72 expiry.1.xml.out:68 +#: faillog.8.xml.out:66 gpasswd.1.xml.out:118 groupadd.8.xml.out:70 +#: groupdel.8.xml.out:65 groupmems.8.xml.out:77 groupmod.8.xml.out:66 +#: grpck.8.xml.out:127 lastlog.8.xml.out:69 newusers.8.xml.out:251 +#: passwd.1.xml.out:151 pwck.8.xml.out:158 su.1.xml.out:121 +#: useradd.8.xml.out:103 userdel.8.xml.out:70 usermod.8.xml.out:71 +#, fuzzy +#| msgid "The options which apply to the chfn command are:" +msgid "The options which apply to the <_:command-1/> command are:" +msgstr "Tilvalgende som gælder for kommandoen chfn er:" + +#. (itstool) path: term/option +#. (itstool) path: para/option +#: chage.1.xml.out:74 gpasswd.1.xml.out:137 groupmems.8.xml.out:94 +#: passwd.1.xml.out:168 useradd.8.xml.out:122 useradd.8.xml.out:151 +#: useradd.8.xml.out:556 usermod.8.xml.out:112 usermod.8.xml.out:258 +msgid "-d" msgstr "" -"Tilvalgene som gælder for kommandoerne vipw og " -"vigr er:" -#: vipw.8.xml:114(term) -msgid ", " -msgstr ", " +#. (itstool) path: term/option +#: chage.1.xml.out:74 +msgid "--lastday" +msgstr "" -#: vipw.8.xml:116(para) -msgid "Edit group database." -msgstr "Rediger gruppedatabase." +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#: chage.1.xml.out:74 chage.1.xml.out:81 chage.1.xml.out:175 +msgid "LAST_DAY" +msgstr "" -#: vipw.8.xml:120(term) userdel.8.xml:123(term) useradd.8.xml:280(term) -#: pwconv.8.xml:195(term) pwck.8.xml:197(term) passwd.1.xml:214(term) -#: newusers.8.xml:304(term) lastlog.8.xml:119(term) grpck.8.xml:156(term) -#: groupmod.8.xml:138(term) groupmems.8.xml:142(term) groupdel.8.xml:106(term) -#: groupadd.8.xml:131(term) gpasswd.1.xml:173(term) faillog.8.xml:122(term) -#: expiry.1.xml:112(term) chsh.1.xml:101(term) chpasswd.8.xml:171(term) -#: chgpasswd.8.xml:131(term) chage.1.xml:139(term) -msgid ", " -msgstr ", " +#. (itstool) path: varlistentry/term +#: chage.1.xml.out:73 chage.1.xml.out:88 chage.1.xml.out:127 +#: chage.1.xml.out:156 chage.1.xml.out:168 chage.1.xml.out:189 +#: chage.1.xml.out:201 chfn.1.xml.out:93 chfn.1.xml.out:101 chfn.1.xml.out:109 +#: chfn.1.xml.out:121 chfn.1.xml.out:129 chfn.1.xml.out:149 +#: chgpasswd.8.xml.out:122 chpasswd.8.xml.out:113 chpasswd.8.xml.out:164 +#: chpasswd.8.xml.out:176 chsh.1.xml.out:83 chsh.1.xml.out:95 +#: faillog.8.xml.out:104 faillog.8.xml.out:119 faillog.8.xml.out:156 +#: faillog.8.xml.out:168 gpasswd.1.xml.out:123 gpasswd.1.xml.out:136 +#: gpasswd.1.xml.out:157 groupadd.8.xml.out:90 groupadd.8.xml.out:143 +#: groupadd.8.xml.out:180 groupadd.8.xml.out:192 groupdel.8.xml.out:88 +#: groupdel.8.xml.out:100 groupmems.8.xml.out:83 groupmems.8.xml.out:94 +#: groupmems.8.xml.out:110 groupmems.8.xml.out:141 groupmod.8.xml.out:72 +#: groupmod.8.xml.out:81 groupmod.8.xml.out:120 groupmod.8.xml.out:142 +#: groupmod.8.xml.out:163 groupmod.8.xml.out:175 grpck.8.xml.out:148 +#: lastlog.8.xml.out:74 lastlog.8.xml.out:103 lastlog.8.xml.out:126 +#: newusers.8.xml.out:305 passwd.1.xml.out:196 passwd.1.xml.out:245 +#: passwd.1.xml.out:267 passwd.1.xml.out:277 passwd.1.xml.out:320 +#: passwd.1.xml.out:333 pwck.8.xml.out:196 pwconv.8.xml.out:177 +#: su.1.xml.out:125 su.1.xml.out:162 useradd.8.xml.out:117 +#: useradd.8.xml.out:138 useradd.8.xml.out:150 useradd.8.xml.out:178 +#: useradd.8.xml.out:195 useradd.8.xml.out:214 useradd.8.xml.out:262 +#: useradd.8.xml.out:398 useradd.8.xml.out:446 useradd.8.xml.out:458 +#: useradd.8.xml.out:475 useradd.8.xml.out:489 useradd.8.xml.out:524 +#: useradd.8.xml.out:548 useradd.8.xml.out:566 useradd.8.xml.out:578 +#: useradd.8.xml.out:593 useradd.8.xml.out:613 userdel.8.xml.out:122 +#: userdel.8.xml.out:134 usermod.8.xml.out:98 usermod.8.xml.out:111 +#: usermod.8.xml.out:128 usermod.8.xml.out:148 usermod.8.xml.out:169 +#: usermod.8.xml.out:214 usermod.8.xml.out:279 usermod.8.xml.out:317 +#: usermod.8.xml.out:329 usermod.8.xml.out:346 usermod.8.xml.out:357 +#: usermod.8.xml.out:489 vipw.8.xml.out:114 +msgid "<_:option-1/>, <_:option-2/> <_:replaceable-3/>" +msgstr "" -#: vipw.8.xml:122(para) userdel.8.xml:125(para) useradd.8.xml:282(para) -#: pwconv.8.xml:197(para) pwck.8.xml:199(para) passwd.1.xml:216(para) -#: newusers.8.xml:306(para) lastlog.8.xml:123(para) grpck.8.xml:158(para) -#: groupmod.8.xml:140(para) groupmems.8.xml:144(para) groupdel.8.xml:108(para) -#: groupadd.8.xml:133(para) gpasswd.1.xml:175(para) faillog.8.xml:124(para) -#: expiry.1.xml:114(para) chsh.1.xml:103(para) chpasswd.8.xml:173(para) -#: chgpasswd.8.xml:133(para) chfn.1.xml:169(para) chage.1.xml:141(para) +#. (itstool) path: para/emphasis +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#: chage.1.xml.out:82 chage.1.xml.out:287 groupadd.8.xml.out:293 +#: groupdel.8.xml.out:167 groupmod.8.xml.out:258 grpck.8.xml.out:236 +#: login.defs.5.xml.out:138 passwd.1.xml.out:424 pwck.8.xml.out:286 +#: su.1.xml.out:385 useradd.8.xml.out:766 userdel.8.xml.out:234 +msgid "0" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:77 +msgid "" +"Set the number of days since January 1st, 1970 when the password was last " +"changed. The date may also be expressed in the format YYYY-MM-DD (or the " +"format more commonly used in your area). If the <_:replaceable-1/> is set to " +"<_:emphasis-2/> the user is forced to change his password on the next log on." +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:89 +msgid "-E" +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:89 useradd.8.xml.out:179 useradd.8.xml.out:567 +#: usermod.8.xml.out:129 +msgid "--expiredate" +msgstr "" + +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#: chage.1.xml.out:89 chage.1.xml.out:109 useradd.8.xml.out:179 +#: useradd.8.xml.out:567 usermod.8.xml.out:129 usermod.8.xml.out:137 +#: usermod.8.xml.out:241 usermod.8.xml.out:405 +msgid "EXPIRE_DATE" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:92 +msgid "" +"Set the date or number of days since January 1, 1970 on which the user's " +"account will no longer be accessible. The date may also be expressed in the " +"format YYYY-MM-DD (or the format more commonly used in your area). A user " +"whose account is locked must contact the system administrator before being " +"able to use the system again." +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:100 +msgid "" +"For example the following can be used to set an account to expire in 180 " +"days:" +msgstr "" + +#. (itstool) path: listitem/programlisting +#: chage.1.xml.out:104 +msgid "chage -E $(date -d +180days +%Y-%m-%d)" +msgstr "" + +#. (itstool) path: para/emphasis +#. (itstool) path: para/replaceable +#: chage.1.xml.out:108 chage.1.xml.out:139 chage.1.xml.out:182 +#: passwd.1.xml.out:343 useradd.8.xml.out:298 +msgid "-1" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:107 +msgid "" +"Passing the number <_:emphasis-1/> as the <_:replaceable-2/> will remove an " +"account expiration date." +msgstr "" + +#. (itstool) path: term/option +#. (itstool) path: para/option +#: chage.1.xml.out:115 chfn.1.xml.out:102 chgpasswd.8.xml.out:107 +#: chpasswd.8.xml.out:147 chsh.1.xml.out:77 expiry.1.xml.out:88 +#: faillog.8.xml.out:98 gpasswd.1.xml.out:149 groupadd.8.xml.out:107 +#: groupdel.8.xml.out:82 groupmems.8.xml.out:118 groupmod.8.xml.out:114 +#: grpck.8.xml.out:132 lastlog.8.xml.out:96 login.1.xml.out:204 +#: login.1.xml.out:229 newusers.8.xml.out:280 passwd.1.xml.out:190 +#: pwck.8.xml.out:173 pwconv.8.xml.out:171 useradd.8.xml.out:256 +#: userdel.8.xml.out:99 vipw.8.xml.out:96 +msgid "-h" +msgstr "" + +#. (itstool) path: term/option +#. (itstool) path: para/option +#: chage.1.xml.out:115 chfn.1.xml.out:142 chgpasswd.8.xml.out:107 +#: chpasswd.8.xml.out:147 chsh.1.xml.out:77 expiry.1.xml.out:88 +#: faillog.8.xml.out:98 gpasswd.1.xml.out:149 groupadd.8.xml.out:107 +#: groupdel.8.xml.out:82 groupmems.8.xml.out:118 groupmod.8.xml.out:114 +#: grpck.8.xml.out:132 lastlog.8.xml.out:96 newusers.8.xml.out:280 +#: passwd.1.xml.out:190 pwck.8.xml.out:173 pwconv.8.xml.out:171 +#: su.1.xml.out:387 useradd.8.xml.out:256 userdel.8.xml.out:99 +#: vipw.8.xml.out:96 +msgid "--help" +msgstr "" + +#. (itstool) path: varlistentry/term +#: chage.1.xml.out:115 chage.1.xml.out:121 chage.1.xml.out:146 +#: chfn.1.xml.out:141 chgpasswd.8.xml.out:88 chgpasswd.8.xml.out:101 +#: chgpasswd.8.xml.out:107 chgpasswd.8.xml.out:113 chgpasswd.8.xml.out:134 +#: chpasswd.8.xml.out:139 chpasswd.8.xml.out:147 chpasswd.8.xml.out:155 +#: chsh.1.xml.out:77 expiry.1.xml.out:73 expiry.1.xml.out:79 +#: expiry.1.xml.out:88 faillog.8.xml.out:72 faillog.8.xml.out:98 +#: faillog.8.xml.out:144 gpasswd.1.xml.out:149 gpasswd.1.xml.out:171 +#: gpasswd.1.xml.out:187 groupadd.8.xml.out:76 groupadd.8.xml.out:107 +#: groupadd.8.xml.out:133 groupadd.8.xml.out:164 groupadd.8.xml.out:209 +#: groupdel.8.xml.out:71 groupdel.8.xml.out:82 groupmems.8.xml.out:118 +#: groupmems.8.xml.out:124 groupmems.8.xml.out:130 groupmod.8.xml.out:114 +#: groupmod.8.xml.out:131 groupmod.8.xml.out:192 grpck.8.xml.out:132 +#: grpck.8.xml.out:138 grpck.8.xml.out:160 grpck.8.xml.out:171 +#: lastlog.8.xml.out:84 lastlog.8.xml.out:95 lastlog.8.xml.out:115 +#: newusers.8.xml.out:268 newusers.8.xml.out:280 newusers.8.xml.out:286 +#: newusers.8.xml.out:319 passwd.1.xml.out:156 passwd.1.xml.out:167 +#: passwd.1.xml.out:179 passwd.1.xml.out:190 passwd.1.xml.out:209 +#: passwd.1.xml.out:221 passwd.1.xml.out:257 passwd.1.xml.out:289 +#: passwd.1.xml.out:307 pwck.8.xml.out:173 pwck.8.xml.out:179 +#: pwck.8.xml.out:188 pwck.8.xml.out:208 pwconv.8.xml.out:171 +#: useradd.8.xml.out:168 useradd.8.xml.out:256 useradd.8.xml.out:312 +#: useradd.8.xml.out:331 useradd.8.xml.out:354 useradd.8.xml.out:367 +#: useradd.8.xml.out:386 useradd.8.xml.out:419 useradd.8.xml.out:507 +#: userdel.8.xml.out:75 userdel.8.xml.out:99 userdel.8.xml.out:105 +#: userdel.8.xml.out:151 usermod.8.xml.out:77 usermod.8.xml.out:88 +#: usermod.8.xml.out:228 usermod.8.xml.out:247 usermod.8.xml.out:268 +#: usermod.8.xml.out:306 usermod.8.xml.out:393 vipw.8.xml.out:90 +#: vipw.8.xml.out:96 vipw.8.xml.out:102 vipw.8.xml.out:108 vipw.8.xml.out:126 +#: vipw.8.xml.out:132 +#, fuzzy +#| msgid ", " +msgid "<_:option-1/>, <_:option-2/>" +msgstr ", " + +#. (itstool) path: listitem/para +#: chage.1.xml.out:117 chfn.1.xml.out:145 chgpasswd.8.xml.out:109 +#: chpasswd.8.xml.out:149 chsh.1.xml.out:79 expiry.1.xml.out:90 +#: faillog.8.xml.out:100 gpasswd.1.xml.out:151 groupadd.8.xml.out:109 +#: groupdel.8.xml.out:84 groupmems.8.xml.out:120 groupmod.8.xml.out:116 +#: grpck.8.xml.out:134 lastlog.8.xml.out:99 newusers.8.xml.out:282 +#: passwd.1.xml.out:192 pwck.8.xml.out:175 pwconv.8.xml.out:173 +#: useradd.8.xml.out:258 userdel.8.xml.out:101 vipw.8.xml.out:98 msgid "Display help message and exit." msgstr "Vis hjælpeteksten og afslut." -#: vipw.8.xml:126(term) -msgid ", " -msgstr ", " - -#: vipw.8.xml:128(para) -msgid "Edit passwd database." -msgstr "Rediger passwd-database." - -#: vipw.8.xml:132(term) pwck.8.xml:203(term) passwd.1.xml:281(term) -msgid ", " -msgstr ", " - -#: vipw.8.xml:134(para) passwd.1.xml:285(para) -msgid "Quiet mode." -msgstr "Stille tilstand." - -#: vipw.8.xml:138(term) usermod.8.xml:330(term) userdel.8.xml:146(term) -#: useradd.8.xml:464(term) pwconv.8.xml:201(term) pwck.8.xml:220(term) -#: passwd.1.xml:301(term) newusers.8.xml:329(term) lastlog.8.xml:127(term) -#: grpck.8.xml:172(term) groupmod.8.xml:187(term) groupmems.8.xml:165(term) -#: groupdel.8.xml:112(term) groupadd.8.xml:204(term) faillog.8.xml:180(term) -#: chsh.1.xml:107(term) chpasswd.8.xml:188(term) chgpasswd.8.xml:146(term) -#: chfn.1.xml:153(term) chage.1.xml:213(term) -msgid "" -",  CHROOT_DIR" +#. (itstool) path: term/option +#: chage.1.xml.out:121 passwd.1.xml.out:197 +msgid "-i" msgstr "" -",  CHROOT_DIR" -#: vipw.8.xml:142(para) usermod.8.xml:334(para) userdel.8.xml:150(para) -#: useradd.8.xml:468(para) pwconv.8.xml:205(para) pwck.8.xml:224(para) -#: passwd.1.xml:305(para) newusers.8.xml:333(para) lastlog.8.xml:131(para) -#: grpck.8.xml:176(para) groupmod.8.xml:191(para) groupmems.8.xml:169(para) -#: groupdel.8.xml:116(para) groupadd.8.xml:208(para) gpasswd.1.xml:185(para) -#: faillog.8.xml:184(para) chsh.1.xml:111(para) chpasswd.8.xml:192(para) -#: chgpasswd.8.xml:150(para) chfn.1.xml:157(para) chage.1.xml:217(para) +#. (itstool) path: term/option +#: chage.1.xml.out:121 +msgid "--iso8601" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:123 +msgid "When printing dates, use YYYY-MM-DD format." +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:128 +msgid "-I" +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:128 passwd.1.xml.out:197 useradd.8.xml.out:196 +#: useradd.8.xml.out:579 usermod.8.xml.out:149 +msgid "--inactive" +msgstr "" + +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#. (itstool) path: para/option +#: chage.1.xml.out:128 chage.1.xml.out:134 chage.1.xml.out:140 +#: passwd.1.xml.out:197 passwd.1.xml.out:203 useradd.8.xml.out:196 +#: useradd.8.xml.out:208 useradd.8.xml.out:579 useradd.8.xml.out:587 +#: usermod.8.xml.out:149 +msgid "INACTIVE" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:131 msgid "" -"Apply changes in the CHROOT_DIR directory and use " -"the configuration files from the CHROOT_DIR " -"directory." +"Set the number of days of inactivity after a password has expired before the " +"account is locked. The <_:replaceable-1/> option is the number of days of " +"inactivity. A user whose account is locked must contact the system " +"administrator before being able to use the system again." +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:138 +msgid "" +"Passing the number <_:emphasis-1/> as the <_:replaceable-2/> will remove an " +"account's inactivity." +msgstr "" + +#. (itstool) path: term/option +#. (itstool) path: para/option +#. (itstool) path: group/arg +#: chage.1.xml.out:147 chage.1.xml.out:241 faillog.8.xml.out:88 +#: faillog.8.xml.out:105 faillog.8.xml.out:184 faillog.8.xml.out:201 +#: groupmems.8.xml.out:55 groupmems.8.xml.out:124 passwd.1.xml.out:222 +#: passwd.1.xml.out:315 su.1.xml.out:144 su.1.xml.out:156 useradd.8.xml.out:312 +#: usermod.8.xml.out:215 +msgid "-l" +msgstr "-l" + +#. (itstool) path: term/option +#: chage.1.xml.out:147 groupmems.8.xml.out:124 +msgid "--list" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:150 +msgid "Show account aging information." +msgstr "" + +#. (itstool) path: term/option +#. (itstool) path: para/option +#: chage.1.xml.out:157 chgpasswd.8.xml.out:72 chgpasswd.8.xml.out:113 +#: chpasswd.8.xml.out:78 chpasswd.8.xml.out:84 chpasswd.8.xml.out:130 +#: chpasswd.8.xml.out:155 faillog.8.xml.out:88 faillog.8.xml.out:120 +#: faillog.8.xml.out:184 faillog.8.xml.out:201 su.1.xml.out:207 +#: useradd.8.xml.out:125 useradd.8.xml.out:272 useradd.8.xml.out:332 +#: useradd.8.xml.out:440 usermod.8.xml.out:119 usermod.8.xml.out:248 +msgid "-m" +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:157 passwd.1.xml.out:246 +msgid "--mindays" +msgstr "" + +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#: chage.1.xml.out:157 chage.1.xml.out:162 passwd.1.xml.out:246 +#: passwd.1.xml.out:251 +msgid "MIN_DAYS" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:160 passwd.1.xml.out:249 +msgid "" +"Set the minimum number of days between password changes to <_:replaceable-1/" +">. A value of zero for this field indicates that the user may change their " +"password at any time." +msgstr "" + +#. (itstool) path: term/option +#. (itstool) path: para/option +#: chage.1.xml.out:169 gpasswd.1.xml.out:81 gpasswd.1.xml.out:112 +#: gpasswd.1.xml.out:216 useradd.8.xml.out:162 useradd.8.xml.out:355 +msgid "-M" +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:169 passwd.1.xml.out:334 +msgid "--maxdays" +msgstr "" + +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#: chage.1.xml.out:169 chage.1.xml.out:174 chage.1.xml.out:183 +#: passwd.1.xml.out:334 passwd.1.xml.out:339 passwd.1.xml.out:344 +msgid "MAX_DAYS" +msgstr "" + +#. (itstool) path: para/option +#. (itstool) path: term/option +#: chage.1.xml.out:178 chage.1.xml.out:202 usermod.8.xml.out:470 +msgid "-W" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:172 +msgid "" +"Set the maximum number of days during which a password is valid. When <_:" +"replaceable-1/> plus <_:replaceable-2/> is less than the current day, the " +"user will be required to change their password before being able to use " +"their account. This occurrence can be planned for in advance by use of the " +"<_:option-3/> option, which provides the user with advance warning." +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:181 passwd.1.xml.out:342 +msgid "" +"Passing the number <_:emphasis-1/> as <_:replaceable-2/> will remove " +"checking a password's validity." +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:190 chfn.1.xml.out:130 chgpasswd.8.xml.out:123 +#: chpasswd.8.xml.out:165 chsh.1.xml.out:84 faillog.8.xml.out:157 +#: gpasswd.1.xml.out:188 groupadd.8.xml.out:181 groupdel.8.xml.out:89 +#: groupmems.8.xml.out:142 groupmod.8.xml.out:164 grpck.8.xml.out:149 +#: lastlog.8.xml.out:104 newusers.8.xml.out:306 passwd.1.xml.out:278 +#: pwck.8.xml.out:197 pwconv.8.xml.out:178 useradd.8.xml.out:447 +#: userdel.8.xml.out:123 usermod.8.xml.out:318 vipw.8.xml.out:115 +msgid "-R" +msgstr "" + +#. (itstool) path: term/option +#: chage.1.xml.out:190 chfn.1.xml.out:130 chgpasswd.8.xml.out:123 +#: chpasswd.8.xml.out:165 chsh.1.xml.out:84 faillog.8.xml.out:157 +#: gpasswd.1.xml.out:158 groupadd.8.xml.out:181 groupdel.8.xml.out:89 +#: groupmems.8.xml.out:142 groupmod.8.xml.out:164 grpck.8.xml.out:149 +#: lastlog.8.xml.out:104 newusers.8.xml.out:306 passwd.1.xml.out:278 +#: pwck.8.xml.out:197 pwconv.8.xml.out:178 useradd.8.xml.out:447 +#: userdel.8.xml.out:123 usermod.8.xml.out:318 vipw.8.xml.out:115 +msgid "--root" +msgstr "" + +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#: chage.1.xml.out:190 chage.1.xml.out:194 chage.1.xml.out:196 +#: chfn.1.xml.out:130 chfn.1.xml.out:134 chfn.1.xml.out:136 +#: chgpasswd.8.xml.out:123 chgpasswd.8.xml.out:127 chgpasswd.8.xml.out:129 +#: chpasswd.8.xml.out:165 chpasswd.8.xml.out:169 chpasswd.8.xml.out:171 +#: chsh.1.xml.out:84 chsh.1.xml.out:88 chsh.1.xml.out:90 faillog.8.xml.out:157 +#: faillog.8.xml.out:161 faillog.8.xml.out:163 gpasswd.1.xml.out:158 +#: gpasswd.1.xml.out:162 gpasswd.1.xml.out:164 groupadd.8.xml.out:181 +#: groupadd.8.xml.out:185 groupadd.8.xml.out:187 groupdel.8.xml.out:89 +#: groupdel.8.xml.out:93 groupdel.8.xml.out:95 groupmems.8.xml.out:142 +#: groupmems.8.xml.out:146 groupmems.8.xml.out:148 groupmod.8.xml.out:164 +#: groupmod.8.xml.out:168 groupmod.8.xml.out:170 grpck.8.xml.out:149 +#: grpck.8.xml.out:153 grpck.8.xml.out:155 lastlog.8.xml.out:104 +#: lastlog.8.xml.out:108 lastlog.8.xml.out:110 newusers.8.xml.out:306 +#: newusers.8.xml.out:310 newusers.8.xml.out:312 passwd.1.xml.out:278 +#: passwd.1.xml.out:282 passwd.1.xml.out:284 pwck.8.xml.out:197 +#: pwck.8.xml.out:201 pwck.8.xml.out:203 pwconv.8.xml.out:178 +#: pwconv.8.xml.out:182 pwconv.8.xml.out:184 useradd.8.xml.out:447 +#: useradd.8.xml.out:451 useradd.8.xml.out:453 userdel.8.xml.out:123 +#: userdel.8.xml.out:127 userdel.8.xml.out:129 usermod.8.xml.out:318 +#: usermod.8.xml.out:322 usermod.8.xml.out:324 vipw.8.xml.out:115 +#: vipw.8.xml.out:119 vipw.8.xml.out:121 +msgid "CHROOT_DIR" +msgstr "" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:193 chfn.1.xml.out:133 chgpasswd.8.xml.out:126 +#: chpasswd.8.xml.out:168 chsh.1.xml.out:87 faillog.8.xml.out:160 +#: gpasswd.1.xml.out:161 groupadd.8.xml.out:184 groupdel.8.xml.out:92 +#: groupmems.8.xml.out:145 groupmod.8.xml.out:167 grpck.8.xml.out:152 +#: lastlog.8.xml.out:107 newusers.8.xml.out:309 passwd.1.xml.out:281 +#: pwck.8.xml.out:200 pwconv.8.xml.out:181 useradd.8.xml.out:450 +#: userdel.8.xml.out:126 usermod.8.xml.out:321 vipw.8.xml.out:118 +#, fuzzy +#| msgid "" +#| "Apply changes in the CHROOT_DIR directory and " +#| "use the configuration files from the CHROOT_DIR directory." +msgid "" +"Apply changes in the <_:replaceable-1/> directory and use the configuration " +"files from the <_:replaceable-2/> directory." msgstr "" "Brug ændringer i mappen CHROOT_DIR og brug " "konfigurationsfilerne fra mappen CHROOT_DIR." -#: vipw.8.xml:150(term) -msgid ", " -msgstr ", " +#. (itstool) path: term/option +#: chage.1.xml.out:202 passwd.1.xml.out:321 +msgid "--warndays" +msgstr "" -#: vipw.8.xml:152(para) -msgid "Edit shadow or gshadow database." -msgstr "Rediger shadow- eller gshadow-database." +#. (itstool) path: term/replaceable +#. (itstool) path: para/replaceable +#: chage.1.xml.out:202 chage.1.xml.out:207 passwd.1.xml.out:321 +#: passwd.1.xml.out:326 +msgid "WARN_DAYS" +msgstr "" -#: vipw.8.xml:156(term) -msgid ", " -msgstr ", " +#. (itstool) path: listitem/para +#: chage.1.xml.out:205 +msgid "" +"Set the number of days of warning before a password change is required. The " +"<_:replaceable-1/> option is the number of days prior to the password " +"expiring that a user will be warned their password is about to expire." +msgstr "" -#: vipw.8.xml:158(para) -msgid "Indicates which user's tcb shadow file to edit." -msgstr "Indikerer hvilken brugers tcb-shadowfil at redigere." +#. (itstool) path: para/emphasis +#: chage.1.xml.out:219 chfn.1.xml.out:162 chsh.1.xml.out:111 +msgid "[ ]" +msgstr "" -#: vipw.8.xml:165(title) usermod.8.xml:538(title) userdel.8.xml:188(title) -#: useradd.8.xml:683(title) su.1.xml:338(title) sg.1.xml:98(title) -#: pwconv.8.xml:227(title) pwck.8.xml:263(title) passwd.1.xml:395(title) -#: newusers.8.xml:383(title) newgrp.1.xml:109(title) login.1.xml:294(title) -#: lastlog.8.xml:205(title) grpck.8.xml:219(title) groupmod.8.xml:235(title) -#: groupmems.8.xml:199(title) groupdel.8.xml:156(title) -#: groupadd.8.xml:252(title) gpasswd.1.xml:264(title) chsh.1.xml:154(title) -#: chpasswd.8.xml:239(title) chgpasswd.8.xml:198(title) chfn.1.xml:193(title) -#: chage.1.xml:272(title) +#. (itstool) path: refsect1/para +#: chage.1.xml.out:214 +msgid "" +"If none of the options are selected, <_:command-1/> operates in an " +"interactive fashion, prompting the user with the current values for all of " +"the fields. Enter the new value to change the field, or leave the line blank " +"to use the current value. The current value is displayed between a pair of " +"<_:emphasis-2/> marks." +msgstr "" + +#. (itstool) path: refsect1/title +#: chage.1.xml.out:223 chsh.1.xml.out:116 groups.1.xml.out:66 +#: lastlog.8.xml.out:169 +msgid "NOTE" +msgstr "" + +#. (itstool) path: refsect1/para +#: chage.1.xml.out:224 +#, fuzzy +#| msgid "" +#| "The chage program requires a shadow password file to " +#| "be available." +msgid "" +"The <_:command-1/> program requires a shadow password file to be available." +msgstr "" +"Programmet chage kræver at en adgangskodefil for shadow " +"er tilgængelig." + +#. (itstool) path: refsect1/para +#: chage.1.xml.out:228 +msgid "" +"The chage program will report only the information from the shadow password " +"file. This implies that configuration from other sources (e.g. LDAP or empty " +"password hash field from the passwd file) that affect the user's login will " +"not be shown in the chage output." +msgstr "" + +#. (itstool) path: para/command +#. (itstool) path: citerefentry/refentrytitle +#. (itstool) path: varlistentry/term +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#. (itstool) path: cmdsynopsis/command +#: chage.1.xml.out:237 grpck.8.xml.out:293 login.defs.5.xml.out:410 +#: passwd.5.xml.out:185 pwck.8.xml.out:40 pwck.8.xml.out:47 pwck.8.xml.out:53 +#: pwck.8.xml.out:71 pwck.8.xml.out:147 pwck.8.xml.out:159 pwck.8.xml.out:191 +#: pwck.8.xml.out:222 pwck.8.xml.out:283 pwconv.8.xml.out:196 +#: pwconv.8.xml.out:247 shadow.5.xml.out:274 +msgid "pwck" +msgstr "" + +#. (itstool) path: refsect1/para +#: chage.1.xml.out:234 +msgid "" +"The <_:command-1/> program will also not report any inconsistency between " +"the shadow and passwd files (e.g. missing x in the passwd file). The <_:" +"command-2/> can be used to check for this kind of inconsistencies." +msgstr "" + +#. (itstool) path: refsect1/para +#: chage.1.xml.out:240 +#, fuzzy +#| msgid "" +#| "The chage command is restricted to the root user, " +#| "except for the option, which may be used by an " +#| "unprivileged user to determine when their password or account is due to " +#| "expire." +msgid "" +"The <_:command-1/> command is restricted to the root user, except for the <_:" +"option-2/> option, which may be used by an unprivileged user to determine " +"when their password or account is due to expire." +msgstr "" +"Kommandoen chage er begrænset til administratorbrugeren " +"(root), undtaget for tilvalget , som kan bruges af en " +"upriviligeret bruger til at bestemme hvornår denne brugers adgangskode eller " +"konto står til at udløbe." + +#. (itstool) path: refsect1/title +#: chage.1.xml.out:248 chfn.1.xml.out:169 chgpasswd.8.xml.out:174 +#: chpasswd.8.xml.out:215 chsh.1.xml.out:130 gpasswd.1.xml.out:240 +#: groupadd.8.xml.out:228 groupdel.8.xml.out:132 groupmems.8.xml.out:175 +#: groupmod.8.xml.out:211 grpck.8.xml.out:195 lastlog.8.xml.out:181 +#: login.1.xml.out:270 newgrp.1.xml.out:85 newusers.8.xml.out:359 +#: passwd.1.xml.out:371 pwck.8.xml.out:239 pwconv.8.xml.out:203 sg.1.xml.out:74 +#: su.1.xml.out:314 useradd.8.xml.out:665 userdel.8.xml.out:164 +#: usermod.8.xml.out:525 vipw.8.xml.out:141 msgid "CONFIGURATION" msgstr "KONFIGURATION" -#: vipw.8.xml:166(para) usermod.8.xml:539(para) userdel.8.xml:189(para) -#: useradd.8.xml:684(para) su.1.xml:339(para) sg.1.xml:99(para) -#: pwck.8.xml:264(para) passwd.1.xml:396(para) newusers.8.xml:384(para) -#: newgrp.1.xml:110(para) login.1.xml:295(para) lastlog.8.xml:206(para) -#: grpck.8.xml:220(para) groupmod.8.xml:236(para) groupmems.8.xml:200(para) -#: groupdel.8.xml:157(para) groupadd.8.xml:253(para) gpasswd.1.xml:265(para) -#: chsh.1.xml:155(para) chpasswd.8.xml:240(para) chgpasswd.8.xml:199(para) -#: chfn.1.xml:194(para) chage.1.xml:273(para) +#. (itstool) path: para/filename +#. (itstool) path: term/filename +#: chage.1.xml.out:251 chfn.1.xml.out:68 chfn.1.xml.out:172 chfn.1.xml.out:186 +#: chgpasswd.8.xml.out:70 chgpasswd.8.xml.out:154 chgpasswd.8.xml.out:177 +#: chgpasswd.8.xml.out:204 chpasswd.8.xml.out:77 chpasswd.8.xml.out:134 +#: chpasswd.8.xml.out:199 chpasswd.8.xml.out:218 chpasswd.8.xml.out:246 +#: chsh.1.xml.out:133 chsh.1.xml.out:158 gpasswd.1.xml.out:243 +#: groupadd.8.xml.out:118 groupadd.8.xml.out:220 groupadd.8.xml.out:231 +#: groupadd.8.xml.out:257 groupdel.8.xml.out:135 groupmems.8.xml.out:178 +#: groupmod.8.xml.out:109 groupmod.8.xml.out:203 groupmod.8.xml.out:214 +#: groupmod.8.xml.out:238 grpck.8.xml.out:198 lastlog.8.xml.out:184 +#: login.1.xml.out:273 login.1.xml.out:365 login.access.5.xml.out:100 +#: login.defs.5.xml.out:116 login.defs.5.xml.out:515 newgrp.1.xml.out:88 +#: newusers.8.xml.out:339 newusers.8.xml.out:362 newusers.8.xml.out:422 +#: passwd.1.xml.out:374 passwd.1.xml.out:404 pwck.8.xml.out:242 +#: pwconv.8.xml.out:148 pwconv.8.xml.out:206 pwconv.8.xml.out:214 +#: pwconv.8.xml.out:229 sg.1.xml.out:77 su.1.xml.out:109 su.1.xml.out:219 +#: su.1.xml.out:277 su.1.xml.out:317 su.1.xml.out:357 useradd.8.xml.out:226 +#: useradd.8.xml.out:292 useradd.8.xml.out:360 useradd.8.xml.out:381 +#: useradd.8.xml.out:431 useradd.8.xml.out:438 useradd.8.xml.out:519 +#: useradd.8.xml.out:602 useradd.8.xml.out:668 useradd.8.xml.out:752 +#: userdel.8.xml.out:87 userdel.8.xml.out:167 userdel.8.xml.out:190 +#: userdel.8.xml.out:296 usermod.8.xml.out:388 usermod.8.xml.out:528 +#: usermod.8.xml.out:558 vipw.8.xml.out:144 +msgid "/etc/login.defs" +msgstr "" + +#. (itstool) path: refsect1/para +#: chage.1.xml.out:249 chfn.1.xml.out:170 chgpasswd.8.xml.out:175 +#: chpasswd.8.xml.out:216 chsh.1.xml.out:131 gpasswd.1.xml.out:241 +#: groupadd.8.xml.out:229 groupdel.8.xml.out:133 groupmems.8.xml.out:176 +#: groupmod.8.xml.out:212 grpck.8.xml.out:196 lastlog.8.xml.out:182 +#: login.1.xml.out:271 newgrp.1.xml.out:86 newusers.8.xml.out:360 +#: passwd.1.xml.out:372 pwck.8.xml.out:240 sg.1.xml.out:75 su.1.xml.out:315 +#: useradd.8.xml.out:666 userdel.8.xml.out:165 usermod.8.xml.out:526 +#: vipw.8.xml.out:142 +#, fuzzy +#| msgid "" +#| "The following configuration variables in /etc/login.defs change the behavior of this tool:" msgid "" -"The following configuration variables in /etc/login.defs change the behavior of this tool:" +"The following configuration variables in <_:filename-1/> change the behavior " +"of this tool:" msgstr "" "De følgende konfigurationsvariabler i /etc/login.defs " "ændrer opførelsen for dette værktøj:" -#: vipw.8.xml:30(term) usermod.8.xml:30(term) userdel.8.xml:30(term) -#: useradd.8.xml:30(term) pwconv.8.xml:30(term) pwck.8.xml:30(term) -#: login.defs.5.xml:30(term) chage.1.xml:30(term) -msgid " (boolean)" +#. (itstool) path: term/option +#. (itstool) path: listitem/para +#. (itstool) path: para/phrase +#. (itstool) path: phrase/option +#. (itstool) path: para/option +#: chage.1.xml.out:6 login.defs.5.xml.out:6 login.defs.5.xml.out:235 +#: login.defs.5.xml.out:423 login.defs.5.xml.out:431 login.defs.5.xml.out:503 +#: pwck.8.xml.out:75 pwck.8.xml.out:215 pwck.8.xml.out:231 pwck.8.xml.out:6 +#: pwconv.8.xml.out:89 pwconv.8.xml.out:91 pwconv.8.xml.out:94 +#: pwconv.8.xml.out:105 pwconv.8.xml.out:107 pwconv.8.xml.out:6 +#: useradd.8.xml.out:6 userdel.8.xml.out:6 usermod.8.xml.out:6 vipw.8.xml.out:6 +msgid "USE_TCB" +msgstr "" + +#. (itstool) path: varlistentry/term +#: chage.1.xml.out:6 chfn.1.xml.out:8 chgpasswd.8.xml.out:8 +#: chpasswd.8.xml.out:8 chsh.1.xml.out:8 gpasswd.1.xml.out:8 login.1.xml.out:8 +#: login.defs.5.xml.out:8 login.defs.5.xml.out:6 login.defs.5.xml.out:9 +#: newgrp.1.xml.out:8 newusers.8.xml.out:8 passwd.1.xml.out:8 pwck.8.xml.out:6 +#: pwconv.8.xml.out:6 sg.1.xml.out:8 su.1.xml.out:8 su.1.xml.out:9 +#: useradd.8.xml.out:6 useradd.8.xml.out:8 userdel.8.xml.out:6 +#: userdel.8.xml.out:8 usermod.8.xml.out:6 vipw.8.xml.out:6 +#, fuzzy +#| msgid " (boolean)" +msgid "<_:option-1/> (boolean)" msgstr " (boolesk)" -#: vipw.8.xml:32(para) usermod.8.xml:32(para) userdel.8.xml:32(para) -#: useradd.8.xml:32(para) pwconv.8.xml:32(para) pwck.8.xml:32(para) -#: login.defs.5.xml:32(para) chage.1.xml:32(para) +#. (itstool) path: para/replaceable +#. (itstool) path: para/emphasis +#: chage.1.xml.out:9 chfn.1.xml.out:11 chfn.1.xml.out:19 chgpasswd.8.xml.out:12 +#: chpasswd.8.xml.out:12 chsh.1.xml.out:11 gpasswd.1.xml.out:12 +#: login.1.xml.out:15 login.1.xml.out:36 login.1.xml.out:16 +#: login.defs.5.xml.out:133 login.defs.5.xml.out:11 login.defs.5.xml.out:19 +#: login.defs.5.xml.out:15 login.defs.5.xml.out:36 login.defs.5.xml.out:12 +#: login.defs.5.xml.out:16 login.defs.5.xml.out:9 newusers.8.xml.out:12 +#: passwd.1.xml.out:12 passwd.1.xml.out:16 pwck.8.xml.out:9 pwconv.8.xml.out:9 +#: su.1.xml.out:15 su.1.xml.out:36 su.1.xml.out:12 su.1.xml.out:16 +#: useradd.8.xml.out:227 useradd.8.xml.out:362 useradd.8.xml.out:36 +#: useradd.8.xml.out:9 useradd.8.xml.out:16 userdel.8.xml.out:87 +#: userdel.8.xml.out:36 userdel.8.xml.out:9 userdel.8.xml.out:16 +#: userdel.8.xml.out:296 usermod.8.xml.out:36 usermod.8.xml.out:9 +#: vipw.8.xml.out:9 +msgid "yes" +msgstr "" + +#. (itstool) path: citerefentry/refentrytitle +#: chage.1.xml.out:10 login.defs.5.xml.out:10 pwck.8.xml.out:10 +#: pwconv.8.xml.out:10 useradd.8.xml.out:10 userdel.8.xml.out:10 +#: usermod.8.xml.out:10 vipw.8.xml.out:10 vipw.8.xml.out:219 +msgid "tcb" +msgstr "" + +#. (itstool) path: citerefentry/manvolnum +#. (itstool) path: para/manvolnum +#. (itstool) path: refmeta/manvolnum +#. (itstool) path: term/replaceable +#: chage.1.xml.out:10 chage.1.xml.out:318 chage.1.xml.out:321 +#: chfn.1.xml.out:207 chfn.1.xml.out:210 chgpasswd.8.xml.out:19 +#: chgpasswd.8.xml.out:222 chpasswd.8.xml.out:19 chpasswd.8.xml.out:271 +#: chsh.1.xml.out:173 chsh.1.xml.out:176 expiry.1.xml.out:118 +#: expiry.1.xml.out:121 faillog.5.xml.out:34 faillog.8.xml.out:237 +#: gpasswd.1.xml.out:19 gpasswd.1.xml.out:291 gpasswd.1.xml.out:294 +#: groupadd.8.xml.out:353 groupmod.8.xml.out:343 grpck.8.xml.out:266 +#: grpck.8.xml.out:279 grpck.8.xml.out:286 grpck.8.xml.out:290 +#: grpck.8.xml.out:296 gshadow.5.xml.out:23 gshadow.5.xml.out:153 +#: gshadow.5.xml.out:156 limits.5.xml.out:36 login.1.xml.out:25 +#: login.1.xml.out:389 login.1.xml.out:392 login.1.xml.out:395 +#: login.1.xml.out:398 login.access.5.xml.out:35 login.defs.5.xml.out:103 +#: login.defs.5.xml.out:19 login.defs.5.xml.out:25 login.defs.5.xml.out:10 +#: login.defs.5.xml.out:539 login.defs.5.xml.out:542 newgrp.1.xml.out:145 +#: newgrp.1.xml.out:148 newusers.8.xml.out:79 newusers.8.xml.out:19 +#: newusers.8.xml.out:25 newusers.8.xml.out:452 newusers.8.xml.out:459 +#: newusers.8.xml.out:462 nologin.8.xml.out:48 nologin.8.xml.out:63 +#: passwd.1.xml.out:19 passwd.1.xml.out:454 passwd.1.xml.out:476 +#: passwd.1.xml.out:479 passwd.1.xml.out:483 passwd.5.xml.out:34 +#: passwd.5.xml.out:80 passwd.5.xml.out:194 porttime.5.xml.out:34 +#: pwck.8.xml.out:10 pwck.8.xml.out:316 pwck.8.xml.out:335 pwck.8.xml.out:341 +#: pwck.8.xml.out:344 pwconv.8.xml.out:10 pwconv.8.xml.out:244 +#: shadow.3.xml.out:220 shadow.5.xml.out:34 shadow.5.xml.out:271 +#: sg.1.xml.out:134 sg.1.xml.out:137 su.1.xml.out:418 suauth.5.xml.out:34 +#: suauth.5.xml.out:91 useradd.8.xml.out:25 useradd.8.xml.out:10 +#: useradd.8.xml.out:854 useradd.8.xml.out:861 useradd.8.xml.out:864 +#: userdel.8.xml.out:10 userdel.8.xml.out:318 userdel.8.xml.out:334 +#: userdel.8.xml.out:337 usermod.8.xml.out:10 usermod.8.xml.out:618 +#: usermod.8.xml.out:622 usermod.8.xml.out:625 vipw.8.xml.out:10 +#: vipw.8.xml.out:207 vipw.8.xml.out:210 vipw.8.xml.out:213 vipw.8.xml.out:216 +#: vipw.8.xml.out:219 vipw.8.xml.out:222 +msgid "5" +msgstr "5" + +#. (itstool) path: listitem/para +#: chage.1.xml.out:8 login.defs.5.xml.out:8 pwck.8.xml.out:8 pwconv.8.xml.out:8 +#: useradd.8.xml.out:8 userdel.8.xml.out:8 usermod.8.xml.out:8 vipw.8.xml.out:8 +#, fuzzy +#| msgid "" +#| "If yes, the tcb5 password shadowing " +#| "scheme will be used." msgid "" -"If yes, the tcb5 password shadowing " -"scheme will be used." +"If <_:replaceable-1/>, the <_:citerefentry-2/> password shadowing scheme " +"will be used." msgstr "" "Hvis ja, så vil skemaet for adgangskodeskygge " "tcb5 blive brugt." -#: vipw.8.xml:177(title) -msgid "ENVIRONMENT" -msgstr "MILJØ" - -#: vipw.8.xml:180(option) -msgid "VISUAL" -msgstr "VISUEL" - -#: vipw.8.xml:182(para) -msgid "Editor to be used." -msgstr "Redigeringsprogram der skal bruges." - -#: vipw.8.xml:186(option) -msgid "EDITOR" -msgstr "REDIGERINGSPROGRAM" - -#: vipw.8.xml:188(para) -msgid "Editor to be used if is not set." -msgstr "" -"Redigeringsprogram der skal bruges hvis ikke er " -"angivet." - -#: vipw.8.xml:195(title) usermod.8.xml:556(title) userdel.8.xml:205(title) -#: useradd.8.xml:713(title) suauth.5.xml:193(title) su.1.xml:366(title) -#: sg.1.xml:110(title) shadow.5.xml:255(title) shadow.3.xml:226(title) -#: pwconv.8.xml:250(title) pwck.8.xml:281(title) porttime.5.xml:130(title) -#: passwd.5.xml:163(title) passwd.1.xml:413(title) newusers.8.xml:419(title) -#: newgrp.1.xml:121(title) logoutd.8.xml:89(title) -#: login.access.5.xml:121(title) login.1.xml:338(title) limits.5.xml:196(title) -#: lastlog.8.xml:217(title) gshadow.5.xml:156(title) grpck.8.xml:231(title) -#: groups.1.xml:100(title) groupmod.8.xml:247(title) groupmems.8.xml:211(title) -#: groupdel.8.xml:168(title) groupadd.8.xml:266(title) gpasswd.1.xml:279(title) -#: faillog.8.xml:243(title) faillog.5.xml:96(title) expiry.1.xml:121(title) -#: chsh.1.xml:167(title) chpasswd.8.xml:255(title) chgpasswd.8.xml:213(title) -#: chfn.1.xml:207(title) chage.1.xml:284(title) +#. (itstool) path: refsect1/title +#: chage.1.xml.out:260 chfn.1.xml.out:183 chgpasswd.8.xml.out:189 +#: chpasswd.8.xml.out:231 chsh.1.xml.out:143 expiry.1.xml.out:97 +#: faillog.5.xml.out:72 faillog.8.xml.out:219 gpasswd.1.xml.out:255 +#: groupadd.8.xml.out:242 groupdel.8.xml.out:144 groupmems.8.xml.out:187 +#: groupmod.8.xml.out:223 groups.1.xml.out:76 grpck.8.xml.out:207 +#: gshadow.5.xml.out:132 lastlog.8.xml.out:193 limits.5.xml.out:172 +#: login.1.xml.out:314 login.access.5.xml.out:97 logoutd.8.xml.out:65 +#: newgrp.1.xml.out:97 newusers.8.xml.out:395 passwd.1.xml.out:389 +#: passwd.5.xml.out:139 porttime.5.xml.out:106 pwck.8.xml.out:257 +#: pwconv.8.xml.out:226 shadow.3.xml.out:202 shadow.5.xml.out:231 +#: sg.1.xml.out:86 su.1.xml.out:342 suauth.5.xml.out:169 useradd.8.xml.out:695 +#: userdel.8.xml.out:181 usermod.8.xml.out:543 vipw.8.xml.out:171 msgid "FILES" msgstr "FILER" -#: vipw.8.xml:198(filename) usermod.8.xml:559(filename) -#: userdel.8.xml:208(filename) useradd.8.xml:728(filename) -#: sg.1.xml:125(filename) pwck.8.xml:284(filename) newusers.8.xml:434(filename) -#: newgrp.1.xml:136(filename) gshadow.5.xml:159(filename) -#: grpck.8.xml:234(filename) groups.1.xml:103(filename) -#: groupmod.8.xml:250(filename) groupmems.8.xml:214(filename) -#: groupdel.8.xml:171(filename) groupadd.8.xml:269(filename) -#: gpasswd.1.xml:72(filename) gpasswd.1.xml:75(filename) -#: gpasswd.1.xml:282(filename) chgpasswd.8.xml:216(filename) -msgid "/etc/group" -msgstr "/etc/group" - -#: vipw.8.xml:200(para) usermod.8.xml:561(para) userdel.8.xml:210(para) -#: useradd.8.xml:730(para) sg.1.xml:127(para) pwck.8.xml:286(para) -#: newusers.8.xml:436(para) newgrp.1.xml:138(para) gshadow.5.xml:161(para) -#: grpck.8.xml:236(para) groups.1.xml:105(para) groupmod.8.xml:252(para) -#: groupmems.8.xml:216(para) groupdel.8.xml:173(para) groupadd.8.xml:271(para) -#: gpasswd.1.xml:284(para) chgpasswd.8.xml:218(para) -msgid "Group account information." -msgstr "Information om gruppekonto." - -#: vipw.8.xml:204(filename) usermod.8.xml:565(filename) -#: useradd.8.xml:734(filename) sg.1.xml:131(filename) -#: newusers.8.xml:440(filename) newgrp.1.xml:142(filename) -#: gshadow.5.xml:165(filename) grpck.8.xml:240(filename) -#: groupmod.8.xml:256(filename) groupmems.8.xml:220(filename) -#: groupdel.8.xml:177(filename) groupadd.8.xml:275(filename) -#: gpasswd.1.xml:76(filename) gpasswd.1.xml:288(filename) -#: chgpasswd.8.xml:222(filename) -msgid "/etc/gshadow" -msgstr "/etc/gshadow" - -#: vipw.8.xml:206(para) usermod.8.xml:567(para) useradd.8.xml:736(para) -#: sg.1.xml:133(para) newusers.8.xml:442(para) newgrp.1.xml:144(para) -#: gshadow.5.xml:167(para) grpck.8.xml:242(para) groupmod.8.xml:258(para) -#: groupdel.8.xml:179(para) groupadd.8.xml:277(para) gpasswd.1.xml:290(para) -#: chgpasswd.8.xml:224(para) -msgid "Secure group account information." -msgstr "Information om sikret gruppekonto." - -#: vipw.8.xml:210(filename) usermod.8.xml:577(filename) -#: userdel.8.xml:220(filename) useradd.8.xml:716(filename) -#: su.1.xml:369(filename) sg.1.xml:113(filename) shadow.5.xml:258(filename) -#: pwck.8.xml:290(filename) passwd.5.xml:166(filename) -#: passwd.1.xml:416(filename) newusers.8.xml:422(filename) -#: newgrp.1.xml:124(filename) login.1.xml:353(filename) -#: grpck.8.xml:246(filename) groupmod.8.xml:268(filename) -#: expiry.1.xml:124(filename) chsh.1.xml:170(filename) -#: chpasswd.8.xml:258(filename) chfn.1.xml:216(filename) -#: chage.1.xml:288(filename) +#. (itstool) path: term/filename +#. (itstool) path: para/filename +#: chage.1.xml.out:264 chfn.1.xml.out:13 chfn.1.xml.out:192 +#: chpasswd.8.xml.out:234 chsh.1.xml.out:146 expiry.1.xml.out:100 +#: groupmod.8.xml.out:244 grpck.8.xml.out:222 lastlog.8.xml.out:63 +#: login.1.xml.out:145 login.1.xml.out:12 login.1.xml.out:329 +#: login.defs.5.xml.out:13 login.defs.5.xml.out:12 newgrp.1.xml.out:65 +#: newgrp.1.xml.out:70 newgrp.1.xml.out:100 newusers.8.xml.out:398 +#: passwd.1.xml.out:392 passwd.5.xml.out:47 passwd.5.xml.out:89 +#: passwd.5.xml.out:142 pwck.8.xml.out:73 pwck.8.xml.out:145 pwck.8.xml.out:211 +#: pwck.8.xml.out:223 pwck.8.xml.out:266 pwconv.8.xml.out:127 +#: shadow.5.xml.out:234 sg.1.xml.out:89 su.1.xml.out:185 su.1.xml.out:197 +#: su.1.xml.out:345 useradd.8.xml.out:698 userdel.8.xml.out:196 +#: usermod.8.xml.out:295 usermod.8.xml.out:564 vipw.8.xml.out:68 +#: vipw.8.xml.out:186 msgid "/etc/passwd" msgstr "/etc/passwd" -#: vipw.8.xml:212(para) usermod.8.xml:579(para) userdel.8.xml:222(para) -#: useradd.8.xml:718(para) su.1.xml:371(para) sg.1.xml:115(para) -#: shadow.5.xml:260(para) pwck.8.xml:292(para) passwd.5.xml:168(para) -#: passwd.1.xml:418(para) newusers.8.xml:424(para) newgrp.1.xml:126(para) -#: login.1.xml:355(para) grpck.8.xml:248(para) groupmod.8.xml:270(para) -#: expiry.1.xml:126(para) chsh.1.xml:172(para) chpasswd.8.xml:260(para) -#: chfn.1.xml:218(para) chage.1.xml:291(para) +#. (itstool) path: listitem/para +#: chage.1.xml.out:267 chfn.1.xml.out:194 chpasswd.8.xml.out:236 +#: chsh.1.xml.out:148 expiry.1.xml.out:102 groupmod.8.xml.out:246 +#: grpck.8.xml.out:224 login.1.xml.out:331 newgrp.1.xml.out:102 +#: newusers.8.xml.out:400 passwd.1.xml.out:394 passwd.5.xml.out:144 +#: pwck.8.xml.out:268 shadow.5.xml.out:236 sg.1.xml.out:91 su.1.xml.out:347 +#: useradd.8.xml.out:700 userdel.8.xml.out:198 usermod.8.xml.out:566 +#: vipw.8.xml.out:188 msgid "User account information." msgstr "Information om brugerkonto." -#: vipw.8.xml:216(filename) usermod.8.xml:583(filename) -#: userdel.8.xml:226(filename) useradd.8.xml:722(filename) -#: su.1.xml:375(filename) sg.1.xml:119(filename) shadow.5.xml:264(filename) -#: shadow.3.xml:229(filename) pwck.8.xml:296(filename) -#: passwd.5.xml:172(filename) passwd.1.xml:422(filename) -#: newusers.8.xml:428(filename) newgrp.1.xml:130(filename) -#: login.1.xml:359(filename) expiry.1.xml:130(filename) -#: chpasswd.8.xml:264(filename) chage.1.xml:296(filename) +#. (itstool) path: term/filename +#. (itstool) path: para/filename +#: chage.1.xml.out:272 chpasswd.8.xml.out:240 expiry.1.xml.out:106 +#: login.1.xml.out:335 newgrp.1.xml.out:68 newgrp.1.xml.out:106 +#: newusers.8.xml.out:295 newusers.8.xml.out:404 passwd.1.xml.out:398 +#: passwd.5.xml.out:82 passwd.5.xml.out:148 pwck.8.xml.out:73 +#: pwck.8.xml.out:106 pwck.8.xml.out:212 pwck.8.xml.out:224 pwck.8.xml.out:272 +#: pwconv.8.xml.out:128 pwconv.8.xml.out:149 shadow.3.xml.out:97 +#: shadow.3.xml.out:173 shadow.3.xml.out:205 shadow.5.xml.out:78 +#: shadow.5.xml.out:240 sg.1.xml.out:95 su.1.xml.out:351 useradd.8.xml.out:428 +#: useradd.8.xml.out:704 userdel.8.xml.out:202 usermod.8.xml.out:141 +#: usermod.8.xml.out:142 usermod.8.xml.out:162 usermod.8.xml.out:163 +#: usermod.8.xml.out:296 usermod.8.xml.out:570 vipw.8.xml.out:71 +#: vipw.8.xml.out:192 msgid "/etc/shadow" msgstr "/etc/shadow" -#: vipw.8.xml:218(para) usermod.8.xml:585(para) userdel.8.xml:228(para) -#: useradd.8.xml:724(para) su.1.xml:377(para) sg.1.xml:121(para) -#: shadow.5.xml:266(para) shadow.3.xml:231(para) pwck.8.xml:298(para) -#: passwd.1.xml:424(para) newusers.8.xml:430(para) newgrp.1.xml:132(para) -#: login.1.xml:361(para) expiry.1.xml:132(para) chpasswd.8.xml:266(para) -#: chage.1.xml:299(para) +#. (itstool) path: listitem/para +#: chage.1.xml.out:275 chpasswd.8.xml.out:242 expiry.1.xml.out:108 +#: login.1.xml.out:337 newgrp.1.xml.out:108 newusers.8.xml.out:406 +#: passwd.1.xml.out:400 pwck.8.xml.out:274 shadow.3.xml.out:207 +#: shadow.5.xml.out:242 sg.1.xml.out:97 su.1.xml.out:353 useradd.8.xml.out:706 +#: userdel.8.xml.out:204 usermod.8.xml.out:572 vipw.8.xml.out:194 msgid "Secure user account information." msgstr "Information om sikret brugerkonto." -#: vipw.8.xml:225(title) usermod.8.xml:604(title) userdel.8.xml:331(title) -#: useradd.8.xml:848(title) suauth.5.xml:222(title) su.1.xml:437(title) -#: sg.1.xml:140(title) shadow.5.xml:283(title) shadow.3.xml:238(title) -#: pwconv.8.xml:262(title) pwck.8.xml:356(title) porttime.5.xml:142(title) -#: passwd.5.xml:191(title) passwd.1.xml:494(title) nologin.8.xml:81(title) -#: newusers.8.xml:473(title) newgrp.1.xml:151(title) -#: login.defs.5.xml:551(title) login.access.5.xml:133(title) -#: login.1.xml:398(title) limits.5.xml:206(title) gshadow.5.xml:174(title) -#: grpck.8.xml:300(title) groups.1.xml:112(title) groupmod.8.xml:346(title) -#: groupmems.8.xml:229(title) groupdel.8.xml:225(title) -#: groupadd.8.xml:357(title) gpasswd.1.xml:297(title) faillog.8.xml:255(title) -#: faillog.5.xml:108(title) expiry.1.xml:139(title) chsh.1.xml:191(title) -#: chpasswd.8.xml:285(title) chgpasswd.8.xml:237(title) chfn.1.xml:225(title) -#: chage.1.xml:339(title) -msgid "SEE ALSO" -msgstr "SE OGSÅ" - -#: vipw.8.xml:226(para) -msgid "" -"vi1, group5, " -"gshadow5login.defs5, passwd5, tcb5, shadow5." -msgstr "" -"vi1, gruppe5, " -"gshadow5login.defs5, passwd5, tcb5, shadow5." - -#: usermod.8.xml:46(firstname) userdel.8.xml:45(firstname) -#: useradd.8.xml:58(firstname) su.1.xml:56(firstname) sg.1.xml:40(firstname) -#: shadow.5.xml:39(firstname) shadow.3.xml:39(firstname) -#: pwck.8.xml:46(firstname) porttime.5.xml:39(firstname) -#: passwd.5.xml:39(firstname) passwd.1.xml:46(firstname) -#: newusers.8.xml:55(firstname) newgrp.1.xml:40(firstname) -#: logoutd.8.xml:39(firstname) login.defs.5.xml:108(firstname) -#: login.1.xml:72(firstname) lastlog.8.xml:41(firstname) -#: grpck.8.xml:39(firstname) groups.1.xml:39(firstname) -#: groupmod.8.xml:40(firstname) groupdel.8.xml:40(firstname) -#: groupadd.8.xml:42(firstname) faillog.8.xml:39(firstname) -#: faillog.5.xml:39(firstname) expiry.1.xml:43(firstname) -#: chsh.1.xml:42(firstname) chpasswd.8.xml:43(firstname) -#: chfn.1.xml:42(firstname) chage.1.xml:40(firstname) -msgid "Julianne Frances" -msgstr "" - -#: usermod.8.xml:47(surname) userdel.8.xml:46(surname) -#: useradd.8.xml:59(surname) su.1.xml:57(surname) sg.1.xml:41(surname) -#: shadow.5.xml:40(surname) shadow.3.xml:40(surname) pwck.8.xml:47(surname) -#: porttime.5.xml:40(surname) passwd.5.xml:40(surname) passwd.1.xml:47(surname) -#: newusers.8.xml:56(surname) newgrp.1.xml:41(surname) -#: logoutd.8.xml:40(surname) login.defs.5.xml:109(surname) -#: login.1.xml:73(surname) lastlog.8.xml:42(surname) grpck.8.xml:40(surname) -#: groups.1.xml:40(surname) groupmod.8.xml:41(surname) -#: groupdel.8.xml:41(surname) groupadd.8.xml:43(surname) -#: faillog.8.xml:40(surname) faillog.5.xml:40(surname) expiry.1.xml:44(surname) -#: chsh.1.xml:43(surname) chpasswd.8.xml:44(surname) chfn.1.xml:43(surname) -#: chage.1.xml:41(surname) -msgid "Haugh" -msgstr "" - -#: usermod.8.xml:48(contrib) userdel.8.xml:47(contrib) -#: useradd.8.xml:60(contrib) sg.1.xml:42(contrib) newusers.8.xml:57(contrib) -#: newgrp.1.xml:42(contrib) logoutd.8.xml:41(contrib) -#: login.defs.5.xml:110(contrib) groups.1.xml:41(contrib) -#: groupmod.8.xml:42(contrib) groupdel.8.xml:42(contrib) -#: groupadd.8.xml:44(contrib) chpasswd.8.xml:45(contrib) -msgid "Creation, 1991" -msgstr "" - -#: usermod.8.xml:64(refentrytitle) usermod.8.xml:71(refname) -#: usermod.8.xml:77(command) login.defs.5.xml:514(term) -msgid "usermod" -msgstr "usermod" - -#: usermod.8.xml:72(refpurpose) -msgid "modify a user account" -msgstr "ændre en brugerkonto" - -#: usermod.8.xml:81(replaceable) userdel.8.xml:78(replaceable) -#: useradd.8.xml:92(replaceable) passwd.1.xml:82(replaceable) -#: chsh.1.xml:78(replaceable) chfn.1.xml:78(replaceable) -#: chage.1.xml:75(replaceable) -msgid "LOGIN" -msgstr "LOGIND" - -#: usermod.8.xml:87(para) -msgid "" -"The usermod command modifies the system account files to " -"reflect the changes that are specified on the command line." -msgstr "" -"Kommandoen usermod ændrer systemkontofilerne så de " -"reflekterer ændringerne som angives på kommandolinjen." - -#: usermod.8.xml:95(para) -msgid "The options which apply to the usermod command are:" -msgstr "" -"Tilvalgene som kan bruges for kommandoen usermod er:" - -#: usermod.8.xml:101(term) -msgid ", " -msgstr ", " - -#: usermod.8.xml:105(para) -msgid "" -"Add the user to the supplementary group(s). Use only with the ." - -#: usermod.8.xml:112(term) -#, fuzzy -#| msgid ", " -msgid ", " -msgstr ", " - -#: usermod.8.xml:116(para) useradd.8.xml:135(para) pwck.8.xml:191(para) -#: newusers.8.xml:284(para) -msgid "Allow names that do not conform to standards." -msgstr "" - -#: usermod.8.xml:122(term) useradd.8.xml:162(term) -msgid "" -",  COMMENT" -msgstr "" -",  KOMMENTAR" - -#: usermod.8.xml:126(para) -msgid "" -"The new value of the user's password file comment field. It is normally " -"modified using the chfn1 utility." -msgstr "" -"Den nye værdi for brugerens kommentar kommentarfelt i adgangskodefilen. Den " -"ændres normalt med redskabet chfn1." - -#: usermod.8.xml:135(term) -#, fuzzy -#| msgid "" -#| ",  " -#| "HOME_DIR" -msgid "" -",  HOME_DIR" -msgstr "" -",  " -"HJEMMEMAPPE" - -#: usermod.8.xml:139(para) -msgid "The user's new login directory." -msgstr "Brugerens nye logindmappe." - -#: usermod.8.xml:142(para) -#, fuzzy -#| msgid "" -#| "If the option is given, the contents of the current " -#| "home directory will be moved to the new home directory, which is created " -#| "if it does not already exist." -msgid "" -"If the option is given, the contents of the current home " -"directory will be moved to the new home directory, which is created if it " -"does not already exist. If the current home directory does not exist the new " -"home directory will not be created." -msgstr "" -"Hvis tilvalget er angivet, vil indholdet af den aktuelle " -"hjemmemappe blive flyttet til den nye hjemmemappe, som oprettes hvis denne " -"ikke allerede findes." - -#: usermod.8.xml:152(term) useradd.8.xml:202(term) useradd.8.xml:584(term) -msgid "" -",  " -"EXPIRE_DATE" -msgstr "" -",  " -"UDLØBSDATO" - -#: usermod.8.xml:156(para) useradd.8.xml:206(para) -msgid "" -"The date on which the user account will be disabled. The date is specified " -"in the format YYYY-MM-DD." -msgstr "" -"Datoen hvorpå brugerkontoen vil blive deaktiveret. Datoen er angivet i " -"formatet ÅÅÅÅ-MM-DD." - -#: usermod.8.xml:160(para) -msgid "" -"An empty EXPIRE_DATE argument will disable the " -"expiration of the account." -msgstr "" -"Et tomt argument for UDLØBSDATO vil deaktivere " -"udløb for kontoen." - -#: usermod.8.xml:164(para) usermod.8.xml:185(para) -msgid "" -"This option requires a /etc/shadow file. A /" -"etc/shadow entry will be created if there were none." -msgstr "" -"Dette tilvalg kræver en /etc/shadow-fil. Et /" -"etc/shadow-punkt vil blive oprettet hvis et sådant ikke fandtes." - -#: usermod.8.xml:172(term) useradd.8.xml:219(term) useradd.8.xml:596(term) -msgid "" -",  INACTIVE" -msgstr "" -",  INAKTIV" - -#: usermod.8.xml:176(para) -msgid "" -"The number of days after a password expires until the account is permanently " -"disabled." -msgstr "" -"Antallet af dage fra en adgangskode udløber til kontoen bliver permanent " -"deaktiveret." - -#: usermod.8.xml:180(para) -msgid "" -"A value of 0 disables the account as soon as the password has expired, and a " -"value of -1 disables the feature." -msgstr "" - -#: usermod.8.xml:193(term) useradd.8.xml:238(term) useradd.8.xml:611(term) -msgid "" -",  GROUP" -msgstr "" - -#: usermod.8.xml:197(para) -msgid "" -"The group name or number of the user's new initial login group. The group " -"must exist." -msgstr "" - -#: usermod.8.xml:201(para) -msgid "" -"Any file from the user's home directory owned by the previous primary group " -"of the user will be owned by this new group." -msgstr "" - -#: usermod.8.xml:205(para) -msgid "" -"The group ownership of files outside of the user's home directory must be " -"fixed manually." -msgstr "" - -#: usermod.8.xml:209(para) -msgid "" -"The change of the group ownership of files inside of the user's home " -"directory is also not done if the home dir owner uid is different from the " -"current or new user id. This is a safety measure for special home " -"directories such as /." -msgstr "" - -#: usermod.8.xml:218(term) useradd.8.xml:265(term) -msgid "" -",  GROUP1[,GROUP2,...[,GROUPN]]]" -msgstr "" - -#: usermod.8.xml:222(para) -msgid "" -"A list of supplementary groups which the user is also a member of. Each " -"group is separated from the next by a comma, with no intervening whitespace. " -"The groups are subject to the same restrictions as the group given with the " -" option." -msgstr "" - -#: usermod.8.xml:229(para) -msgid "" -"If the user is currently a member of a group which is not listed, the user " -"will be removed from the group. This behaviour can be changed via the " -" option, which appends the user to the current " -"supplementary group list." -msgstr "" - -#: usermod.8.xml:238(term) -msgid "" -",  NEW_LOGIN" -msgstr "" - -#: usermod.8.xml:242(para) -msgid "" -"The name of the user will be changed from LOGIN " -"to NEW_LOGIN. Nothing else is changed. In " -"particular, the user's home directory or mail spool should probably be " -"renamed manually to reflect the new login name." -msgstr "" - -#: usermod.8.xml:252(term) -msgid ", " -msgstr "" - -#: usermod.8.xml:256(para) -msgid "" -"Lock a user's password. This puts a '!' in front of the encrypted password, " -"effectively disabling the password. You can't use this option with or ." -msgstr "" - -#: usermod.8.xml:262(para) -msgid "" -"Note: if you wish to lock the account (not only access with a password), you " -"should also set the EXPIRE_DATE to " -"1." -msgstr "" - -#: usermod.8.xml:271(term) -msgid ", " -msgstr "" - -#: usermod.8.xml:275(para) -msgid "" -"Move the content of the user's home directory to the new location. If the " -"current home directory does not exist the new home directory will not be " -"created." -msgstr "" - -#: usermod.8.xml:280(para) -msgid "" -"This option is only valid in combination with the (or " -") option." -msgstr "" - -#: usermod.8.xml:284(para) -msgid "" -"usermod will try to adapt the ownership of the files and " -"to copy the modes, ACL and extended attributes, but manual changes might be " -"needed afterwards." -msgstr "" - -#: usermod.8.xml:292(term) useradd.8.xml:404(term) groupmod.8.xml:155(term) -#: groupadd.8.xml:157(term) -msgid ", " -msgstr "" - -#: usermod.8.xml:296(para) -msgid "" -"When used with the option, this option allows to change " -"the user ID to a non-unique value." -msgstr "" - -#: usermod.8.xml:303(term) useradd.8.xml:416(term) groupmod.8.xml:166(term) -#: groupadd.8.xml:167(term) -msgid "" -",  PASSWORD" -msgstr "" - -#: usermod.8.xml:307(para) groupmod.8.xml:170(para) -msgid "" -"The encrypted password, as returned by crypt3." -msgstr "" - -#: usermod.8.xml:312(para) useradd.8.xml:425(para) groupmod.8.xml:175(para) -#: groupadd.8.xml:176(para) -msgid "" -"Note: This option is not recommended " -"because the password (or encrypted password) will be visible by users " -"listing the processes." -msgstr "" - -#: usermod.8.xml:317(para) -msgid "" -"The password will be written in the local /etc/passwd " -"or /etc/shadow file. This might differ from the " -"password database configured in your PAM configuration." -msgstr "" - -#: usermod.8.xml:323(para) useradd.8.xml:430(para) groupmod.8.xml:180(para) -#: groupadd.8.xml:181(para) -msgid "" -"You should make sure the password respects the system's password policy." -msgstr "" - -#: usermod.8.xml:342(term) userdel.8.xml:158(term) useradd.8.xml:476(term) -#: groupmod.8.xml:199(term) groupdel.8.xml:124(term) groupadd.8.xml:216(term) -#, fuzzy -#| msgid "" -#| ",  " -#| "HOME_DIR" -msgid "" -",  PREFIX_DIR" -msgstr "" -",  " -"HJEMMEMAPPE" - -#: usermod.8.xml:346(para) userdel.8.xml:162(para) useradd.8.xml:480(para) -#: groupmod.8.xml:203(para) groupdel.8.xml:128(para) groupadd.8.xml:220(para) -msgid "" -"Apply changes in the PREFIX_DIR directory and use " -"the configuration files from the PREFIX_DIR " -"directory. This option does not chroot and is intended for preparing a cross-" -"compilation target. Some limitations: NIS and LDAP users/groups are not " -"verified. PAM authentication is using the host files. No SELINUX support." -msgstr "" - -#: usermod.8.xml:359(term) useradd.8.xml:493(term) useradd.8.xml:631(term) -#: su.1.xml:186(term) chsh.1.xml:119(term) -msgid "" -",  SHELL" -msgstr "" - -#: usermod.8.xml:363(para) -msgid "" -"The path of the user's new login shell. Setting this field to blank causes " -"the system to select the default login shell." -msgstr "" - -#: usermod.8.xml:370(term) useradd.8.xml:507(term) -msgid "" -",  UID" -msgstr "" - -#: usermod.8.xml:374(para) -msgid "The new numerical value of the user's ID." -msgstr "" - -#: usermod.8.xml:377(para) -msgid "" -"This value must be unique, unless the option is used. " -"The value must be non-negative." -msgstr "" - -#: usermod.8.xml:382(para) -msgid "" -"The user's mailbox, and any files which the user owns and which are located " -"in the user's home directory will have the file user ID changed " -"automatically." -msgstr "" - -#: usermod.8.xml:387(para) -msgid "" -"The ownership of files outside of the user's home directory must be fixed " -"manually." -msgstr "" - -#: usermod.8.xml:391(para) -msgid "" -"The change of the user ownership of files inside of the user's home " -"directory is also not done if the home dir owner uid is different from the " -"current or new user id. This is a safety measure for special home " -"directories such as /." -msgstr "" - -#: usermod.8.xml:397(para) -msgid "" -"No checks will be performed with regard to the , " -", , or " -" from /etc/login.defs." -msgstr "" - -#: usermod.8.xml:406(term) -msgid ", " -msgstr "" - -#: usermod.8.xml:410(para) -msgid "" -"Unlock a user's password. This removes the '!' in front of the encrypted " -"password. You can't use this option with or value " -"from /etc/default/useradd)." -msgstr "" - -#: usermod.8.xml:426(term) -#, fuzzy -#| msgid "" -#| ",  " -#| "INACTIVE" -msgid "" -",  FIRST-LAST" -msgstr "" -",  INAKTIV" - -#: usermod.8.xml:430(para) -msgid "Add a range of subordinate uids to the user's account." -msgstr "" - -#: usermod.8.xml:433(para) usermod.8.xml:471(para) -msgid "" -"This option may be specified multiple times to add multiple ranges to a " -"users account." -msgstr "" - -#: usermod.8.xml:436(para) usermod.8.xml:456(para) -msgid "" -"No checks will be performed with regard to , " -", or from /etc/" -"login.defs." -msgstr "" - -#: usermod.8.xml:444(term) -#, fuzzy -#| msgid "" -#| ",  " -#| "EXPIRE_DATE" -msgid "" -",  FIRST-LAST" -msgstr "" -",  " -"UDLØBSDATO" - -#: usermod.8.xml:448(para) -msgid "Remove a range of subordinate uids from the user's account." -msgstr "" - -#: usermod.8.xml:451(para) -msgid "" -"This option may be specified multiple times to remove multiple ranges to a " -"users account. When both and are specified, the removal of all subordinate uid ranges " -"happens before any subordinate uid range is added." -msgstr "" - -#: usermod.8.xml:464(term) -#, fuzzy -#| msgid "" -#| ",  " -#| "INACTIVE" -msgid "" -",  FIRST-LAST" -msgstr "" -",  INAKTIV" - -#: usermod.8.xml:468(para) -msgid "Add a range of subordinate gids to the user's account." -msgstr "" - -#: usermod.8.xml:474(para) usermod.8.xml:494(para) -msgid "" -"No checks will be performed with regard to , " -", or from /etc/" -"login.defs." -msgstr "" - -#: usermod.8.xml:482(term) -#, fuzzy -#| msgid "" -#| ",  " -#| "EXPIRE_DATE" -msgid "" -",  FIRST-LAST" -msgstr "" -",  " -"UDLØBSDATO" - -#: usermod.8.xml:486(para) -msgid "Remove a range of subordinate gids from the user's account." -msgstr "" - -#: usermod.8.xml:489(para) -msgid "" -"This option may be specified multiple times to remove multiple ranges to a " -"users account. When both and are specified, the removal of all subordinate gid ranges " -"happens before any subordinate gid range is added." -msgstr "" - -#: usermod.8.xml:502(term) useradd.8.xml:542(term) -msgid "" -",  " -"SEUSER" -msgstr "" - -#: usermod.8.xml:506(para) -msgid "The new SELinux user for the user's login." -msgstr "" - -#: usermod.8.xml:509(para) -msgid "" -"A blank SEUSER will remove the SELinux user " -"mapping for user LOGIN (if any)." -msgstr "" - -#: usermod.8.xml:520(title) userdel.8.xml:304(title) useradd.8.xml:659(title) -#: su.1.xml:330(title) shadow.3.xml:218(title) passwd.1.xml:377(title) -#: newusers.8.xml:371(title) login.1.xml:260(title) lastlog.8.xml:229(title) -#: groupdel.8.xml:144(title) groupadd.8.xml:290(title) gpasswd.1.xml:252(title) -#: faillog.8.xml:232(title) chpasswd.8.xml:231(title) -#: chgpasswd.8.xml:186(title) -msgid "CAVEATS" -msgstr "" - -#: usermod.8.xml:521(para) -msgid "" -"You must make certain that the named user is not executing any processes " -"when this command is being executed if the user's numerical user ID, the " -"user's name, or the user's home directory is being changed. " -"usermod checks this on Linux. On other platforms it only " -"uses utmp to check if the user is logged in." -msgstr "" - -#: usermod.8.xml:528(para) -msgid "" -"You must change the owner of any crontab files or " -"at jobs manually." -msgstr "" - -#: usermod.8.xml:532(para) -msgid "You must make any changes involving NIS on the NIS server." -msgstr "" - -#: usermod.8.xml:33(term) useradd.8.xml:33(term) login.defs.5.xml:33(term) -#: lastlog.8.xml:33(term) -#, fuzzy -#| msgid " (number)" -msgid " (number)" -msgstr " (nummer)" - -#: usermod.8.xml:35(para) useradd.8.xml:35(para) login.defs.5.xml:35(para) -#: lastlog.8.xml:35(para) -msgid "" -"Highest user ID number for which the lastlog entries should be updated. As " -"higher user IDs are usually tracked by remote user identity and " -"authentication services there is no need to create a huge sparse lastlog " -"file for them." -msgstr "" - -#: usermod.8.xml:41(para) useradd.8.xml:41(para) login.defs.5.xml:41(para) -#: lastlog.8.xml:41(para) -msgid "" -"No option present in the configuration " -"means that there is no user ID limit for writing lastlog entries." -msgstr "" - -#: usermod.8.xml:32(term) userdel.8.xml:32(term) useradd.8.xml:32(term) -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: usermod.8.xml:34(para) userdel.8.xml:34(para) useradd.8.xml:34(para) -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"The mail spool directory. This is needed to manipulate the mailbox when its " -"corresponding user account is modified or deleted. If not specified, a " -"compile-time default is used." -msgstr "" - -#: usermod.8.xml:41(term) userdel.8.xml:41(term) useradd.8.xml:41(term) -#: su.1.xml:41(term) login.defs.5.xml:41(term) login.1.xml:41(term) -msgid " (string)" -msgstr "" - -#: usermod.8.xml:43(para) userdel.8.xml:43(para) useradd.8.xml:43(para) -#: su.1.xml:43(para) login.defs.5.xml:43(para) login.1.xml:43(para) -msgid "" -"Defines the location of the users mail spool files relatively to their home " -"directory." -msgstr "" - -#. FIXME: MAIL_FILE not used in useradd -#: usermod.8.xml:50(para) userdel.8.xml:50(para) useradd.8.xml:50(para) -#: su.1.xml:50(para) login.defs.5.xml:50(para) login.1.xml:50(para) -msgid "" -"The and variables are " -"used by useradd, usermod, and " -"userdel to create, move, or delete the user's mail spool." -msgstr "" - -#: usermod.8.xml:56(para) userdel.8.xml:56(para) useradd.8.xml:56(para) -#: su.1.xml:56(para) login.defs.5.xml:56(para) login.1.xml:56(para) -msgid "" -"If is set to yes, they are also used to define the MAIL " -"environment variable." -msgstr "" - -#: usermod.8.xml:30(term) userdel.8.xml:30(term) useradd.8.xml:30(term) -#: pwconv.8.xml:30(term) newusers.8.xml:30(term) login.defs.5.xml:30(term) -#: grpck.8.xml:30(term) groupmod.8.xml:30(term) groupmems.8.xml:30(term) -#: groupdel.8.xml:30(term) groupadd.8.xml:30(term) gpasswd.1.xml:30(term) -#: chgpasswd.8.xml:30(term) -msgid " (number)" -msgstr "" - -#: usermod.8.xml:32(para) userdel.8.xml:32(para) useradd.8.xml:32(para) -#: pwconv.8.xml:32(para) newusers.8.xml:32(para) login.defs.5.xml:32(para) -#: grpck.8.xml:32(para) groupmod.8.xml:32(para) groupmems.8.xml:32(para) -#: groupdel.8.xml:32(para) groupadd.8.xml:32(para) gpasswd.1.xml:32(para) -#: chgpasswd.8.xml:32(para) -msgid "" -"Maximum members per group entry. When the maximum is reached, a new group " -"entry (line) is started in /etc/group (with the same " -"name, same password, and same GID)." -msgstr "" - -#: usermod.8.xml:37(para) userdel.8.xml:37(para) useradd.8.xml:37(para) -#: pwconv.8.xml:37(para) newusers.8.xml:37(para) login.defs.5.xml:37(para) -#: grpck.8.xml:37(para) groupmod.8.xml:37(para) groupmems.8.xml:37(para) -#: groupdel.8.xml:37(para) groupadd.8.xml:37(para) gpasswd.1.xml:37(para) -#: chgpasswd.8.xml:37(para) -msgid "" -"The default value is 0, meaning that there are no limits in the number of " -"members in a group." -msgstr "" - -#. Note: on HP, split groups have the same ID, but different -#. names. -#: usermod.8.xml:43(para) userdel.8.xml:43(para) useradd.8.xml:43(para) -#: pwconv.8.xml:43(para) newusers.8.xml:43(para) login.defs.5.xml:43(para) -#: grpck.8.xml:43(para) groupmod.8.xml:43(para) groupmems.8.xml:43(para) -#: groupdel.8.xml:43(para) groupadd.8.xml:43(para) gpasswd.1.xml:43(para) -#: chgpasswd.8.xml:43(para) -msgid "" -"This feature (split group) permits to limit the length of lines in the group " -"file. This is useful to make sure that lines for NIS groups are not larger " -"than 1024 characters." -msgstr "" - -#: usermod.8.xml:48(para) userdel.8.xml:48(para) useradd.8.xml:48(para) -#: pwconv.8.xml:48(para) newusers.8.xml:48(para) login.defs.5.xml:48(para) -#: grpck.8.xml:48(para) groupmod.8.xml:48(para) groupmems.8.xml:48(para) -#: groupdel.8.xml:48(para) groupadd.8.xml:48(para) gpasswd.1.xml:48(para) -#: chgpasswd.8.xml:48(para) -msgid "If you need to enforce such limit, you can use 25." -msgstr "" - -#: usermod.8.xml:51(para) userdel.8.xml:51(para) useradd.8.xml:51(para) -#: pwconv.8.xml:51(para) newusers.8.xml:51(para) login.defs.5.xml:51(para) -#: grpck.8.xml:51(para) groupmod.8.xml:51(para) groupmems.8.xml:51(para) -#: groupdel.8.xml:51(para) groupadd.8.xml:51(para) gpasswd.1.xml:51(para) -#: chgpasswd.8.xml:51(para) -msgid "" -"Note: split groups may not be supported by all tools (even in the Shadow " -"toolsuite). You should not use this variable unless you really need it." -msgstr "" - -#: usermod.8.xml:30(term) useradd.8.xml:30(term) newusers.8.xml:30(term) -#: login.defs.5.xml:30(term) -#, fuzzy -#| msgid " (number)" -msgid " (number)" -msgstr " (nummer)" - -#: usermod.8.xml:31(term) useradd.8.xml:31(term) newusers.8.xml:31(term) -#: login.defs.5.xml:31(term) -#, fuzzy -#| msgid " (number)" -msgid " (number)" -msgstr " (nummer)" - -#: usermod.8.xml:32(term) useradd.8.xml:32(term) newusers.8.xml:32(term) -#: login.defs.5.xml:32(term) -#, fuzzy -#| msgid " (number)" -msgid " (number)" -msgstr " (nummer)" - -#: usermod.8.xml:34(para) useradd.8.xml:34(para) newusers.8.xml:34(para) -#: login.defs.5.xml:34(para) -msgid "" -"If /etc/subuid exists, the commands useradd and newusers (unless the user already have " -"subordinate group IDs) allocate unused group " -"IDs from the range to (resp. , are respectively 100000, 600100000 " -"and 65536." -msgstr "" -"Standardværdien for (resp. (number)" -msgid " (number)" -msgstr " (nummer)" - -#: usermod.8.xml:31(term) useradd.8.xml:31(term) newusers.8.xml:31(term) -#: login.defs.5.xml:31(term) -#, fuzzy -#| msgid " (number)" -msgid " (number)" -msgstr " (nummer)" - -#: usermod.8.xml:32(term) useradd.8.xml:32(term) newusers.8.xml:32(term) -#: login.defs.5.xml:32(term) -#, fuzzy -#| msgid " (number)" -msgid " (number)" -msgstr " (nummer)" - -#: usermod.8.xml:34(para) useradd.8.xml:34(para) newusers.8.xml:34(para) -#: login.defs.5.xml:34(para) -msgid "" -"If /etc/subuid exists, the commands useradd and newusers (unless the user already have " -"subordinate user IDs) allocate unused user " -"IDs from the range to (resp. , are respectively 100000, 600100000 " -"and 65536." -msgstr "" -"Standardværdien for (resp. (boolean)" -msgstr "" - -#: usermod.8.xml:37(programlisting) userdel.8.xml:37(programlisting) -#: useradd.8.xml:37(programlisting) pwck.8.xml:37(programlisting) -#: login.defs.5.xml:37(programlisting) -#, no-wrap -msgid "" -"\n" -"if ( UID is less than 1000) {\n" -" use /etc/tcb/user\n" -"} else if ( UID is less than 1000000) {\n" -" kilos = UID / 1000\n" -" use /etc/tcb/:kilos/user\n" -" make symlink /etc/tcb/user to the above directory\n" -"} else {\n" -" megas = UID / 1000000\n" -" kilos = ( UID / megas * 1000000 ) / 1000\n" -" use /etc/tcb/:megas/:kilos/user\n" -" make symlink /etc/tcb/user to the above directory\n" -"}\n" -" " -msgstr "" - -#: usermod.8.xml:32(para) userdel.8.xml:32(para) useradd.8.xml:32(para) -#: pwck.8.xml:32(para) login.defs.5.xml:32(para) -msgid "" -"If yes, the location of the user tcb directory to " -"be created will not be automatically set to /etc/tcb/user, but will be " -"computed depending on the UID of the user, according to the following " -"algorithm: " -msgstr "" - -#: usermod.8.xml:571(filename) userdel.8.xml:214(filename) -#: useradd.8.xml:770(filename) su.1.xml:381(filename) -#: pwconv.8.xml:253(filename) passwd.1.xml:428(filename) -#: newusers.8.xml:446(filename) login.access.5.xml:124(filename) -#: login.1.xml:389(filename) groupmod.8.xml:262(filename) -#: groupadd.8.xml:281(filename) chsh.1.xml:182(filename) -#: chpasswd.8.xml:270(filename) chgpasswd.8.xml:228(filename) -#: chfn.1.xml:210(filename) -msgid "/etc/login.defs" -msgstr "" - -#: usermod.8.xml:573(para) userdel.8.xml:216(para) useradd.8.xml:772(para) -#: su.1.xml:383(para) pwconv.8.xml:255(para) passwd.1.xml:430(para) -#: newusers.8.xml:448(para) login.access.5.xml:126(para) login.1.xml:391(para) -#: groupmod.8.xml:264(para) groupadd.8.xml:283(para) chsh.1.xml:184(para) -#: chpasswd.8.xml:272(para) chgpasswd.8.xml:230(para) chfn.1.xml:212(para) -msgid "Shadow password suite configuration." -msgstr "" - -#: usermod.8.xml:589(filename) userdel.8.xml:238(filename) -#: useradd.8.xml:758(filename) newusers.8.xml:458(filename) -#, fuzzy -#| msgid "/etc/suauth" -msgid "/etc/subgid" -msgstr "/etc/suauth" - -#: usermod.8.xml:591(para) userdel.8.xml:240(para) useradd.8.xml:760(para) -#: newusers.8.xml:460(para) -msgid "Per user subordinate group IDs." -msgstr "" - -#: usermod.8.xml:595(filename) userdel.8.xml:244(filename) -#: useradd.8.xml:764(filename) newusers.8.xml:464(filename) -#, fuzzy -#| msgid "/etc/suauth" -msgid "/etc/subuid" -msgstr "/etc/suauth" - -#: usermod.8.xml:597(para) userdel.8.xml:246(para) useradd.8.xml:766(para) -#: newusers.8.xml:466(para) -msgid "Per user subordinate user IDs." -msgstr "" - -#: usermod.8.xml:605(para) -#, fuzzy -#| msgid "" -#| "vi1, group5, " -#| "gshadow5login.defs5, passwd5, tcb5, shadow5." -msgid "" -"chfn1, chsh1, " -"passwd1, crypt3, " -"gpasswd8, groupadd8, " -"groupdel8, groupmod8, " -"login.defs5, subgid5, subuid5, useradd8, userdel8." -msgstr "" -"vi1, gruppe5, " -"gshadow5login.defs5, passwd5, tcb5, shadow5." - -#: userdel.8.xml:63(refentrytitle) userdel.8.xml:70(refname) -#: userdel.8.xml:75(command) login.defs.5.xml:504(term) -msgid "userdel" -msgstr "" - -#: userdel.8.xml:71(refpurpose) -msgid "delete a user account and related files" -msgstr "" - -#: userdel.8.xml:85(para) -msgid "" -"The userdel command modifies the system account files, " -"deleting all entries that refer to the user name LOGIN. The named user must exist." -msgstr "" - -#: userdel.8.xml:94(para) -msgid "The options which apply to the userdel command are:" -msgstr "" - -#: userdel.8.xml:99(term) groupdel.8.xml:95(term) groupadd.8.xml:100(term) -#: expiry.1.xml:103(term) -msgid ", " -msgstr "" - -#: userdel.8.xml:103(para) -msgid "" -"This option forces the removal of the user account, even if the user is " -"still logged in. It also forces userdel to remove the " -"user's home directory and mail spool, even if another user uses the same " -"home directory or if the mail spool is not owned by the specified user. If " -" is defined to yes in /etc/login.defs and if a group exists with " -"the same name as the deleted user, then this group will be removed, even if " -"it is still the primary group of another user." -msgstr "" - -#: userdel.8.xml:116(para) -msgid "" -"Note: This option is dangerous and may leave your " -"system in an inconsistent state." -msgstr "" - -#: userdel.8.xml:129(term) -msgid ", " -msgstr "" - -#: userdel.8.xml:133(para) -msgid "" -"Files in the user's home directory will be removed along with the home " -"directory itself and the user's mail spool. Files located in other file " -"systems will have to be searched for and deleted manually." -msgstr "" - -#: userdel.8.xml:139(para) -msgid "" -"The mail spool is defined by the variable in the " -"login.defs file." -msgstr "" - -#: userdel.8.xml:175(term) -msgid ", " -msgstr "" - -#: userdel.8.xml:179(para) -msgid "Remove any SELinux user mapping for the user's login." -msgstr "" - -#: userdel.8.xml:33(term) login.defs.5.xml:33(term) -msgid " (string)" -msgstr "" - -#: userdel.8.xml:35(para) login.defs.5.xml:35(para) -msgid "" -"If defined, this command is run when removing a user. It should remove any " -"at/cron/print jobs etc. owned by the user to be removed (passed as the first " -"argument)." -msgstr "" - -#: userdel.8.xml:40(para) login.defs.5.xml:40(para) -msgid "The return code of the script is not taken into account." -msgstr "" - -#: userdel.8.xml:46(programlisting) login.defs.5.xml:46(programlisting) -#, no-wrap -msgid "" -"\n" -"#! /bin/sh\n" -"\n" -"# Check for the required argument.\n" -"if [ $# != 1 ]; then\n" -"\techo \"Usage: $0 username\"\n" -"\texit 1\n" -"fi\n" -"\n" -"# Remove cron jobs.\n" -"crontab -r -u $1\n" -"\n" -"# Remove at jobs.\n" -"# Note that it will remove any jobs owned by the same UID,\n" -"# even if it was shared by a different username.\n" -"AT_SPOOL_DIR=/var/spool/cron/atjobs\n" -"find $AT_SPOOL_DIR -name \"[^.]*\" -type f -user $1 -delete \\;\n" -"\n" -"# Remove print jobs.\n" -"lprm $1\n" -"\n" -"# All done.\n" -"exit 0\n" -" " -msgstr "" - -#: userdel.8.xml:43(para) login.defs.5.xml:43(para) -msgid "" -"Here is an example script, which removes the user's cron, at and print jobs: " -"" -msgstr "" - -#: userdel.8.xml:32(term) useradd.8.xml:32(term) su.1.xml:32(term) -#: login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (boolean)" -msgstr "" - -#: userdel.8.xml:34(para) useradd.8.xml:34(para) su.1.xml:34(para) -#: login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"Enable setting of the umask group bits to be the same as owner bits " -"(examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is " -"the same as gid, and username is the same as the primary group name." -msgstr "" - -#: userdel.8.xml:39(para) useradd.8.xml:39(para) su.1.xml:39(para) -#: login.defs.5.xml:39(para) login.1.xml:39(para) -msgid "" -"If set to yes, userdel will " -"remove the user's group if it contains no more members, and " -"useradd will create by default a group with the name of " -"the user." -msgstr "" - -#: userdel.8.xml:232(term) -msgid "" -"/etc/shadow-maint/userdel-pre.d/*, /etc/" -"shadow-maint/userdel-post.d/*" -msgstr "" - -#: userdel.8.xml:234(para) -msgid "" -"Run-part files to execute during user deletion. The environment variable " -"ACTION will be populated with userdel " -"and SUBJECT with the username. userdel-pre.d will be executed prior to any user deletion. userdel-" -"post.d will execute after user deletion. If a script exits non-" -"zero then execution will terminate." -msgstr "" - -#: userdel.8.xml:253(title) useradd.8.xml:779(title) su.1.xml:390(title) -#: pwck.8.xml:305(title) passwd.1.xml:443(title) grpck.8.xml:255(title) -#: groupmod.8.xml:277(title) groupdel.8.xml:186(title) -#: groupadd.8.xml:312(title) chage.1.xml:306(title) +#. (itstool) path: refsect1/title +#: chage.1.xml.out:282 groupadd.8.xml.out:288 groupdel.8.xml.out:162 +#: groupmod.8.xml.out:253 grpck.8.xml.out:231 passwd.1.xml.out:419 +#: pwck.8.xml.out:281 su.1.xml.out:366 useradd.8.xml.out:761 +#: userdel.8.xml.out:229 msgid "EXIT VALUES" msgstr "" -#: userdel.8.xml:258(replaceable) useradd.8.xml:784(replaceable) -#: su.1.xml:409(replaceable) pwck.8.xml:310(replaceable) -#: passwd.1.xml:448(replaceable) grpck.8.xml:260(replaceable) -#: groupmod.8.xml:282(replaceable) groupdel.8.xml:191(replaceable) -#: groupadd.8.xml:317(replaceable) chage.1.xml:311(replaceable) -msgid "0" -msgstr "" - -#: userdel.8.xml:260(para) useradd.8.xml:786(para) pwck.8.xml:312(para) -#: passwd.1.xml:450(para) grpck.8.xml:262(para) groupdel.8.xml:193(para) -#: groupadd.8.xml:319(para) chage.1.xml:313(para) +#. (itstool) path: listitem/para +#: chage.1.xml.out:289 groupadd.8.xml.out:295 groupdel.8.xml.out:169 +#: grpck.8.xml.out:238 passwd.1.xml.out:426 pwck.8.xml.out:288 +#: useradd.8.xml.out:768 userdel.8.xml.out:236 msgid "success" msgstr "" -#: userdel.8.xml:264(replaceable) useradd.8.xml:790(replaceable) -#: su.1.xml:75(manvolnum) su.1.xml:415(replaceable) sg.1.xml:59(manvolnum) -#: pwck.8.xml:316(replaceable) passwd.1.xml:65(manvolnum) -#: passwd.1.xml:454(replaceable) newgrp.1.xml:59(manvolnum) -#: login.1.xml:91(manvolnum) grpck.8.xml:266(replaceable) -#: groups.1.xml:58(manvolnum) gpasswd.1.xml:63(manvolnum) -#: expiry.1.xml:62(manvolnum) chsh.1.xml:61(manvolnum) chfn.1.xml:61(manvolnum) -#: chage.1.xml:59(manvolnum) chage.1.xml:317(replaceable) -msgid "1" -msgstr "" +#. (itstool) path: listitem/para +#: chage.1.xml.out:295 passwd.1.xml.out:432 +msgid "permission denied" +msgstr "tilladelse nægtet" -#: userdel.8.xml:266(para) useradd.8.xml:792(para) -msgid "can't update password file" -msgstr "" - -#: userdel.8.xml:270(replaceable) useradd.8.xml:796(replaceable) -#: pwck.8.xml:322(replaceable) passwd.1.xml:460(replaceable) -#: grpck.8.xml:272(replaceable) groupmod.8.xml:288(replaceable) -#: groupdel.8.xml:197(replaceable) groupadd.8.xml:323(replaceable) -#: chage.1.xml:323(replaceable) +#. (itstool) path: term/replaceable +#. (itstool) path: citerefentry/manvolnum +#: chage.1.xml.out:299 groupadd.8.xml.out:299 groupdel.8.xml.out:173 +#: groupmod.8.xml.out:264 groups.1.xml.out:94 groups.1.xml.out:97 +#: groups.1.xml.out:100 grpck.8.xml.out:248 limits.5.xml.out:90 +#: limits.5.xml.out:101 limits.5.xml.out:188 limits.5.xml.out:191 +#: passwd.1.xml.out:436 pwck.8.xml.out:298 useradd.8.xml.out:778 +#: userdel.8.xml.out:246 msgid "2" msgstr "" -#: userdel.8.xml:272(para) useradd.8.xml:798(para) pwck.8.xml:318(para) -#: grpck.8.xml:268(para) groupdel.8.xml:199(para) groupadd.8.xml:325(para) -#: chage.1.xml:325(para) +#. (itstool) path: listitem/para +#: chage.1.xml.out:301 groupadd.8.xml.out:301 groupdel.8.xml.out:175 +#: grpck.8.xml.out:244 pwck.8.xml.out:294 useradd.8.xml.out:780 +#: userdel.8.xml.out:248 msgid "invalid command syntax" msgstr "" -#: userdel.8.xml:276(replaceable) useradd.8.xml:814(replaceable) -#: pwck.8.xml:346(replaceable) passwd.1.xml:484(replaceable) -#: groupmod.8.xml:306(replaceable) groupdel.8.xml:203(replaceable) -msgid "6" -msgstr "" +#. (itstool) path: term/replaceable +#: chage.1.xml.out:305 +msgid "15" +msgstr "15" -#: userdel.8.xml:278(para) -msgid "specified user doesn't exist" -msgstr "" +#. (itstool) path: listitem/para +#: chage.1.xml.out:307 +msgid "can't find the shadow password file" +msgstr "Kan ikke finde shadows adgangskodefil" -#: userdel.8.xml:284(para) -msgid "user currently logged in" -msgstr "" - -#: userdel.8.xml:288(replaceable) useradd.8.xml:826(replaceable) -#: groupmod.8.xml:318(replaceable) groupdel.8.xml:215(replaceable) -#: groupadd.8.xml:347(replaceable) -msgid "10" -msgstr "" - -#: userdel.8.xml:290(para) useradd.8.xml:828(para) groupdel.8.xml:217(para) -#: groupadd.8.xml:349(para) -msgid "can't update group file" -msgstr "" - -#: userdel.8.xml:294(replaceable) useradd.8.xml:832(replaceable) -#: groupmod.8.xml:330(replaceable) -msgid "12" -msgstr "" - -#: userdel.8.xml:296(para) -msgid "can't remove home directory" -msgstr "" - -#: userdel.8.xml:254(para) -msgid "" -"The userdel command exits with the following values: " -"" -msgstr "" - -#: userdel.8.xml:305(para) -msgid "" -"userdel will not allow you to remove an account if there " -"are running processes which belong to this account. In that case, you may " -"have to kill those processes or lock the user's password or account and " -"remove the account later. The option can force the " -"deletion of this account." -msgstr "" - -#: userdel.8.xml:312(para) -msgid "" -"You should manually check all file systems to ensure that no files remain " -"owned by this user." -msgstr "" - -#: userdel.8.xml:316(para) -msgid "" -"You may not remove any NIS attributes on a NIS client. This must be " -"performed on the NIS server." -msgstr "" - -#: userdel.8.xml:319(para) -msgid "" -"If is defined to yes in /etc/login.defs, userdel will delete the group with the same name as the user. To avoid " -"inconsistencies in the passwd and group databases, userdel will check that this group is not used as a primary group for " -"another user, and will just warn without deleting the group otherwise. The " -" option can force the deletion of this group." -msgstr "" - -#: userdel.8.xml:332(para) +#. (itstool) path: refsect1/para +#: chage.1.xml.out:283 groupadd.8.xml.out:289 groupdel.8.xml.out:163 +#: groupmod.8.xml.out:254 grpck.8.xml.out:232 passwd.1.xml.out:420 +#: pwck.8.xml.out:282 useradd.8.xml.out:762 userdel.8.xml.out:230 #, fuzzy #| msgid "" -#| "vi1, group5, " -#| "gshadow5login.defs5, passwd5, tcb5, shadow5." +#| "The pwck command exits with the following values: " +#| "" msgid "" -"chfn1, chsh1, " -"passwd1, login.defs5, " -"gpasswd8, groupadd8, " -"groupdel8, groupmod8, subgid5, subuid5, useradd8, usermod8." +"The <_:command-1/> command exits with the following values: <_:" +"variablelist-2/>" msgstr "" -"vi1, gruppe5, " -"gshadow5login.defs5, passwd5, tcb5, shadow5." - -#: useradd.8.xml:76(refentrytitle) useradd.8.xml:83(refname) -#: useradd.8.xml:88(command) useradd.8.xml:95(command) -#: useradd.8.xml:99(command) login.defs.5.xml:486(term) -msgid "useradd" -msgstr "" - -#: useradd.8.xml:84(refpurpose) -msgid "create a new user or update default new user information" -msgstr "" - -#: useradd.8.xml:96(arg) useradd.8.xml:100(arg) -msgid "-D" -msgstr "" - -#: useradd.8.xml:109(para) -msgid "" -"When invoked without the option, the useradd command creates a new user account using the values specified on " -"the command line plus the default values from the system. Depending on " -"command line options, the useradd command will update " -"system files and may also create the new user's home directory and copy " -"initial files." -msgstr "" - -#: useradd.8.xml:118(para) -msgid "" -"By default, a group will also be created for the new user (see , , and " -")." -msgstr "" - -#: useradd.8.xml:127(para) -msgid "The options which apply to the useradd command are:" -msgstr "" - -#: useradd.8.xml:132(option) pwck.8.xml:188(option) newusers.8.xml:281(option) -msgid "--badname" -msgstr "" - -#: useradd.8.xml:141(term) useradd.8.xml:566(term) -msgid "" -",  BASE_DIR" -msgstr "" - -#: useradd.8.xml:145(para) -msgid "" -"The default base directory for the system if  " -"HOME_DIR is not specified. BASE_DIR is concatenated with the account name to define the home " -"directory. If the option is not used, " -"BASE_DIR must exist." -msgstr "" - -#: useradd.8.xml:152(para) -msgid "" -"If this option is not specified, useradd will use the " -"base directory specified by the variable in /" -"etc/default/useradd, or /home by default." -msgstr "" - -#: useradd.8.xml:166(para) -msgid "" -"Any text string. It is generally a short description of the login, and is " -"currently used as the field for the user's full name." -msgstr "" - -#: useradd.8.xml:174(term) -msgid "" -",  HOME_DIR" -msgstr "" -",  " -"HJEMMEMAPPE" - -#: useradd.8.xml:178(para) -msgid "" -"The new user will be created using HOME_DIR as " -"the value for the user's login directory. The default is to append the " -"LOGIN name to BASE_DIR " -"and use that as the login directory name. If the directory " -"HOME_DIR does not exist, then it will be created " -"unless the option is specified." -msgstr "" - -#: useradd.8.xml:192(term) -msgid ", " -msgstr "" - -#: useradd.8.xml:196(para) -msgid "See below, the subsection \"Changing the default values\"." -msgstr "" - -#: useradd.8.xml:210(para) -msgid "" -"If not specified, useradd will use the default expiry " -"date specified by the variable in /etc/" -"default/useradd, or an empty string (no expiry) by default." -msgstr "" - -#: useradd.8.xml:223(para) -msgid "" -"The number of days after a password expires until the account is permanently " -"disabled. A value of 0 disables the account as soon as the password has " -"expired, and a value of -1 disables the feature." -msgstr "" - -#: useradd.8.xml:229(para) -msgid "" -"If not specified, useradd will use the default inactivity " -"period specified by the variable in /etc/" -"default/useradd, or -1 by default." -msgstr "" - -#: useradd.8.xml:242(para) -msgid "" -"The group name or number of the user's initial login group. The group name " -"must exist. A group number must refer to an already existing group." -msgstr "" - -#: useradd.8.xml:247(para) -msgid "" -"If not specified, the behavior of useradd will depend on " -"the variable in /etc/login.defs. If this variable is set to yes (or " -" is specified on the command line), a group " -"will be created for the user, with the same name as her loginname. If the " -"variable is set to no (or is specified on the command line), useradd will set the " -"primary group of the new user to the value specified by the option. The default is for the user to belong only to " -"the initial group." -msgstr "" - -#: useradd.8.xml:286(term) -msgid "" -",  SKEL_DIR" -msgstr "" - -#: useradd.8.xml:290(para) -msgid "" -"The skeleton directory, which contains files and directories to be copied in " -"the user's home directory, when the home directory is created by " -"useradd." -msgstr "" - -#: useradd.8.xml:295(para) -msgid "" -"This option is only valid if the (or ) option is specified." -msgstr "" - -#: useradd.8.xml:299(para) -msgid "" -"If this option is not set, the skeleton directory is defined by the " -" variable in /etc/default/useradd " -"or, by default, /etc/skel." -msgstr "" - -#: useradd.8.xml:305(para) -msgid "If possible, the ACLs and extended attributes are copied." -msgstr "" - -#: useradd.8.xml:311(term) groupadd.8.xml:137(term) -msgid "" -",  KEY=VALUE" -msgstr "" - -#: useradd.8.xml:315(para) -msgid "" -"Overrides /etc/login.defs defaults (, , " -" and others). Example: " -" PASS_MAX_DAYS=-1 can be used when creating system " -"account to turn off password aging, even though system account has no " -"password at all. Multiple options can be specified, e." -"g.:  UID_MIN=100  " -"UID_MAX=499" -msgstr "" - -#: useradd.8.xml:336(term) -msgid ", " -msgstr "" - -#: useradd.8.xml:338(para) -msgid "Do not add the user to the lastlog and faillog databases." -msgstr "" - -#: useradd.8.xml:341(para) -msgid "" -"By default, the user's entries in the lastlog and faillog databases are " -"reset to avoid reusing the entry from a previously deleted user." -msgstr "" - -#: useradd.8.xml:349(term) -msgid ", " -msgstr "" - -#: useradd.8.xml:353(para) -msgid "" -"Create the user's home directory if it does not exist. The files and " -"directories contained in the skeleton directory (which can be defined with " -"the option) will be copied to the home directory." -msgstr "" - -#: useradd.8.xml:359(para) -msgid "" -"By default, if this option is not specified and " -"is not enabled, no home directories are created." -msgstr "" - -#: useradd.8.xml:364(para) -msgid "" -"The directory where the user's home directory is created must exist and have " -"proper SELinux context and permissions. Otherwise the user's home directory " -"cannot be created or accessed." -msgstr "" - -#: useradd.8.xml:372(term) -#, fuzzy -#| msgid ", " -msgid ", " -msgstr ", " - -#: useradd.8.xml:376(para) -msgid "" -"Do no create the user's home directory, even if the system wide setting from " -"/etc/login.defs () is set " -"to yes." -msgstr "" - -#: useradd.8.xml:385(term) -msgid ", " -msgstr "" - -#: useradd.8.xml:389(para) -msgid "" -"Do not create a group with the same name as the user, but add the user to " -"the group specified by the option or by the " -" variable in /etc/default/useradd." -msgstr "" - -#: useradd.8.xml:395(para) useradd.8.xml:533(para) groupmod.8.xml:223(para) -#: groupadd.8.xml:240(para) -msgid "" -"The default behavior (if the , , and " -" options are not specified) is defined by the " -" variable in /etc/login.defs." -msgstr "" - -#: useradd.8.xml:408(para) -msgid "Allow the creation of a user account with a duplicate (non-unique) UID." -msgstr "" - -#: useradd.8.xml:409(para) -msgid "" -"This option is only valid in combination with the option." -msgstr "" - -#: useradd.8.xml:420(para) groupadd.8.xml:171(para) -msgid "" -"The encrypted password, as returned by crypt3. The default is to " -"disable the password." -msgstr "" - -#: useradd.8.xml:437(term) newusers.8.xml:310(term) groupadd.8.xml:188(term) -msgid ", " -msgstr "" - -#: useradd.8.xml:441(para) newusers.8.xml:314(para) -msgid "Create a system account." -msgstr "" - -#: useradd.8.xml:444(para) -msgid "" -"System users will be created with no aging information in /etc/" -"shadow, and their numeric identifiers are chosen in the " -"- range, defined in " -"/etc/login.defs, instead of -" -" (and their counterparts for " -"the creation of groups)." -msgstr "" - -#: useradd.8.xml:453(para) -msgid "" -"Note that useradd will not create a home directory for " -"such a user, regardless of the default setting in /etc/login.defs (). You have to specify the options if you want a home directory for a system account to be " -"created." -msgstr "" - -#: useradd.8.xml:497(para) -msgid "" -"The name of the user's login shell. The default is to leave this field " -"blank, which causes the system to select the default login shell specified " -"by the variable in /etc/default/useradd, or an empty string by default." -msgstr "" - -#: useradd.8.xml:511(para) -msgid "" -"The numerical value of the user's ID. This value must be unique, unless the " -" option is used. The value must be non-negative. The " -"default is to use the smallest ID value greater than or equal to " -" and greater than every other user." -msgstr "" - -#: useradd.8.xml:518(para) -msgid "" -"See also the option and the " -"description." -msgstr "" - -#: useradd.8.xml:525(term) -msgid ", " -msgstr "" - -#: useradd.8.xml:529(para) -msgid "" -"Create a group with the same name as the user, and add the user to this " -"group." -msgstr "" - -#: useradd.8.xml:546(para) -msgid "" -"The SELinux user for the user's login. The default is to leave this field " -"blank, which causes the system to select the default SELinux user." -msgstr "" - -#: useradd.8.xml:556(title) -msgid "Changing the default values" -msgstr "" - -#: useradd.8.xml:557(para) -msgid "" -"When invoked with only the option, useradd will display the current default values. When invoked with plus other options, useradd will update the " -"default values for the specified options. Valid default-changing options are:" -msgstr "" - -#: useradd.8.xml:570(para) -msgid "" -"The path prefix for a new user's home directory. The user's name will be " -"affixed to the end of BASE_DIR to form the new " -"user's home directory name, if the option is not used " -"when creating a new account." -msgstr "" - -#: useradd.8.xml:577(para) -msgid "" -"This option sets the variable in /etc/" -"default/useradd." -msgstr "" - -#: useradd.8.xml:588(para) -msgid "The date on which the user account is disabled." -msgstr "" - -#: useradd.8.xml:589(para) -msgid "" -"This option sets the variable in /etc/" -"default/useradd." -msgstr "" - -#: useradd.8.xml:600(para) -msgid "" -"The number of days after a password has expired before the account will be " -"disabled." -msgstr "" -"Antallet af dage efter en adgangskode er udløbet før kontoen vil blive " -"deaktiveret." - -#: useradd.8.xml:604(para) -msgid "" -"This option sets the variable in /etc/" -"default/useradd." -msgstr "" -"Dette tilvalg sætter variablen i /etc/" -"default/useradd." - -#: useradd.8.xml:615(para) -msgid "" -"The group name or ID for a new user's initial group (when the is used or when the " -"variable is set to no in /etc/login." -"defs). The named group must exist, and a numerical group ID must " -"have an existing entry." -msgstr "" - -#: useradd.8.xml:624(para) -msgid "" -"This option sets the variable in /etc/" -"default/useradd." -msgstr "" - -#: useradd.8.xml:635(para) -msgid "The name of a new user's login shell." -msgstr "Navnet på en ny brugers logindskal." - -#: useradd.8.xml:638(para) -msgid "" -"This option sets the variable in /etc/" -"default/useradd." -msgstr "" - -#: useradd.8.xml:650(title) -msgid "NOTES" -msgstr "" - -#: useradd.8.xml:651(para) -msgid "" -"The system administrator is responsible for placing the default user files " -"in the /etc/skel/ directory (or any other skeleton " -"directory specified in /etc/default/useradd or on the " -"command line)." -msgstr "" - -#: useradd.8.xml:660(para) -msgid "" -"You may not add a user to a NIS or LDAP group. This must be performed on the " -"corresponding server." -msgstr "" -"Du kan ikke tilføje en bruger til en NIS eller LDAP-gruppe. Dette skal " -"udføres på den tilsvarende server." - -#: useradd.8.xml:665(para) -msgid "" -"Similarly, if the username already exists in an external user database such " -"as NIS or LDAP, useradd will deny the user account " -"creation request." -msgstr "" - -#: useradd.8.xml:671(para) -msgid "" -"Usernames must start with a lower case letter or an underscore, followed by " -"lower case letters, digits, underscores, or dashes. They can end with a " -"dollar sign. In regular expression terms: [a-z_][a-z0-9_-]*[$]?" -msgstr "" - -#: useradd.8.xml:677(para) -msgid "Usernames may only be up to 32 characters long." -msgstr "Brugernavne må kun være op til 32 tegn lange." - -#: useradd.8.xml:30(term) login.defs.5.xml:30(term) -msgid " (boolean)" -msgstr " (boolesk)" - -#: useradd.8.xml:32(para) login.defs.5.xml:32(para) -msgid "" -"Indicate if a home directory should be created by default for new users." -msgstr "" -"Indikerer om en hjemmemappe skal oprettes som standard for nye brugere." - -#: useradd.8.xml:36(para) login.defs.5.xml:36(para) -msgid "" -"This setting does not apply to system users, and can be overridden on the " -"command line." -msgstr "" -"Denne indstilling gælder ikke for systembrugere og kan overskrives på " -"kommandolinjen." - -#: useradd.8.xml:32(term) newusers.8.xml:32(term) login.defs.5.xml:32(term) -#: groupadd.8.xml:32(term) -msgid " (number)" -msgstr " (nummer)" - -#: useradd.8.xml:33(term) newusers.8.xml:33(term) login.defs.5.xml:33(term) -#: groupadd.8.xml:33(term) -msgid " (number)" -msgstr " (nummer)" - -#: useradd.8.xml:35(para) newusers.8.xml:35(para) login.defs.5.xml:35(para) -#: groupadd.8.xml:35(para) -msgid "" -"Range of group IDs used for the creation of regular groups by " -"useradd, groupadd, or " -"newusers." -msgstr "" - -#: useradd.8.xml:40(para) newusers.8.xml:40(para) login.defs.5.xml:40(para) -#: groupadd.8.xml:40(para) -msgid "" -"The default value for (resp. (resp. (number)" -msgid " (number)" -msgstr " (nummer)" - -#: useradd.8.xml:34(para) newusers.8.xml:34(para) login.defs.5.xml:34(para) -msgid "" -"The mode for new home directories. If not specified, the (number)" -msgstr "" - -#: useradd.8.xml:34(para) pwconv.8.xml:34(para) pwck.8.xml:34(para) -#: newusers.8.xml:34(para) login.defs.5.xml:34(para) -msgid "" -"The maximum number of days a password may be used. If the password is older " -"than this, a password change will be forced. If not specified, -1 will be " -"assumed (which disables the restriction)." -msgstr "" - -#: useradd.8.xml:32(term) pwconv.8.xml:32(term) pwck.8.xml:32(term) -#: newusers.8.xml:32(term) login.defs.5.xml:32(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:34(para) pwconv.8.xml:34(para) pwck.8.xml:34(para) -#: newusers.8.xml:34(para) login.defs.5.xml:34(para) -msgid "" -"The minimum number of days allowed between password changes. Any password " -"changes attempted sooner than this will be rejected. If not specified, 0 " -"will be assumed (which disables the restriction)." -msgstr "" - -#: useradd.8.xml:32(term) pwconv.8.xml:32(term) pwck.8.xml:32(term) -#: newusers.8.xml:32(term) login.defs.5.xml:32(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:34(para) pwconv.8.xml:34(para) pwck.8.xml:34(para) -#: newusers.8.xml:34(para) login.defs.5.xml:34(para) -msgid "" -"The number of days warning given before a password expires. A zero means " -"warning is given only upon the day of expiration, a negative value means no " -"warning is given. If not specified, no warning will be provided." -msgstr "" - -#: useradd.8.xml:30(term) newusers.8.xml:30(term) login.defs.5.xml:30(term) -#: groupadd.8.xml:30(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:31(term) newusers.8.xml:31(term) login.defs.5.xml:31(term) -#: groupadd.8.xml:31(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:33(para) newusers.8.xml:33(para) login.defs.5.xml:33(para) -#: groupadd.8.xml:33(para) -msgid "" -"Range of group IDs used for the creation of system groups by " -"useradd, groupadd, or " -"newusers." -msgstr "" - -#: useradd.8.xml:38(para) newusers.8.xml:38(para) login.defs.5.xml:38(para) -#: groupadd.8.xml:38(para) -msgid "" -"The default value for (resp. " -") is 101 (resp. -1)." -msgstr "" - -#: useradd.8.xml:30(term) newusers.8.xml:30(term) login.defs.5.xml:30(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:31(term) newusers.8.xml:31(term) login.defs.5.xml:31(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:33(para) newusers.8.xml:33(para) login.defs.5.xml:33(para) -msgid "" -"Range of user IDs used for the creation of system users by useradd or newusers." -msgstr "" - -#: useradd.8.xml:37(para) newusers.8.xml:37(para) login.defs.5.xml:37(para) -msgid "" -"The default value for (resp. " -") is 101 (resp. -1)." -msgstr "" - -#: useradd.8.xml:30(term) pwck.8.xml:30(term) login.defs.5.xml:30(term) -msgid " (boolean)" -msgstr "" - -#: useradd.8.xml:32(para) pwck.8.xml:32(para) login.defs.5.xml:32(para) -msgid "" -"If yes, newly created tcb shadow files will be " -"group owned by the auth group." -msgstr "" - -#: useradd.8.xml:32(term) newusers.8.xml:32(term) login.defs.5.xml:32(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:33(term) newusers.8.xml:33(term) login.defs.5.xml:33(term) -msgid " (number)" -msgstr "" - -#: useradd.8.xml:35(para) newusers.8.xml:35(para) login.defs.5.xml:35(para) -msgid "" -"Range of user IDs used for the creation of regular users by " -"useradd or newusers." -msgstr "" - -#: useradd.8.xml:39(para) newusers.8.xml:39(para) login.defs.5.xml:39(para) -msgid "" -"The default value for (resp. (number)" -msgstr "" - -#: useradd.8.xml:34(para) newusers.8.xml:34(para) login.defs.5.xml:34(para) -#: login.1.xml:34(para) -msgid "" -"The file mode creation mask is initialized to this value. If not specified, " -"the mask will be initialized to 022." -msgstr "" - -#: useradd.8.xml:38(para) newusers.8.xml:38(para) login.defs.5.xml:38(para) -#: login.1.xml:38(para) -msgid "" -"useradd and newusers use this mask to " -"set the mode of the home directory they create if " -"is not set." -msgstr "" - -#: useradd.8.xml:43(para) newusers.8.xml:43(para) login.defs.5.xml:43(para) -#: login.1.xml:43(para) -msgid "" -"It is also used by login to define users' initial umask. " -"Note that this mask can be overridden by the user's GECOS line (if " -" is set) or by the specification of a limit with " -"the K identifier in " -"limits5." -msgstr "" - -#: useradd.8.xml:51(para) newusers.8.xml:51(para) login.defs.5.xml:51(para) -#: login.1.xml:51(para) -msgid "" -"It is also used by pam_umask as the default umask value." -msgstr "" - -#: useradd.8.xml:740(filename) -msgid "/etc/default/useradd" -msgstr "/etc/default/useradd" - -#: useradd.8.xml:742(para) -msgid "Default values for account creation." -msgstr "Standardværdier for kontooprettelse." - -#: useradd.8.xml:746(term) -msgid "" -"/etc/shadow-maint/useradd-pre.d/*, /etc/" -"shadow-maint/useradd-post.d/*" -msgstr "" - -#: useradd.8.xml:748(para) -msgid "" -"Run-part files to execute during user addition. The environment variable " -"ACTION will be populated with useradd and " -"SUBJECT with the username. " -"useradd-pre.d will be executed prior to any user " -"addition. useradd-post.d will execute after user " -"addition. If a script exits non-zero then execution will terminate." -msgstr "" - -#: useradd.8.xml:752(filename) -msgid "/etc/skel/" -msgstr "/etc/skel/" - -#: useradd.8.xml:754(para) -msgid "Directory containing default files." -msgstr "Mappe indeholdende standardfiler." - -#: useradd.8.xml:802(replaceable) shadow.3.xml:58(manvolnum) -#: pwck.8.xml:328(replaceable) passwd.1.xml:466(replaceable) -#: grpck.8.xml:278(replaceable) groupmod.8.xml:294(replaceable) -#: groupadd.8.xml:329(replaceable) -msgid "3" -msgstr "3" - -#: useradd.8.xml:804(para) passwd.1.xml:486(para) groupadd.8.xml:331(para) -msgid "invalid argument to option" -msgstr "Ugyldigt argument for tilvalg" - -#: useradd.8.xml:808(replaceable) pwck.8.xml:334(replaceable) -#: passwd.1.xml:472(replaceable) grpck.8.xml:284(replaceable) -#: groupmod.8.xml:300(replaceable) groupadd.8.xml:335(replaceable) -msgid "4" -msgstr "4" - -#: useradd.8.xml:810(para) -msgid "UID already in use (and no )" -msgstr "UID er allerede i brug (og intet )" - -#: useradd.8.xml:816(para) groupdel.8.xml:205(para) -msgid "specified group doesn't exist" -msgstr "angivet gruppe findes ikke" - -#: useradd.8.xml:820(replaceable) groupmod.8.xml:312(replaceable) -#: groupadd.8.xml:341(replaceable) -msgid "9" -msgstr "9" - -#: useradd.8.xml:822(para) -msgid "username already in use" -msgstr "brugernavn er allerede i brug" - -#: useradd.8.xml:834(para) -msgid "can't create home directory" -msgstr "kan ikke oprette hjemmemappe" - -#: useradd.8.xml:838(replaceable) -#, fuzzy -#| msgid "4" -msgid "14" -msgstr "4" - -#: useradd.8.xml:840(para) -msgid "can't update SELinux user mapping" -msgstr "" - -#: useradd.8.xml:780(para) -msgid "" -"The useradd command exits with the following values: " -"" -msgstr "" -"Kommandoen useradd findes med de følgende værdier: " +"Kommandoen pwck findes med de følgende værdier: " "" -#: useradd.8.xml:849(para) +#. (itstool) path: refsect1/title +#: chage.1.xml.out:315 chfn.1.xml.out:201 chgpasswd.8.xml.out:213 +#: chpasswd.8.xml.out:261 chsh.1.xml.out:167 expiry.1.xml.out:115 +#: faillog.5.xml.out:84 faillog.8.xml.out:231 gpasswd.1.xml.out:273 +#: groupadd.8.xml.out:333 groupdel.8.xml.out:201 groupmems.8.xml.out:205 +#: groupmod.8.xml.out:322 groups.1.xml.out:88 grpck.8.xml.out:276 +#: gshadow.5.xml.out:150 limits.5.xml.out:182 login.1.xml.out:374 +#: login.access.5.xml.out:109 login.defs.5.xml.out:527 newgrp.1.xml.out:127 +#: newusers.8.xml.out:449 nologin.8.xml.out:57 passwd.1.xml.out:470 +#: passwd.5.xml.out:167 porttime.5.xml.out:118 pwck.8.xml.out:332 +#: pwconv.8.xml.out:238 shadow.3.xml.out:214 shadow.5.xml.out:259 +#: sg.1.xml.out:116 su.1.xml.out:413 suauth.5.xml.out:198 useradd.8.xml.out:830 +#: userdel.8.xml.out:307 usermod.8.xml.out:591 vipw.8.xml.out:201 +msgid "SEE ALSO" +msgstr "SE OGSÅ" + +#. (itstool) path: citerefentry/refentrytitle +#. (itstool) path: para/filename +#. (itstool) path: varlistentry/term +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#. (itstool) path: cmdsynopsis/command +#. (itstool) path: para/command +#. (itstool) path: arg/replaceable +#. (itstool) path: para/replaceable +#. (itstool) path: para/emphasis +#: chage.1.xml.out:318 chfn.1.xml.out:210 chpasswd.8.xml.out:264 +#: chsh.1.xml.out:176 expiry.1.xml.out:118 groupadd.8.xml.out:341 +#: groupdel.8.xml.out:210 groupmems.8.xml.out:214 groupmod.8.xml.out:331 +#: grpck.8.xml.out:290 lastlog.8.xml.out:175 login.1.xml.out:128 +#: login.1.xml.out:380 login.1.xml.out:395 login.defs.5.xml.out:399 +#: login.defs.5.xml.out:516 login.defs.5.xml.out:533 login.defs.5.xml.out:539 +#: newusers.8.xml.out:79 newusers.8.xml.out:455 passwd.1.xml.out:40 +#: passwd.1.xml.out:47 passwd.1.xml.out:53 passwd.1.xml.out:66 +#: passwd.1.xml.out:69 passwd.1.xml.out:86 passwd.1.xml.out:116 +#: passwd.1.xml.out:152 passwd.1.xml.out:365 passwd.1.xml.out:412 +#: passwd.1.xml.out:421 passwd.1.xml.out:450 passwd.1.xml.out:456 +#: passwd.1.xml.out:476 passwd.5.xml.out:33 passwd.5.xml.out:40 +#: passwd.5.xml.out:182 pwck.8.xml.out:57 pwck.8.xml.out:227 pwck.8.xml.out:341 +#: pwconv.8.xml.out:84 pwconv.8.xml.out:99 shadow.5.xml.out:268 +#: shadow.5.xml.out:271 useradd.8.xml.out:839 userdel.8.xml.out:315 +#: usermod.8.xml.out:600 vipw.8.xml.out:216 +msgid "passwd" +msgstr "" + +#. (itstool) path: citerefentry/refentrytitle +#. (itstool) path: arg/replaceable +#. (itstool) path: phrase/emphasis +#. (itstool) path: para/filename +#. (itstool) path: para/replaceable +#. (itstool) path: para/emphasis +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#: chage.1.xml.out:321 expiry.1.xml.out:121 grpck.8.xml.out:51 +#: grpck.8.xml.out:189 grpck.8.xml.out:296 login.defs.5.xml.out:542 +#: passwd.1.xml.out:479 passwd.5.xml.out:79 passwd.5.xml.out:194 +#: pwck.8.xml.out:61 pwck.8.xml.out:105 pwck.8.xml.out:228 pwck.8.xml.out:232 +#: pwck.8.xml.out:344 pwconv.8.xml.out:84 pwconv.8.xml.out:85 +#: pwconv.8.xml.out:100 pwconv.8.xml.out:101 shadow.3.xml.out:33 +#: shadow.3.xml.out:40 shadow.3.xml.out:96 shadow.3.xml.out:220 +#: shadow.5.xml.out:33 shadow.5.xml.out:40 shadow.5.xml.out:47 +#: vipw.8.xml.out:222 +msgid "shadow" +msgstr "" + +#. (itstool) path: refsect1/para +#: chage.1.xml.out:316 expiry.1.xml.out:116 faillog.8.xml.out:232 +#: nologin.8.xml.out:58 shadow.3.xml.out:215 +msgid "<_:citerefentry-1/>, <_:citerefentry-2/>." +msgstr "" + +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#. (itstool) path: cmdsynopsis/command +#. (itstool) path: para/command +#. (itstool) path: citerefentry/refentrytitle +#. (itstool) path: varlistentry/term +#: chfn.1.xml.out:36 chfn.1.xml.out:43 chfn.1.xml.out:49 chfn.1.xml.out:62 +#: chfn.1.xml.out:89 chfn.1.xml.out:158 chfn.1.xml.out:163 chfn.1.xml.out:11 +#: chfn.1.xml.out:14 chfn.1.xml.out:23 chsh.1.xml.out:170 +#: groupadd.8.xml.out:335 groupdel.8.xml.out:204 groupmems.8.xml.out:208 +#: groupmod.8.xml.out:325 login.defs.5.xml.out:11 login.defs.5.xml.out:14 +#: login.defs.5.xml.out:23 login.defs.5.xml.out:239 useradd.8.xml.out:833 +#: userdel.8.xml.out:309 usermod.8.xml.out:105 usermod.8.xml.out:594 +msgid "chfn" +msgstr "" + +#. (itstool) path: refnamediv/refpurpose +#: chfn.1.xml.out:44 +msgid "change real user name and information" +msgstr "" + +#. (itstool) path: citerefentry/refentrytitle +#: chfn.1.xml.out:65 passwd.5.xml.out:117 +msgid "finger" +msgstr "" + +#. (itstool) path: para/option +#. (itstool) path: term/option +#: chfn.1.xml.out:71 chfn.1.xml.out:110 groupadd.8.xml.out:95 +#: groupadd.8.xml.out:134 groupadd.8.xml.out:313 groupmod.8.xml.out:93 +#: groupmod.8.xml.out:132 useradd.8.xml.out:387 useradd.8.xml.out:495 +#: useradd.8.xml.out:792 usermod.8.xml.out:269 usermod.8.xml.out:366 +msgid "-o" +msgstr "" + +#. (itstool) path: refsect1/para +#: chfn.1.xml.out:61 +msgid "" +"The <_:command-1/> command changes user fullname, office room number, office " +"phone number, and home phone number information for a user's account. This " +"information is typically printed by <_:citerefentry-2/> and similar " +"programs. A normal user may only change the fields for her own account, " +"subject to the restrictions in <_:filename-3/>. (The default configuration " +"is to prevent users from changing their fullname.) The superuser may change " +"any field for any account. Additionally, only the superuser may use the <_:" +"option-4/> option to change the undefined portions of the GECOS field." +msgstr "" + +#. (itstool) path: para/emphasis +#: chfn.1.xml.out:77 chfn.1.xml.out:80 +msgid "other" +msgstr "" + +#. (itstool) path: refsect1/para +#: chfn.1.xml.out:75 +msgid "" +"These fields must not contain any colons. Except for the <_:emphasis-1/> " +"field, they should not contain any comma or equal sign. It is also " +"recommended to avoid non-US-ASCII characters, but this is only enforced for " +"the phone numbers. The <_:emphasis-2/> field is used to store accounting " +"information used by other applications." +msgstr "" + +#. (itstool) path: term/option +#. (itstool) path: para/option +#. (itstool) path: cmdsynopsis/arg +#: chfn.1.xml.out:94 expiry.1.xml.out:61 expiry.1.xml.out:79 +#: groupadd.8.xml.out:77 groupdel.8.xml.out:72 login.1.xml.out:90 +#: login.1.xml.out:190 login.1.xml.out:229 useradd.8.xml.out:196 +#: useradd.8.xml.out:579 userdel.8.xml.out:76 userdel.8.xml.out:286 +#: userdel.8.xml.out:301 usermod.8.xml.out:149 +msgid "-f" +msgstr "-f" + +#. (itstool) path: term/option +#: chfn.1.xml.out:94 +msgid "--full-name" +msgstr "" + +#. (itstool) path: term/replaceable +#: chfn.1.xml.out:94 +msgid "FULL_NAME" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:97 +msgid "Change the user's full name." +msgstr "Ændr brugerens navn." + +#. (itstool) path: term/option +#: chfn.1.xml.out:102 +msgid "--home-phone" +msgstr "" + +#. (itstool) path: term/replaceable +#: chfn.1.xml.out:102 +msgid "HOME_PHONE" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:105 +msgid "Change the user's home phone number." +msgstr "Ændr brugerens telefonnummer." + +#. (itstool) path: term/option +#: chfn.1.xml.out:110 +msgid "--other" +msgstr "" + +#. (itstool) path: term/replaceable +#: chfn.1.xml.out:110 +msgid "OTHER" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:113 +msgid "" +"Change the user's other GECOS information. This field is used to store " +"accounting information used by other applications, and can be changed only " +"by a superuser." +msgstr "" +"Ændr brugerens anden GECOS-information. Dette felt bruges til at gemme " +"kontoinformation brugt af andre programmer, og kan kun ændres af en " +"superbruger." + +#. (itstool) path: term/option +#. (itstool) path: para/option +#: chfn.1.xml.out:122 faillog.8.xml.out:89 faillog.8.xml.out:144 +#: faillog.8.xml.out:185 faillog.8.xml.out:202 gpasswd.1.xml.out:172 +#: groupadd.8.xml.out:101 groupadd.8.xml.out:165 grpck.8.xml.out:124 +#: grpck.8.xml.out:138 login.1.xml.out:220 login.1.xml.out:229 +#: newusers.8.xml.out:287 passwd.1.xml.out:268 pwck.8.xml.out:155 +#: pwck.8.xml.out:188 useradd.8.xml.out:420 useradd.8.xml.out:501 +#: userdel.8.xml.out:106 usermod.8.xml.out:307 +msgid "-r" +msgstr "-r" + +#. (itstool) path: term/option +#: chfn.1.xml.out:122 +msgid "--room" +msgstr "" + +#. (itstool) path: term/replaceable +#: chfn.1.xml.out:122 +msgid "ROOM_NUMBER" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:125 +msgid "Change the user's room number." +msgstr "Ændr brugerens værelsesnummer." + +#. (itstool) path: term/option +#. (itstool) path: para/option +#: chfn.1.xml.out:142 faillog.8.xml.out:80 faillog.8.xml.out:179 +#: faillog.8.xml.out:213 lastlog.8.xml.out:90 lastlog.8.xml.out:121 +#: lastlog.8.xml.out:138 passwd.1.xml.out:308 useradd.8.xml.out:393 +#: useradd.8.xml.out:490 usermod.8.xml.out:273 usermod.8.xml.out:358 +#: vipw.8.xml.out:132 +msgid "-u" +msgstr "" + +#. (itstool) path: term/option +#: chfn.1.xml.out:150 passwd.1.xml.out:321 usermod.8.xml.out:452 +msgid "-w" +msgstr "" + +#. (itstool) path: term/option +#: chfn.1.xml.out:150 +msgid "--work-phone" +msgstr "" + +#. (itstool) path: term/replaceable +#: chfn.1.xml.out:150 +msgid "WORK_PHONE" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:153 +msgid "Change the user's office phone number." +msgstr "Ændr brugerens arbejdsnummer." + +#. (itstool) path: refsect1/para +#: chfn.1.xml.out:157 +msgid "" +"If none of the options are selected, <_:command-1/> operates in an " +"interactive fashion, prompting the user with the current values for all of " +"the fields. Enter the new value to change the field, or leave the line blank " +"to use the current value. The current value is displayed between a pair of " +"<_:emphasis-2/> marks. Without options, <_:command-3/> prompts for the " +"current user account." +msgstr "" + +#. (itstool) path: term/option +#. (itstool) path: para/phrase +#: chfn.1.xml.out:8 login.defs.5.xml.out:8 login.defs.5.xml.out:242 +msgid "CHFN_AUTH" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:10 chsh.1.xml.out:10 login.defs.5.xml.out:10 +msgid "" +"If <_:replaceable-1/>, the <_:command-2/> program will require " +"authentication before making any changes, unless run by the superuser." +msgstr "" + +#. (itstool) path: term/option +#: chfn.1.xml.out:8 login.defs.5.xml.out:8 +msgid "CHFN_RESTRICT" +msgstr "" + +#. (itstool) path: varlistentry/term +#: chfn.1.xml.out:8 chgpasswd.8.xml.out:6 chpasswd.8.xml.out:6 chsh.1.xml.out:8 +#: gpasswd.1.xml.out:6 login.1.xml.out:8 login.1.xml.out:9 login.1.xml.out:19 +#: login.defs.5.xml.out:8 login.defs.5.xml.out:6 login.defs.5.xml.out:9 +#: login.defs.5.xml.out:19 newusers.8.xml.out:6 passwd.1.xml.out:6 +#: pwck.8.xml.out:8 su.1.xml.out:8 su.1.xml.out:9 su.1.xml.out:19 +#: useradd.8.xml.out:8 useradd.8.xml.out:19 userdel.8.xml.out:8 +#: userdel.8.xml.out:19 userdel.8.xml.out:9 usermod.8.xml.out:8 +#: usermod.8.xml.out:19 #, fuzzy -#| msgid "" -#| "vi1, group5, " -#| "gshadow5login.defs5, passwd5, tcb5, shadow5." -msgid "" -"chfn1, chsh1, " -"passwd1, crypt3, " -"groupadd8, groupdel8, " -"groupmod8, login.defs5, " -"newusers8, subgid5, subuid5, userdel8, usermod8." -msgstr "" -"vi1, gruppe5, " -"gshadow5login.defs5, passwd5, tcb5, shadow5." - -#: suauth.5.xml:41(contrib) pwconv.8.xml:47(contrib) -#: login.access.5.xml:42(contrib) gpasswd.1.xml:46(contrib) -msgid "Creation, 1996" -msgstr "" - -#: suauth.5.xml:57(refentrytitle) suauth.5.xml:64(refname) -msgid "suauth" -msgstr "" - -#: suauth.5.xml:58(manvolnum) shadow.5.xml:58(manvolnum) -#: pwck.8.xml:340(replaceable) porttime.5.xml:58(manvolnum) -#: passwd.5.xml:58(manvolnum) passwd.1.xml:478(replaceable) -#: login.defs.5.xml:127(manvolnum) login.access.5.xml:59(manvolnum) -#: limits.5.xml:60(manvolnum) gshadow.5.xml:47(manvolnum) -#: grpck.8.xml:290(replaceable) faillog.5.xml:58(manvolnum) -msgid "5" -msgstr "5" - -#: suauth.5.xml:59(refmiscinfo) shadow.5.xml:59(refmiscinfo) -#: porttime.5.xml:59(refmiscinfo) passwd.5.xml:59(refmiscinfo) -#: login.defs.5.xml:128(refmiscinfo) login.access.5.xml:60(refmiscinfo) -#: limits.5.xml:61(refmiscinfo) gshadow.5.xml:48(refmiscinfo) -#: faillog.5.xml:59(refmiscinfo) -msgid "File Formats and Conversions" -msgstr "" - -#: suauth.5.xml:65(refpurpose) -msgid "detailed su control file" -msgstr "" - -#: suauth.5.xml:70(command) suauth.5.xml:196(filename) -msgid "/etc/suauth" -msgstr "/etc/suauth" - -#: suauth.5.xml:76(para) -msgid "" -"The file /etc/suauth is referenced whenever the su " -"command is called. It can change the behaviour of the su command, based upon:" -msgstr "" - -#. .RS -#: suauth.5.xml:83(literallayout) -#, no-wrap -msgid "" -"\n" -" 1) the user su is targeting\n" -" " -msgstr "" - -#. .fi -#: suauth.5.xml:87(para) -msgid "" -"2) the user executing the su command (or any groups he might be a member of)" -msgstr "" - -#: suauth.5.xml:92(para) -msgid "" -"The file is formatted like this, with lines starting with a # being treated " -"as comment lines and ignored;" -msgstr "" - -#: suauth.5.xml:97(literallayout) -#, no-wrap -msgid "" -"\n" -" to-id:from-id:ACTION\n" -" " -msgstr "" - -#: suauth.5.xml:101(para) -msgid "" -"Where to-id is either the word ALL, a list of usernames " -"delimited by \",\" or the words ALL EXCEPT followed by " -"a list of usernames delimited by \",\"." -msgstr "" - -#: suauth.5.xml:107(para) -msgid "" -"from-id is formatted the same as to-id except the extra word " -"GROUP is recognized. ALL EXCEPT GROUP is perfectly valid too. Following GROUP " -"appears one or more group names, delimited by \",\". It is not sufficient to " -"have primary group id of the relevant group, an entry in " -"/etc/group5 is necessary." -msgstr "" - -#: suauth.5.xml:118(para) -msgid "Action can be one only of the following currently supported options." -msgstr "" - -#: suauth.5.xml:124(emphasis) -msgid "DENY" -msgstr "" - -#: suauth.5.xml:127(para) -msgid "The attempt to su is stopped before a password is even asked for." -msgstr "" - -#: suauth.5.xml:134(emphasis) -msgid "NOPASS" -msgstr "" - -#: suauth.5.xml:137(para) -msgid "" -"The attempt to su is automatically successful; no password is asked for." -msgstr "" - -#: suauth.5.xml:145(emphasis) -msgid "OWNPASS" -msgstr "" - -#: suauth.5.xml:148(para) -msgid "" -"For the su command to be successful, the user must enter his or her own " -"password. They are told this." -msgstr "" - -#: suauth.5.xml:156(para) -msgid "" -"Note there are three separate fields delimited by a colon. No whitespace " -"must surround this colon. Also note that the file is examined sequentially " -"line by line, and the first applicable rule is used without examining the " -"file further. This makes it possible for a system administrator to exercise " -"as fine control as he or she wishes." -msgstr "" - -#: suauth.5.xml:166(title) -msgid "EXAMPLE" -msgstr "" - -#: suauth.5.xml:167(literallayout) -#, no-wrap -msgid "" -"\n" -" # sample /etc/suauth file\n" -" #\n" -" # A couple of privileged usernames may\n" -" # su to root with their own password.\n" -" #\n" -" root:chris,birddog:OWNPASS\n" -" #\n" -" # Anyone else may not su to root unless in\n" -" # group wheel. This is how BSD does things.\n" -" #\n" -" root:ALL EXCEPT GROUP wheel:DENY\n" -" #\n" -" # Perhaps terry and birddog are accounts\n" -" # owned by the same person.\n" -" # Access can be arranged between them\n" -" # with no password.\n" -" #\n" -" terry:birddog:NOPASS\n" -" birddog:terry:NOPASS\n" -" #\n" -" " -msgstr "" - -#: suauth.5.xml:203(title) pwconv.8.xml:216(title) login.defs.5.xml:535(title) -msgid "BUGS" -msgstr "" - -#: suauth.5.xml:204(para) -msgid "" -"There could be plenty lurking. The file parser is particularly unforgiving " -"about syntax errors, expecting no spurious whitespace (apart from beginning " -"and end of lines), and a specific token delimiting different things." -msgstr "" - -#: suauth.5.xml:213(title) shadow.3.xml:208(title) -msgid "DIAGNOSTICS" -msgstr "" - -#: suauth.5.xml:214(para) -msgid "" -"An error parsing the file is reported using " -"syslogd8 as level ERR on facility AUTH." -msgstr "" - -#: suauth.5.xml:223(para) -msgid "" -"su1." -msgstr "" - -#: su.1.xml:58(contrib) shadow.5.xml:41(contrib) shadow.3.xml:41(contrib) -#: porttime.5.xml:41(contrib) passwd.5.xml:41(contrib) passwd.1.xml:48(contrib) -#: login.1.xml:74(contrib) faillog.8.xml:41(contrib) faillog.5.xml:41(contrib) -msgid "Creation, 1989" -msgstr "" - -#: su.1.xml:74(refentrytitle) su.1.xml:81(refname) su.1.xml:86(command) -#: login.defs.5.xml:460(term) -msgid "su" -msgstr "" - -#: su.1.xml:76(refmiscinfo) sg.1.xml:60(refmiscinfo) -#: passwd.1.xml:66(refmiscinfo) newgrp.1.xml:60(refmiscinfo) -#: login.1.xml:92(refmiscinfo) groups.1.xml:59(refmiscinfo) -#: gpasswd.1.xml:64(refmiscinfo) expiry.1.xml:63(refmiscinfo) -#: chsh.1.xml:62(refmiscinfo) chfn.1.xml:62(refmiscinfo) -#: chage.1.xml:60(refmiscinfo) -msgid "User Commands" -msgstr "" - -#: su.1.xml:82(refpurpose) -msgid "change user ID or become superuser" -msgstr "" - -#: su.1.xml:91(replaceable) sg.1.xml:72(arg) newgrp.1.xml:71(arg) -msgid "-" -msgstr "" - -#: su.1.xml:94(replaceable) login.1.xml:107(replaceable) -#: login.1.xml:115(replaceable) -msgid "username" -msgstr "" - -#: su.1.xml:96(replaceable) -msgid "args" -msgstr "" - -#: su.1.xml:104(para) -msgid "" -"The su command is used to become another user during a " -"login session. Invoked without a , su defaults to becoming the superuser. The option " -"may be used to provide an environment similar to what the user would expect " -"had the user logged in directly. The option may be used " -"to treat the next argument as a command by most shells." -msgstr "" - -#: su.1.xml:114(para) -msgid "" -"Options are recognized everywhere in the argument list. You can use the " -" argument to stop option parsing. The " -"option is special: it is also recognized after , but has " -"to be placed before ." -msgstr "" - -#: su.1.xml:122(para) -msgid "" -"The user will be prompted for a password, if appropriate. Invalid passwords " -"will produce an error message. All attempts, both valid and invalid, are " -"logged to detect abuse of the system." -msgstr "" -"Brugeren vil blive spurgt om sin adgangskode, hvis det er relevant. Ugyldige " -"adgangskoder vil medføre en fejlbesked. Alle forsøg, både gyldige og " -"ugyldige, logges for at deteketere misbrug af systemet." - -#: su.1.xml:127(para) -msgid "" -"The current environment is passed to the new shell. The value of " -"$PATH is reset to /bin:/usr/bin for normal " -"users, or /sbin:/bin:/usr/sbin:/usr/bin for the " -"superuser. This may be changed with the and " -" definitions in /etc/login.defs." -msgstr "" - -#: su.1.xml:136(para) login.1.xml:188(para) -msgid "" -"A subsystem login is indicated by the presence of a \"*\" as the first " -"character of the login shell. The given home directory will be used as the " -"root of a new file system which the user is actually logged into." -msgstr "" - -#: su.1.xml:145(para) -msgid "The options which apply to the su command are:" -msgstr "" - -#: su.1.xml:149(term) -msgid "" -",  COMMAND" -msgstr "" - -#: su.1.xml:153(para) -msgid "" -"Specify a command that will be invoked by the shell using its , , " -msgstr "" - -#: su.1.xml:171(para) -msgid "" -"Provide an environment similar to what the user would expect had the user " -"logged in directly." -msgstr "" - -#: su.1.xml:175(para) -msgid "" -"When is used, it must be specified before any " -". For portability it is recommended to use it as " -"last option, before any . The other forms ( and ) do not have this restriction." -msgstr "" - -#: su.1.xml:190(para) -msgid "The shell that will be invoked." -msgstr "" - -#: su.1.xml:198(para) -msgid "The shell specified with --shell." -msgstr "Skallen angivet med --shell." - -#: su.1.xml:201(para) -msgid "" -"If is used, the shell specified by " -"the $SHELL environment variable." -msgstr "" - -#: su.1.xml:208(para) -msgid "" -"The shell indicated in the /etc/passwd entry for the " -"target user." -msgstr "" - -#: su.1.xml:214(para) -msgid "" -"/bin/sh if a shell could not be found by any above " -"method." -msgstr "" - -#: su.1.xml:191(para) -msgid "" -"The invoked shell is chosen from (highest priority first): " -msgstr "" - -#: su.1.xml:219(para) -msgid "" -"If the target user has a restricted shell (i.e. the shell field of this " -"user's entry in /etc/passwd is not listed in /" -"etc/shells), then the option or the " -"$SHELL environment variable won't be taken into account, " -"unless su is called by root." -msgstr "" - -#: su.1.xml:230(term) -msgid "" -", , or (see below);" -msgstr "" - -#: su.1.xml:250(envar) -msgid "$IFS" -msgstr "" - -#: su.1.xml:252(para) -msgid "" -"reset to <space><tab><newline>, if it was " -"set." -msgstr "" - -#: su.1.xml:235(para) -msgid "Preserve the current environment, except for: " -msgstr "" - -#: su.1.xml:261(para) -msgid "" -"If the target user has a restricted shell, this option has no effect (unless " -"su is called by root)." -msgstr "" -"Hvis målbrugeren har en begrænset skal, så har dette tilvalg ingen effekt " -"(med mindre su kaldes af root)." - -#: su.1.xml:270(para) -msgid "" -"The $HOME, $SHELL, $USER, " -"$LOGNAME, $PATH, and $IFS " -"environment variables are reset." -msgstr "" - -#: su.1.xml:279(para) -msgid "" -"If is not used, the environment is copied, except " -"for the variables above." -msgstr "" - -#: su.1.xml:286(para) -msgid "" -"If is used, the $TERM, " -"$COLORTERM, $DISPLAY, and $XAUTHORITY " -"environment variables are copied if they were set." -msgstr "" - -#: su.1.xml:296(para) -msgid "" -"If is used, the $TZ, $HZ, and $MAIL environment variables are set according to " -"the /etc/login.defs options , " -", , and is used, other environment variables might be " -"set by the file (see below)." -msgstr "" - -#: su.1.xml:317(para) -msgid "Other environments might be set by PAM modules." -msgstr "" - -#: su.1.xml:265(para) -msgid "" -"Note that the default behavior for the environment is the following: " -"" -msgstr "" - -#: su.1.xml:331(para) -msgid "" -"This version of su has many compilation options, only " -"some of which may be in use at any particular site." -msgstr "" - -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"If defined, either full pathname of a file containing device names (one per " -"line) or a \":\" delimited list of device names. Root logins will be allowed " -"only upon these devices." -msgstr "" - -#: su.1.xml:39(para) login.defs.5.xml:39(para) login.1.xml:39(para) -msgid "If not defined, root will be allowed on any device." -msgstr "" -"Hvis ikke defineret så vil administrator (root) være tilladt på alle enheder" - -#: su.1.xml:42(para) login.defs.5.xml:42(para) login.1.xml:42(para) -msgid "The device should be specified without the /dev/ prefix." -msgstr "Enheden skal angives uden præfikset /dev/." - -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"List of groups to add to the user's supplementary groups set when logging in " -"on the console (as determined by the CONSOLE setting). Default is none. " -" Use with caution - it is possible for users to gain " -"permanent access to these groups, even when not logged in on the console." -msgstr "" - -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (boolean)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"Indicate if login is allowed if we can't cd to the home directory. Default " -"is no." -msgstr "" -"Indiker om logind er tilladt, hvis vi ikke kan cd til hjemmemappen. " -"Standarden er nej." - -#: su.1.xml:38(para) login.defs.5.xml:38(para) login.1.xml:38(para) -msgid "" -"If set to yes, the user will login in the root " -"(/) directory if it is not possible to cd to her home " -"directory." -msgstr "" - -#. XXX: When compiled with PAM support, only sulogin uses ENV_HZ -#: su.1.xml:33(term) login.defs.5.xml:33(term) login.1.xml:33(term) -msgid " (string)" +#| msgid " (string)" +msgid "<_:option-1/> (string)" msgstr " (streng)" -#: su.1.xml:35(para) login.defs.5.xml:35(para) login.1.xml:35(para) +#. (itstool) path: para/emphasis +#: chfn.1.xml.out:12 login.defs.5.xml.out:12 +msgid "gecos" +msgstr "" + +#. (itstool) path: para/replaceable +#: chfn.1.xml.out:15 login.defs.5.xml.out:15 +#, fuzzy +#| msgid "-f" +msgid "f" +msgstr "-f" + +#. (itstool) path: para/replaceable +#: chfn.1.xml.out:16 login.defs.5.xml.out:16 +#, fuzzy +#| msgid "-r" +msgid "r" +msgstr "-r" + +#. (itstool) path: para/replaceable +#: chfn.1.xml.out:16 login.defs.5.xml.out:16 +msgid "w" +msgstr "" + +#. (itstool) path: para/replaceable +#: chfn.1.xml.out:17 login.defs.5.xml.out:17 +msgid "h" +msgstr "" + +#. (itstool) path: para/replaceable +#: chfn.1.xml.out:20 login.defs.5.xml.out:20 +msgid "rwh" +msgstr "" + +#. (itstool) path: para/replaceable +#. (itstool) path: para/emphasis +#: chfn.1.xml.out:20 chgpasswd.8.xml.out:16 chgpasswd.8.xml.out:18 +#: chpasswd.8.xml.out:16 chpasswd.8.xml.out:18 gpasswd.1.xml.out:16 +#: gpasswd.1.xml.out:18 grpck.8.xml.out:143 login.defs.5.xml.out:134 +#: login.defs.5.xml.out:136 login.defs.5.xml.out:20 login.defs.5.xml.out:16 +#: login.defs.5.xml.out:18 newusers.8.xml.out:16 newusers.8.xml.out:18 +#: passwd.1.xml.out:16 passwd.1.xml.out:18 useradd.8.xml.out:231 +#: useradd.8.xml.out:601 +msgid "no" +msgstr "" + +#. (itstool) path: para/replaceable +#: chfn.1.xml.out:21 login.defs.5.xml.out:21 +msgid "frwh" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:10 login.defs.5.xml.out:10 msgid "" -"If set, it will be used to define the HZ environment variable when a user " -"login. The value must be preceded by HZ=. A " -"common value on Linux is HZ=100." +"This parameter specifies which values in the <_:emphasis-1/> field of the <_:" +"filename-2/> file may be changed by regular users using the <_:command-3/> " +"program. It can be any combination of letters <_:replaceable-4/>, <_:" +"replaceable-5/>, <_:replaceable-6/>, <_:replaceable-7/>, for Full name, Room " +"number, Work phone, and Home phone, respectively. For backward " +"compatibility, <_:replaceable-8/> is equivalent to <_:replaceable-9/> and <_:" +"replaceable-10/> is equivalent to <_:replaceable-11/>. If not specified, " +"only the superuser can make any changes. The most restrictive setting is " +"better achieved by not installing <_:command-12/> SUID." msgstr "" -#: su.1.xml:41(para) login.defs.5.xml:41(para) login.1.xml:41(para) -msgid "" -"The HZ environment variable is only set when the user (the " -"superuser) logs in with sulogin." -msgstr "" +#. (itstool) path: term/option +#. (itstool) path: para/phrase +#: chfn.1.xml.out:8 chsh.1.xml.out:8 login.1.xml.out:8 login.defs.5.xml.out:8 +#: login.defs.5.xml.out:244 login.defs.5.xml.out:359 su.1.xml.out:8 +#, fuzzy +#| msgid "user LIMITS_STRING" +msgid "LOGIN_STRING" +msgstr "bruger LIMITS_STRING" -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"If this file exists and is readable, login environment will be read from it. " -"Every line should be in the form name=value." -msgstr "" - -#: su.1.xml:38(para) login.defs.5.xml:38(para) login.1.xml:38(para) -msgid "Lines starting with a # are treated as comment lines and ignored." -msgstr "" - -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"If set, it will be used to define the PATH environment variable when a " -"regular user login. The value is a colon separated list of paths (for " -"example /bin:/usr/bin) and can be preceded by " -"PATH=. The default value is PATH=/" -"bin:/usr/bin." -msgstr "" - -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"If set, it will be used to define the PATH environment variable when the " -"superuser login. The value is a colon separated list of paths (for example " -"/sbin:/bin:/usr/sbin:/usr/bin) and can be " -"preceded by PATH=. The default value is " -"PATH=/sbin:/bin:/usr/sbin:/usr/bin." -msgstr "" - -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "" -"If set, it will be used to define the TZ environment variable when a user " -"login. The value can be the name of a timezone preceded by TZ= (for example TZ=CST6CDT), or the " -"full path to the file containing the timezone specification (for example " -"/etc/tzname)." -msgstr "" - -#. TODO: it can in fact be used to set any other variable -#: su.1.xml:43(para) login.defs.5.xml:43(para) login.1.xml:43(para) -msgid "" -"If a full path is specified but the file does not exist or cannot be read, " -"the default is to use TZ=CST6CDT." -msgstr "" - -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -#: chsh.1.xml:32(term) chfn.1.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -#: chsh.1.xml:34(para) chfn.1.xml:34(para) +#. (itstool) path: listitem/para +#: chfn.1.xml.out:10 chsh.1.xml.out:10 login.1.xml.out:10 +#: login.defs.5.xml.out:10 su.1.xml.out:10 msgid "" "The string used for prompting a password. The default is to use \"Password: " "\", or a translation of that string. If you set this variable, the prompt " "will not be translated." msgstr "" -#: su.1.xml:39(para) login.defs.5.xml:39(para) login.1.xml:39(para) -#: chsh.1.xml:39(para) chfn.1.xml:39(para) +#. (itstool) path: para/replaceable +#: chfn.1.xml.out:16 chsh.1.xml.out:16 login.1.xml.out:16 +#: login.defs.5.xml.out:16 su.1.xml.out:16 +msgid "%s" +msgstr "" + +#. (itstool) path: listitem/para +#: chfn.1.xml.out:15 chsh.1.xml.out:15 login.1.xml.out:15 +#: login.defs.5.xml.out:15 su.1.xml.out:15 msgid "" -"If the string contains %s, this will be replaced " -"by the user's name." +"If the string contains <_:replaceable-1/>, this will be replaced by the " +"user's name." msgstr "" -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (boolean)" +#. (itstool) path: listitem/para +#: chfn.1.xml.out:188 chgpasswd.8.xml.out:206 chpasswd.8.xml.out:248 +#: chsh.1.xml.out:160 groupadd.8.xml.out:259 groupmod.8.xml.out:240 +#: login.1.xml.out:367 login.access.5.xml.out:102 newusers.8.xml.out:424 +#: passwd.1.xml.out:406 pwconv.8.xml.out:231 su.1.xml.out:359 +#: useradd.8.xml.out:754 userdel.8.xml.out:192 usermod.8.xml.out:560 +msgid "Shadow password suite configuration." msgstr "" -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) -msgid "Enable checking and display of mailbox status upon login." +#. (itstool) path: citerefentry/refentrytitle +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#. (itstool) path: cmdsynopsis/command +#. (itstool) path: para/command +#. (itstool) path: varlistentry/term +#: chfn.1.xml.out:204 chsh.1.xml.out:36 chsh.1.xml.out:43 chsh.1.xml.out:49 +#: chsh.1.xml.out:62 chsh.1.xml.out:73 chsh.1.xml.out:108 chsh.1.xml.out:11 +#: groupadd.8.xml.out:338 groupdel.8.xml.out:207 groupmems.8.xml.out:211 +#: groupmod.8.xml.out:328 login.defs.5.xml.out:11 login.defs.5.xml.out:270 +#: useradd.8.xml.out:836 userdel.8.xml.out:312 usermod.8.xml.out:597 +msgid "chsh" msgstr "" -#: su.1.xml:37(para) login.defs.5.xml:37(para) login.1.xml:37(para) +#. (itstool) path: citerefentry/refentrytitle +#. (itstool) path: para/filename +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#: chfn.1.xml.out:207 chgpasswd.8.xml.out:222 chpasswd.8.xml.out:271 +#: chsh.1.xml.out:173 groupadd.8.xml.out:174 groupadd.8.xml.out:353 +#: groupmod.8.xml.out:343 login.1.xml.out:389 login.defs.5.xml.out:102 +#: login.defs.5.xml.out:109 newusers.8.xml.out:298 newusers.8.xml.out:452 +#: passwd.1.xml.out:483 pwconv.8.xml.out:92 pwconv.8.xml.out:94 +#: pwconv.8.xml.out:108 pwconv.8.xml.out:244 su.1.xml.out:418 +#: useradd.8.xml.out:854 userdel.8.xml.out:117 userdel.8.xml.out:318 +#: usermod.8.xml.out:618 vipw.8.xml.out:213 +msgid "login.defs" +msgstr "" + +#. (itstool) path: refsect1/para +#: chfn.1.xml.out:202 chgpasswd.8.xml.out:214 chsh.1.xml.out:168 +#: limits.5.xml.out:183 +msgid "<_:citerefentry-1/>, <_:citerefentry-2/>, <_:citerefentry-3/>." +msgstr "" + +#. (itstool) path: author/contrib +#: chgpasswd.8.xml.out:23 +msgid "Creation, 2006" +msgstr "" + +#. (itstool) path: refmeta/refentrytitle +#. (itstool) path: refnamediv/refname +#. (itstool) path: cmdsynopsis/command +#. (itstool) path: para/command +#. (itstool) path: varlistentry/term +#: chgpasswd.8.xml.out:33 chgpasswd.8.xml.out:40 chgpasswd.8.xml.out:46 +#: chgpasswd.8.xml.out:56 chgpasswd.8.xml.out:66 chgpasswd.8.xml.out:83 +#: login.defs.5.xml.out:249 +msgid "chgpasswd" +msgstr "" + +#. (itstool) path: refmeta/manvolnum +#. (itstool) path: citerefentry/manvolnum +#. (itstool) path: term/replaceable +#: chgpasswd.8.xml.out:34 chgpasswd.8.xml.out:219 chpasswd.8.xml.out:38 +#: chpasswd.8.xml.out:267 chpasswd.8.xml.out:275 faillog.5.xml.out:87 +#: faillog.8.xml.out:34 gpasswd.1.xml.out:279 gpasswd.1.xml.out:282 +#: gpasswd.1.xml.out:285 gpasswd.1.xml.out:288 groupadd.8.xml.out:37 +#: groupadd.8.xml.out:344 groupadd.8.xml.out:347 groupadd.8.xml.out:350 +#: groupadd.8.xml.out:356 groupadd.8.xml.out:359 groupadd.8.xml.out:362 +#: groupdel.8.xml.out:35 groupdel.8.xml.out:185 groupdel.8.xml.out:213 +#: groupdel.8.xml.out:216 groupdel.8.xml.out:219 groupdel.8.xml.out:222 +#: groupdel.8.xml.out:225 groupdel.8.xml.out:228 groupmems.8.xml.out:38 +#: groupmems.8.xml.out:217 groupmems.8.xml.out:220 groupmems.8.xml.out:223 +#: groupmems.8.xml.out:226 groupmems.8.xml.out:229 groupmod.8.xml.out:35 +#: groupmod.8.xml.out:334 groupmod.8.xml.out:337 groupmod.8.xml.out:340 +#: groupmod.8.xml.out:346 groupmod.8.xml.out:349 groupmod.8.xml.out:352 +#: grpck.8.xml.out:34 grpck.8.xml.out:282 grpck.8.xml.out:293 +#: gshadow.5.xml.out:159 gshadow.5.xml.out:162 lastlog.8.xml.out:36 +#: login.1.xml.out:174 login.1.xml.out:176 login.1.xml.out:249 +#: login.1.xml.out:251 login.1.xml.out:401 login.defs.5.xml.out:545 +#: logoutd.8.xml.out:34 newusers.8.xml.out:50 newusers.8.xml.out:466 +#: nologin.8.xml.out:23 passwd.1.xml.out:473 passwd.1.xml.out:487 +#: passwd.5.xml.out:185 passwd.5.xml.out:188 passwd.5.xml.out:191 +#: passwd.5.xml.out:200 pwck.8.xml.out:41 pwck.8.xml.out:338 pwck.8.xml.out:347 +#: pwconv.8.xml.out:40 pwconv.8.xml.out:241 pwconv.8.xml.out:247 +#: pwconv.8.xml.out:250 pwconv.8.xml.out:253 shadow.5.xml.out:274 +#: shadow.5.xml.out:277 shadow.5.xml.out:280 shadow.5.xml.out:286 +#: suauth.5.xml.out:192 useradd.8.xml.out:53 useradd.8.xml.out:845 +#: useradd.8.xml.out:848 useradd.8.xml.out:851 useradd.8.xml.out:857 +#: useradd.8.xml.out:868 useradd.8.xml.out:871 userdel.8.xml.out:40 +#: userdel.8.xml.out:258 userdel.8.xml.out:321 userdel.8.xml.out:324 +#: userdel.8.xml.out:327 userdel.8.xml.out:330 userdel.8.xml.out:341 +#: userdel.8.xml.out:344 usermod.8.xml.out:41 usermod.8.xml.out:606 +#: usermod.8.xml.out:609 usermod.8.xml.out:612 usermod.8.xml.out:615 +#: usermod.8.xml.out:629 usermod.8.xml.out:632 vipw.8.xml.out:36 +msgid "8" +msgstr "8" + +#. (itstool) path: refmeta/refmiscinfo +#: chgpasswd.8.xml.out:35 chpasswd.8.xml.out:39 faillog.8.xml.out:35 +#: groupadd.8.xml.out:38 groupdel.8.xml.out:36 groupmems.8.xml.out:39 +#: groupmod.8.xml.out:36 grpck.8.xml.out:35 lastlog.8.xml.out:37 +#: logoutd.8.xml.out:35 newusers.8.xml.out:51 nologin.8.xml.out:24 +#: pwck.8.xml.out:42 pwconv.8.xml.out:41 useradd.8.xml.out:54 +#: userdel.8.xml.out:41 usermod.8.xml.out:42 vipw.8.xml.out:37 +msgid "System Management Commands" +msgstr "Kommandoer for systemhåndtering" + +#. (itstool) path: refnamediv/refpurpose +#: chgpasswd.8.xml.out:41 +msgid "update group passwords in batch mode" +msgstr "" + +#. (itstool) path: refsect1/para +#: chgpasswd.8.xml.out:55 msgid "" -"You should disable it if the shell startup files already check for mail " -"(\"mailx -e\" or equivalent)." +"The <_:command-1/> command reads a list of group name and password pairs " +"from standard input and uses this information to update a set of existing " +"groups. Each line is of the format:" msgstr "" -#: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) -msgid " (boolean)" +#. (itstool) path: para/emphasis +#. (itstool) path: arg/replaceable +#. (itstool) path: term/replaceable +#: chgpasswd.8.xml.out:61 groupmems.8.xml.out:54 groupmems.8.xml.out:110 +msgid "group_name" msgstr "" -#: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) +#. (itstool) path: para/emphasis +#: chgpasswd.8.xml.out:62 chpasswd.8.xml.out:66 passwd.5.xml.out:77 +#: passwd.5.xml.out:86 passwd.5.xml.out:91 passwd.5.xml.out:95 +#: passwd.5.xml.out:98 +#, fuzzy +#| msgid "/etc/passwd" +msgid "password" +msgstr "/etc/passwd" + +#. (itstool) path: refsect1/para +#: chgpasswd.8.xml.out:60 chpasswd.8.xml.out:64 +msgid "<_:emphasis-1/>:<_:emphasis-2/>" +msgstr "" + +#. (itstool) path: refsect1/para +#: chgpasswd.8.xml.out:64 msgid "" -"Enable setting of resource limits from /etc/limits and " -"ulimit, umask, and niceness from the user's passwd gecos field." +"By default the supplied password must be in clear-text, and is encrypted by " +"<_:command-1/>." msgstr "" -#: su.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (string)" +#. (itstool) path: para/option +#. (itstool) path: term/option +#: chgpasswd.8.xml.out:70 chgpasswd.8.xml.out:6 chgpasswd.8.xml.out:21 +#: chgpasswd.8.xml.out:27 chgpasswd.8.xml.out:10 chpasswd.8.xml.out:75 +#: chpasswd.8.xml.out:132 chpasswd.8.xml.out:6 chpasswd.8.xml.out:21 +#: chpasswd.8.xml.out:27 chpasswd.8.xml.out:10 gpasswd.1.xml.out:6 +#: gpasswd.1.xml.out:21 gpasswd.1.xml.out:27 gpasswd.1.xml.out:10 +#: login.defs.5.xml.out:6 login.defs.5.xml.out:21 login.defs.5.xml.out:27 +#: login.defs.5.xml.out:10 newusers.8.xml.out:6 newusers.8.xml.out:21 +#: newusers.8.xml.out:27 newusers.8.xml.out:10 passwd.1.xml.out:129 +#: passwd.1.xml.out:6 passwd.1.xml.out:21 passwd.1.xml.out:27 +#: passwd.1.xml.out:10 +msgid "ENCRYPT_METHOD" msgstr "" -#: su.1.xml:34(para) login.defs.5.xml:34(para) -msgid "If defined, all su activity is logged to this file." +#. (itstool) path: para/option +#. (itstool) path: term/option +#: chgpasswd.8.xml.out:71 chgpasswd.8.xml.out:101 chpasswd.8.xml.out:78 +#: chpasswd.8.xml.out:84 chpasswd.8.xml.out:130 chpasswd.8.xml.out:139 +#: passwd.1.xml.out:180 useradd.8.xml.out:179 useradd.8.xml.out:567 +#: usermod.8.xml.out:129 +msgid "-e" msgstr "" -#: su.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (string)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) -msgid "" -"If defined, the command name to display when running \"su -\". For example, " -"if this is defined as \"su\" then a \"ps\" will display the command is \"-su" -"\". If not defined, then \"ps\" would display the name of the shell actually " -"being run, e.g. something like \"-sh\"." -msgstr "" - -#: su.1.xml:33(term) login.defs.5.xml:33(term) -msgid " (boolean)" -msgstr "" - -#: su.1.xml:35(para) login.defs.5.xml:35(para) -msgid "" -"If yes, the user must be listed as a member of " -"the first gid 0 group in /etc/group (called " -"root on most Linux systems) to be able to " -"su to uid 0 accounts. If the group doesn't exist or is " -"empty, no one will be able to su to uid 0." -msgstr "" - -#: su.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (boolean)" -msgstr "" - -#: su.1.xml:34(para) login.defs.5.xml:34(para) -msgid "" -"Enable \"syslog\" logging of su activity - in addition to " -"sulog file logging." -msgstr "" - -#: su.1.xml:391(para) -msgid "" -"On success, su returns the exit value of the command it " -"executed." -msgstr "" - -#: su.1.xml:395(para) -msgid "" -"If this command was terminated by a signal, su returns " -"the number of this signal plus 128." -msgstr "" - -#: su.1.xml:399(para) -msgid "" -"If su has to kill the command (because it was asked to terminate, and the " -"command did not terminate in time), su returns 255." -msgstr "" - -#: su.1.xml:411(para) -msgid "success ( only)" -msgstr "" - -#: su.1.xml:417(para) -msgid "System or authentication failure" -msgstr "" - -#: su.1.xml:421(replaceable) -msgid "126" -msgstr "" - -#: su.1.xml:423(para) -msgid "The requested command was not found" -msgstr "" - -#: su.1.xml:427(replaceable) -msgid "127" -msgstr "" - -#: su.1.xml:429(para) -msgid "The requested command could not be executed" -msgstr "" - -#: su.1.xml:404(para) -msgid "" -"Some exit values from su are independent from the " -"executed command: " -msgstr "" - -#: su.1.xml:438(para) -msgid "" -"login1, login.defs5, " -"sg1, sh1." -msgstr "" - -#: sg.1.xml:58(refentrytitle) sg.1.xml:65(refname) sg.1.xml:71(command) -msgid "sg" -msgstr "" - -#: sg.1.xml:66(refpurpose) -msgid "execute command as different group ID" -msgstr "" - -#: sg.1.xml:74(arg) +#. (itstool) path: para/option +#. (itstool) path: term/option +#. (itstool) path: arg/arg +#: chgpasswd.8.xml.out:72 chgpasswd.8.xml.out:88 chpasswd.8.xml.out:78 +#: chpasswd.8.xml.out:84 chpasswd.8.xml.out:114 chpasswd.8.xml.out:129 +#: expiry.1.xml.out:60 expiry.1.xml.out:73 newusers.8.xml.out:268 +#: sg.1.xml.out:50 su.1.xml.out:86 su.1.xml.out:126 su.1.xml.out:131 +#: useradd.8.xml.out:139 usermod.8.xml.out:99 msgid "-c" msgstr "" -#: sg.1.xml:73(arg) -msgid "group command" -msgstr "" - -#: sg.1.xml:82(para) -msgid "" -"The sg command works similar to newgrp " -"but accepts a command. The command will be executed with the /bin/" -"sh shell. With most shells you may run sg " -"from, you need to enclose multi-word commands in quotes. Another difference " -"between newgrp and sg is that some " -"shells treat newgrp specially, replacing themselves with " -"a new instance of a shell that newgrp creates. This " -"doesn't happen with sg, so upon exit from a sg command you are returned to your previous group ID." -msgstr "" - -#: sg.1.xml:32(term) newgrp.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (boolean)" -msgstr "" - -#: sg.1.xml:34(para) newgrp.1.xml:34(para) login.defs.5.xml:34(para) -msgid "Enable \"syslog\" logging of sg activity." -msgstr "" - -#: sg.1.xml:141(para) -msgid "" -"id1, login1, " -"newgrp1, su1, gpasswd1, " -"group5, " -"gshadow5." -msgstr "" - -#: shadow.5.xml:57(refentrytitle) shadow.5.xml:64(refname) -#: shadow.3.xml:57(refentrytitle) shadow.3.xml:64(refname) -#: pwck.8.xml:85(replaceable) grpck.8.xml:75(replaceable) -msgid "shadow" -msgstr "" - -#: shadow.5.xml:65(refpurpose) -msgid "shadowed password file" -msgstr "" - -#: shadow.5.xml:70(para) -msgid "" -"shadow is a file which contains the password " -"information for the system's accounts and optional aging information." -msgstr "" - -#: shadow.5.xml:76(para) gshadow.5.xml:64(para) -msgid "" -"This file must not be readable by regular users if password security is to " -"be maintained." -msgstr "" - -#: shadow.5.xml:81(para) -msgid "" -"Each line of this file contains 9 fields, separated by colons (:), in the following order:" -msgstr "" - -#: shadow.5.xml:88(emphasis) passwd.5.xml:78(para) -msgid "login name" -msgstr "" - -#: shadow.5.xml:90(para) -msgid "It must be a valid account name, which exist on the system." -msgstr "" - -#: shadow.5.xml:96(emphasis) gshadow.5.xml:83(emphasis) -msgid "encrypted password" -msgstr "" - -#: shadow.5.xml:98(para) -msgid "" -"This field may be empty, in which case no passwords are required to " -"authenticate as the specified login name. However, some applications which " -"read the /etc/shadow file may decide not to permit any " -"access at all if the password field is empty." -msgstr "" - -#: shadow.5.xml:105(para) gshadow.5.xml:107(para) -msgid "" -"A password field which starts with an exclamation mark means that the " -"password is locked. The remaining characters on the line represent the " -"password field before the password was locked." -msgstr "" - -#: shadow.5.xml:111(para) passwd.5.xml:126(para) gshadow.5.xml:85(para) -msgid "" -"Refer to crypt3 for details on how this string is interpreted." -msgstr "" - -#: shadow.5.xml:116(para) passwd.5.xml:131(para) -msgid "" -"If the password field contains some string that is not a valid result of " -"crypt3, for instance ! or *, the user will not be able to use a unix " -"password to log in (but the user may log in the system by other means)." -msgstr "" - -#: shadow.5.xml:127(emphasis) -msgid "date of last password change" -msgstr "" - -#: shadow.5.xml:130(para) -msgid "" -"The date of the last password change, expressed as the number of days since " -"Jan 1, 1970 00:00 UTC." -msgstr "" - -#: shadow.5.xml:134(para) -msgid "" -"The value 0 has a special meaning, which is that the user should change her " -"password the next time she will log in the system." -msgstr "" - -#: shadow.5.xml:139(para) -msgid "An empty field means that password aging features are disabled." -msgstr "" - -#: shadow.5.xml:146(emphasis) -msgid "minimum password age" -msgstr "" - -#: shadow.5.xml:148(para) -msgid "" -"The minimum password age is the number of days the user will have to wait " -"before she will be allowed to change her password again." -msgstr "" - -#: shadow.5.xml:153(para) -msgid "An empty field and value 0 mean that there is no minimum password age." -msgstr "" - -#: shadow.5.xml:160(emphasis) -msgid "maximum password age" -msgstr "" - -#: shadow.5.xml:162(para) -msgid "" -"The maximum password age is the number of days after which the user will " -"have to change her password." -msgstr "" - -#: shadow.5.xml:166(para) -msgid "" -"After this number of days is elapsed, the password may still be valid. The " -"user should be asked to change her password the next time she will log in." -msgstr "" - -#: shadow.5.xml:171(para) -msgid "" -"An empty field means that there are no maximum password age, no password " -"warning period, and no password inactivity period (see below)." -msgstr "" - -#: shadow.5.xml:176(para) -msgid "" -"If the maximum password age is lower than the minimum password age, the user " -"cannot change her password." -msgstr "" - -#: shadow.5.xml:184(emphasis) -msgid "password warning period" -msgstr "" - -#: shadow.5.xml:187(para) -msgid "" -"The number of days before a password is going to expire (see the maximum " -"password age above) during which the user should be warned." -msgstr "" - -#: shadow.5.xml:192(para) -msgid "" -"An empty field and value 0 mean that there are no password warning period." -msgstr "" - -#: shadow.5.xml:200(emphasis) -msgid "password inactivity period" -msgstr "" - -#: shadow.5.xml:203(para) -msgid "" -"The number of days after a password has expired (see the maximum password " -"age above) during which the password should still be accepted (and the user " -"should update her password during the next login)." -msgstr "" - -#: shadow.5.xml:209(para) -msgid "" -"After expiration of the password and this expiration period is elapsed, no " -"login is possible for the user. The user should contact her administrator." -msgstr "" - -#: shadow.5.xml:214(para) -msgid "" -"An empty field means that there are no enforcement of an inactivity period." -msgstr "" - -#: shadow.5.xml:222(emphasis) -msgid "account expiration date" -msgstr "" - -#: shadow.5.xml:225(para) -msgid "" -"The date of expiration of the account, expressed as the number of days since " -"Jan 1, 1970 00:00 UTC." -msgstr "" - -#: shadow.5.xml:229(para) -msgid "" -"Note that an account expiration differs from a password expiration. In case " -"of an account expiration, the user shall not be allowed to login. In case of " -"a password expiration, the user is not allowed to login using her password." -msgstr "" - -#: shadow.5.xml:235(para) -msgid "An empty field means that the account will never expire." -msgstr "" - -#: shadow.5.xml:238(para) -msgid "" -"The value 0 should not be used as it is interpreted as either an account " -"with no expiration, or as an expiration on Jan 1, 1970." -msgstr "" - -#: shadow.5.xml:246(emphasis) -msgid "reserved field" -msgstr "" - -#: shadow.5.xml:248(para) -msgid "This field is reserved for future use." -msgstr "Dette felt er reserveret for fremtidig brug." - -#: shadow.5.xml:270(filename) -msgid "/etc/shadow-" -msgstr "/etc/shadow-" - -#: shadow.5.xml:272(para) -msgid "Backup file for /etc/shadow." -msgstr "Sikkerhedskopi for /etc/shadow." - -#: shadow.5.xml:273(para) passwd.5.xml:181(para) -msgid "" -"Note that this file is used by the tools of the shadow toolsuite, but not by " -"all user and password management tools." -msgstr "" -"Bemærk at denne fil bruges af værktøjer fra shodows værktøjssæt, men ikke af " -"alle håndteringsværktøjer for brugere og adgangskoder." - -#: shadow.5.xml:284(para) -msgid "" -"chage1, login1, " -"passwd1, passwd5, " -"pwck8, pwconv8, " -"pwunconv8, su1, " -"sulogin8." -msgstr "" - -#: shadow.3.xml:59(refmiscinfo) -msgid "Library Calls" -msgstr "" - -#: shadow.3.xml:65(refname) -msgid "getspnam" -msgstr "" - -#: shadow.3.xml:66(refpurpose) -msgid "encrypted password file routines" -msgstr "" - -#: shadow.3.xml:70(title) -msgid "SYNTAX" -msgstr "SYNTAKS" - -#: shadow.3.xml:72(emphasis) -msgid "#include <shadow.h>" -msgstr "" - -#: shadow.3.xml:76(emphasis) -msgid "struct spwd *getspent();" -msgstr "" - -#: shadow.3.xml:80(emphasis) -msgid "struct spwd *getspnam(char" -msgstr "" - -#: shadow.3.xml:81(emphasis) -msgid "*name" -msgstr "" - -#: shadow.3.xml:81(emphasis) shadow.3.xml:94(emphasis) -#: shadow.3.xml:99(emphasis) shadow.3.xml:105(emphasis) -msgid ");" -msgstr "" - -#: shadow.3.xml:85(emphasis) -msgid "void setspent();" -msgstr "" - -#: shadow.3.xml:89(emphasis) -msgid "void endspent();" -msgstr "" - -#: shadow.3.xml:93(emphasis) -msgid "struct spwd *fgetspent(FILE" -msgstr "" - -#: shadow.3.xml:94(emphasis) shadow.3.xml:105(emphasis) -msgid "*fp" -msgstr "" - -#: shadow.3.xml:98(emphasis) -msgid "struct spwd *sgetspent(char" -msgstr "" - -#: shadow.3.xml:99(emphasis) -msgid "*cp" -msgstr "" - -#: shadow.3.xml:103(emphasis) -msgid "int putspent(struct spwd" -msgstr "" - -#: shadow.3.xml:104(emphasis) -msgid "*p," -msgstr "" - -#: shadow.3.xml:104(emphasis) -msgid "FILE" -msgstr "" - -#: shadow.3.xml:109(emphasis) -msgid "int lckpwdf();" -msgstr "" - -#: shadow.3.xml:113(emphasis) -msgid "int ulckpwdf();" -msgstr "" - -#: shadow.3.xml:119(para) -msgid "" -"shadow manipulates the contents of the " -"shadow password file, /etc/shadow. The structure in the " -"#include file is:" -msgstr "" - -#: shadow.3.xml:124(programlisting) -#, no-wrap -msgid "" -"struct spwd {\n" -" char\t\t*sp_namp; /* user login name */\n" -" char\t\t*sp_pwdp; /* encrypted password */\n" -" long int\t\tsp_lstchg; /* last password change */\n" -" long int\t\tsp_min; /* days until change allowed. */\n" -" long int\t\tsp_max; /* days before change required */\n" -" long int\t\tsp_warn; /* days warning for expiration */\n" -" long int\t\tsp_inact; /* days before account inactive */\n" -" long int\t\tsp_expire; /* date when account expires */\n" -" unsigned long int\tsp_flag; /* reserved for future use */\n" -"}\n" -" " -msgstr "" - -#: shadow.3.xml:136(para) -msgid "The meanings of each field are:" -msgstr "" - -#: shadow.3.xml:139(para) -msgid "sp_namp - pointer to null-terminated user name" -msgstr "" - -#: shadow.3.xml:142(para) -msgid "sp_pwdp - pointer to null-terminated password" -msgstr "" - -#: shadow.3.xml:145(para) -msgid "sp_lstchg - days since Jan 1, 1970 password was last changed" -msgstr "" - -#: shadow.3.xml:148(para) -msgid "sp_min - days before which password may not be changed" -msgstr "sp_min - antal dage hvor adgangskode ikke må ændres" - -#: shadow.3.xml:151(para) -msgid "sp_max - days after which password must be changed" -msgstr "sp_max - antal dage hvorefter adgangskode skal ændres" - -#: shadow.3.xml:154(para) -msgid "" -"sp_warn - days before password is to expire that user is warned of pending " -"password expiration" -msgstr "" - -#: shadow.3.xml:159(para) -msgid "" -"sp_inact - days after password expires that account is considered inactive " -"and disabled" -msgstr "" - -#: shadow.3.xml:164(para) -msgid "sp_expire - days since Jan 1, 1970 when account will be disabled" -msgstr "" - -#: shadow.3.xml:167(para) -msgid "sp_flag - reserved for future use" -msgstr "sp_flag - reserveret for fremtidig brug" - -#: shadow.3.xml:175(para) -msgid "" -"getspent, getspname, " -"fgetspent, and sgetspent each " -"return a pointer to a struct spwd. getspent returns the next entry from the file, and fgetspent returns the next entry from the given stream, which is assumed to " -"be a file of the proper format. sgetspent returns a " -"pointer to a struct spwd using the provided string as " -"input. getspnam searches from the current position in " -"the file for an entry matching name." -msgstr "" - -#: shadow.3.xml:188(para) -msgid "" -"setspent and endspent may be used " -"to begin and end, respectively, access to the shadow password file." -msgstr "" - -#: shadow.3.xml:194(para) -msgid "" -"The lckpwdf and ulckpwdf routines " -"should be used to insure exclusive access to the /etc/shadow file. lckpwdf attempts to acquire a lock " -"using pw_lock for up to 15 seconds. It continues by " -"attempting to acquire a second lock using spw_lock for " -"the remainder of the initial 15 seconds. Should either attempt fail after a " -"total of 15 seconds, lckpwdf returns -1. When both " -"locks are acquired 0 is returned." -msgstr "" - -#: shadow.3.xml:209(para) -msgid "" -"Routines return NULL if no more entries are available or if an error occurs " -"during processing. Routines which have int as the " -"return value return 0 for success and -1 for failure." -msgstr "" - -#: shadow.3.xml:219(para) -msgid "" -"These routines may only be used by the superuser as access to the shadow " -"password file is restricted." -msgstr "" - -#: shadow.3.xml:239(para) -msgid "" -"getpwent3, shadow5." -msgstr "" - -#: pwconv.8.xml:63(refentrytitle) pwconv.8.xml:70(refname) -#: pwconv.8.xml:79(command) login.defs.5.xml:443(term) -msgid "pwconv" -msgstr "" - -#: pwconv.8.xml:71(refname) pwconv.8.xml:85(command) login.defs.5.xml:452(term) -msgid "pwunconv" -msgstr "" - -#: pwconv.8.xml:72(refname) pwconv.8.xml:91(command) login.defs.5.xml:348(term) -msgid "grpconv" -msgstr "" - -#: pwconv.8.xml:73(refname) pwconv.8.xml:97(command) login.defs.5.xml:354(term) -msgid "grpunconv" -msgstr "" - -#: pwconv.8.xml:74(refpurpose) -msgid "convert to and from shadow passwords and groups" -msgstr "" - -#: pwconv.8.xml:106(para) -msgid "" -"The pwconv command creates shadow from passwd and an optionally " -"existing shadow." -msgstr "" - -#: pwconv.8.xml:111(para) -msgid "" -"pwconv does not work with " -"enabled. To convert to tcb passwords, you should first use pwconv to convert to shadowed passwords by disabling " -"in login.defs.)" -msgstr "" - -#: pwconv.8.xml:121(para) -msgid "" -"The pwunconv command creates passwd from passwd and " -"shadow and then removes shadow." -msgstr "" - -#: pwconv.8.xml:127(para) -msgid "" -"pwunconv does not work with " -"enabled. You should first switch back from tcb to shadowed passwords using " -"tcb_unconvert, and then disable " -"in login.defs before using pwunconv." -msgstr "" - -#: pwconv.8.xml:136(para) -msgid "" -"The grpconv command creates gshadow from group and an " -"optionally existing gshadow." -msgstr "" - -#: pwconv.8.xml:142(para) -msgid "" -"The grpunconv command creates group from group and " -"gshadow and then removes gshadow." -msgstr "" - -#: pwconv.8.xml:149(para) -msgid "" -"These four programs all operate on the normal and shadow password and group " -"files: /etc/passwd, /etc/group, " -"/etc/shadow, and /etc/gshadow." -msgstr "" - -#: pwconv.8.xml:156(para) -msgid "" -"Each program acquires the necessary locks before conversion. " -"pwconv and grpconv are similar. First, " -"entries in the shadowed file which don't exist in the main file are removed. " -"Then, shadowed entries which don't have `x' as the password in the main file " -"are updated. Any missing shadowed entries are added. Finally, passwords in " -"the main file are replaced with `x'. These programs can be used for initial " -"conversion as well to update the shadowed file if the main file is edited by " -"hand." -msgstr "" - -#: pwconv.8.xml:167(para) -msgid "" -"pwconv will use the values of PASS_MIN_DAYS, PASS_MAX_DAYS, " -"and PASS_WARN_AGE from /etc/login." -"defs when adding new entries to /etc/shadow." -msgstr "" - -#: pwconv.8.xml:176(para) -msgid "" -"Likewise pwunconv and grpunconv are " -"similar. Passwords in the main file are updated from the shadowed file. " -"Entries which exist in the main file but not in the shadowed file are left " -"alone. Finally, the shadowed file is removed. Some password aging " -"information is lost by pwunconv. It will convert what it " -"can." -msgstr "" - -#: pwconv.8.xml:188(para) -msgid "" -"The options which apply to the pwconv, pwunconv, grpconv, and grpunconv " -"commands are:" -msgstr "" - -#: pwconv.8.xml:217(para) -msgid "" -"Errors in the password or group files (such as invalid or duplicate entries) " -"may cause these programs to loop forever or fail in other strange ways. " -"Please run pwck and grpck to correct " -"any such errors before converting to or from shadow passwords or groups." -msgstr "" - -#: pwconv.8.xml:228(para) -msgid "" -"The following configuration variable in /etc/login.defs " -"changes the behavior of grpconv and grpunconv:" -msgstr "" - -#: pwconv.8.xml:236(para) -msgid "" -"The following configuration variables in /etc/login.defs change the behavior of pwconv:" -msgstr "" - -#: pwconv.8.xml:263(para) -msgid "" -"grpck8, login.defs5, " -"pwck8, " -"tcb_convert8, tcb_unconvert8." -msgstr "" - -#: pwck.8.xml:48(contrib) lastlog.8.xml:43(contrib) grpck.8.xml:41(contrib) -msgid "Creation, 1992" -msgstr "" - -#: pwck.8.xml:64(refentrytitle) pwck.8.xml:71(refname) pwck.8.xml:77(command) -#: login.defs.5.xml:434(term) -msgid "pwck" -msgstr "" - -#: pwck.8.xml:72(refpurpose) -msgid "verify integrity of password files" -msgstr "" - -#: pwck.8.xml:81(replaceable) passwd.5.xml:57(refentrytitle) -#: passwd.5.xml:64(refname) passwd.1.xml:64(refentrytitle) -#: passwd.1.xml:71(refname) passwd.1.xml:77(command) login.defs.5.xml:423(term) -msgid "passwd" -msgstr "" - -#: pwck.8.xml:94(para) -msgid "" -"The pwck command verifies the integrity of the users and " -"authentication information. It checks that all entries in /etc/" -"passwd and /etc/shadow(or the files in /etc/tcb, when have the proper format and contain valid data. " -"The user is prompted to delete entries that are improperly formatted or " -"which have other uncorrectable errors." -msgstr "" - -#: pwck.8.xml:106(para) grpck.8.xml:93(para) -msgid "Checks are made to verify that each entry has:" -msgstr "" - -#: pwck.8.xml:109(para) grpck.8.xml:97(para) -msgid "the correct number of fields" -msgstr "" - -#: pwck.8.xml:112(para) -msgid "a unique and valid user name" -msgstr "" - -#: pwck.8.xml:115(para) -msgid "a valid user and group identifier" -msgstr "" - -#: pwck.8.xml:118(para) -msgid "a valid primary group" -msgstr "" - -#: pwck.8.xml:121(para) -msgid "a valid home directory" -msgstr "" - -#: pwck.8.xml:124(para) -msgid "a valid login shell" -msgstr "" - -#: pwck.8.xml:128(para) -msgid "" -"shadow checks are enabled when a second file parameter " -"is specified or when /etc/shadow exists on the system." -msgstr "" - -#: pwck.8.xml:133(para) -msgid "These checks are the following:" -msgstr "" - -#: pwck.8.xml:138(para) -msgid "" -"every passwd entry has a matching shadow entry, and every shadow entry has a " -"matching passwd entry" -msgstr "" - -#: pwck.8.xml:144(para) -msgid "passwords are specified in the shadowed file" -msgstr "" - -#: pwck.8.xml:147(para) -msgid "shadow entries have the correct number of fields" -msgstr "" - -#: pwck.8.xml:150(para) -msgid "shadow entries are unique in shadow" -msgstr "" - -#: pwck.8.xml:153(para) -msgid "the last password changes are not in the future" -msgstr "" - -#: pwck.8.xml:157(para) -msgid "" -"The checks for correct number of fields and unique user name are fatal. If " -"the entry has the wrong number of fields, the user will be prompted to " -"delete the entire line. If the user does not answer affirmatively, all " -"further checks are bypassed. An entry with a duplicated user name is " -"prompted for deletion, but the remaining checks will still be made. All " -"other errors are warning and the user is encouraged to run the " -"usermod command to correct the error." -msgstr "" - -#: pwck.8.xml:168(para) -msgid "" -"The commands which operate on the /etc/passwd file are " -"not able to alter corrupted or duplicated entries. pwck " -"should be used in those circumstances to remove the offending entry." -msgstr "" - -#: pwck.8.xml:178(para) grpck.8.xml:147(para) -msgid "" -"The and options cannot be combined." -msgstr "" - -#: pwck.8.xml:182(para) -msgid "The options which apply to the pwck command are:" -msgstr "" - -#: pwck.8.xml:205(para) -msgid "" -"Report errors only. The warnings which do not require any action from the " -"user won't be displayed." -msgstr "" - -#: pwck.8.xml:212(term) grpck.8.xml:162(term) -msgid ", " -msgstr "" - -#: pwck.8.xml:214(para) -msgid "Execute the pwck command in read-only mode." -msgstr "" - -#: pwck.8.xml:232(term) grpck.8.xml:184(term) -msgid ", " -msgstr "" - -#: pwck.8.xml:234(para) -msgid "" -"Sort entries in /etc/passwd and /etc/shadow by UID." -msgstr "" - -#: pwck.8.xml:238(para) -msgid "This option has no effect when is enabled." -msgstr "" - -#: pwck.8.xml:245(para) -msgid "" -"By default, pwck operates on the files /etc/" -"passwd and /etc/shadow (or the files in /etc/tcb). The user may " -"select alternate files with the passwd and " -"shadow parameters." -msgstr "" - -#: pwck.8.xml:254(para) -msgid "" -"Note that when is enabled, you cannot specify an " -"alternative shadow file. In future releases, this " -"parameter could be replaced by an alternate TCB directory." -msgstr "" - -#: pwck.8.xml:32(term) login.defs.5.xml:32(term) -#, fuzzy -#| msgid " (string)" -msgid " (string)" -msgstr " (streng)" - -#: pwck.8.xml:34(para) login.defs.5.xml:34(para) -msgid "" -"If a system account intentionally does not have a home directory that " -"exists, this string can be provided in the /etc/passwd entry for the account " -"to indicate this. The result is that pwck will not emit a spurious warning " -"for this account." -msgstr "" - -#: pwck.8.xml:324(para) -msgid "one or more bad password entries" -msgstr "" - -#: pwck.8.xml:330(para) -msgid "can't open password files" -msgstr "kan ikke åbne adgangskodefiler" - -#: pwck.8.xml:336(para) -msgid "can't lock password files" -msgstr "kan ikke låse adgangskodefiler" - -#: pwck.8.xml:342(para) -msgid "can't update password files" -msgstr "kan ikke opdatere adgangskodefiler" - -#: pwck.8.xml:348(para) -msgid "can't sort password files" -msgstr "kan ikke sortere adgangskodefiler" - -#: pwck.8.xml:306(para) -msgid "" -"The pwck command exits with the following values: " -"" -msgstr "" -"Kommandoen pwck findes med de følgende værdier: " -"" - -#: pwck.8.xml:357(para) -msgid "" -"group5, grpck8, " -"passwd5, shadow5, " -"usermod8." -msgstr "" - -#: porttime.5.xml:57(refentrytitle) porttime.5.xml:64(refname) -msgid "porttime" -msgstr "" - -#: porttime.5.xml:65(refpurpose) -msgid "port access time file" -msgstr "" - -#: porttime.5.xml:70(para) -msgid "" -"porttime contains a list of tty devices, " -"user names, and permitted login times." -msgstr "" - -#: porttime.5.xml:75(para) -msgid "" -"Each entry consists of three colon separated fields. The first field is a " -"comma separated list of tty devices, or an asterisk to indicate that all tty " -"devices are matched by this entry. The second field is a comma separated " -"list of user names, or an asterisk to indicated that all user names are " -"matched by this entry. The third field is a comma separated list of " -"permitted access times." -msgstr "" - -#: porttime.5.xml:84(para) -msgid "" -"Each access time entry consists of zero or more days of the week, " -"abbreviated Su, Mo, Tu, We, Th, Fr, and Sa, followed by a pair of times " -"separated by a hyphen. The abbreviation Wk may be used " -"to represent Monday thru Friday, and Al may be used to " -"indicate every day. If no days are given, Al is assumed." -msgstr "" - -#: porttime.5.xml:98(title) -msgid "EXAMPLES" -msgstr "EKSEMPLER" - -#: porttime.5.xml:99(para) -msgid "" -"The following entry allows access to user jfh on every port during weekdays from 9am to 5pm." -msgstr "" - -#: porttime.5.xml:105(para) -msgid "*:jfh:Wk0900-1700" -msgstr "" - -#: porttime.5.xml:107(para) -msgid "" -"The following entries allow access only to the users root and oper on /dev/console " -"at any time. This illustrates how the /etc/porttime " -"file is an ordered list of access times. Any other user would match the " -"second entry which does not permit access at any time." -msgstr "" - -#: porttime.5.xml:116(programlisting) -#, no-wrap -msgid "" -"\n" -" console:root,oper:Al0000-2400\n" -" console:*:\n" -" " -msgstr "" - -#: porttime.5.xml:121(para) -msgid "" -"The following entry allows access for the user games on " -"any port during non-working hours." -msgstr "" - -#: porttime.5.xml:126(para) -msgid "*:games:Wk1700-0900,SaSu0000-2400" -msgstr "" - -#: porttime.5.xml:133(filename) logoutd.8.xml:92(filename) -msgid "/etc/porttime" -msgstr "" - -#: porttime.5.xml:135(para) logoutd.8.xml:94(para) -msgid "File containing port access." -msgstr "" - -#: porttime.5.xml:143(para) login.access.5.xml:134(para) -msgid "" -"login1." -msgstr "" - -#: passwd.5.xml:65(refpurpose) -msgid "the password file" -msgstr "" - -#: passwd.5.xml:70(para) -msgid "" -"/etc/passwd contains one line for each user account, " -"with seven fields delimited by colons (:). These fields are:" -msgstr "" - -#: passwd.5.xml:81(para) -msgid "optional encrypted password" -msgstr "" - -#: passwd.5.xml:84(para) -msgid "numerical user ID" -msgstr "" - -#: passwd.5.xml:87(para) -msgid "numerical group ID" -msgstr "" - -#: passwd.5.xml:90(para) -msgid "user name or comment field" -msgstr "" - -#: passwd.5.xml:93(para) -msgid "user home directory" -msgstr "" - -#: passwd.5.xml:96(para) -msgid "optional user command interpreter" -msgstr "" - -#: passwd.5.xml:100(para) -msgid "" -"If the password field is a lower-case x, " -"then the encrypted password is actually stored in the " -"shadow5 file instead; there must be a " -"corresponding line in the /etc/shadow file, or else the " -"user account is invalid." -msgstr "" - -#: passwd.5.xml:109(para) -msgid "" -"The encrypted password field may be empty, in which " -"case no password is required to authenticate as the specified login name. " -"However, some applications which read the /etc/passwd " -"file may decide not to permit any access at all if the " -"password field is blank." -msgstr "" - -#: passwd.5.xml:118(para) -msgid "" -"A password field which starts with an exclamation mark " -"means that the password is locked. The remaining characters on the line " -"represent the password field before the password was " -"locked." -msgstr "" - -#: passwd.5.xml:138(para) -msgid "" -"The comment field, also known as the gecos field, is used by various system " -"utilities, such as finger1. The use of an " -"ampersand here will be replaced by the capitalised login name when the field " -"is used or displayed by such system utilities." -msgstr "" - -#: passwd.5.xml:147(para) -msgid "" -"The home directory field provides the name of the initial working directory. " -"The login program uses this information to set the value " -"of the $HOME environmental variable." -msgstr "" - -#: passwd.5.xml:153(para) -msgid "" -"The command interpreter field provides the name of the user's command " -"language interpreter, or the name of the initial program to execute. The " -"login program uses this information to set the value of " -"the $SHELL environmental variable. If this field is empty, it " -"defaults to the value /bin/sh." -msgstr "" - -#: passwd.5.xml:174(para) -msgid "optional encrypted password file" -msgstr "" - -#: passwd.5.xml:178(filename) -msgid "/etc/passwd-" -msgstr "" - -#: passwd.5.xml:180(para) -msgid "Backup file for /etc/passwd." -msgstr "" - -#: passwd.5.xml:192(para) -msgid "" -"crypt3, getent1, " -"getpwnam3, login1, " -"passwd1, pwck8, " -"pwconv8, pwunconv8, " -"shadow5, su1, sulogin8." -msgstr "" - -#: passwd.1.xml:72(refpurpose) -msgid "change user password" -msgstr "" - -#: passwd.1.xml:89(para) -msgid "" -"The passwd command changes passwords for user accounts. A " -"normal user may only change the password for their own account, while the " -"superuser may change the password for any account. passwd " -"also changes the account or associated password validity period." -msgstr "" - -#: passwd.1.xml:98(title) -msgid "Password Changes" -msgstr "" - -#: passwd.1.xml:99(para) -msgid "" -"The user is first prompted for their old password, if one is present. This " -"password is then encrypted and compared against the stored password. The " -"user has only one chance to enter the correct password. The superuser is " -"permitted to bypass this step so that forgotten passwords may be changed." -msgstr "" - -#: passwd.1.xml:107(para) -msgid "" -"After the password has been entered, password aging information is checked " -"to see if the user is permitted to change the password at this time. If not, " -"passwd refuses to change the password and exits." -msgstr "" - -#: passwd.1.xml:114(para) -msgid "" -"The user is then prompted twice for a replacement password. The second entry " -"is compared against the first and both are required to match in order for " -"the password to be changed." -msgstr "" - -#: passwd.1.xml:120(para) -msgid "" -"Then, the password is tested for complexity. As a general guideline, " -"passwords should consist of 6 to 8 characters including one or more " -"characters from each of the following sets:" -msgstr "" - -#: passwd.1.xml:128(para) -msgid "lower case alphabetics" -msgstr "" - -#: passwd.1.xml:131(para) -msgid "digits 0 thru 9" -msgstr "" - -#: passwd.1.xml:134(para) -msgid "punctuation marks" -msgstr "" - -#: passwd.1.xml:138(para) -msgid "" -"Care must be taken not to include the system default erase or kill " -"characters. passwd will reject any password which is not " -"suitably complex." -msgstr "" - -#: passwd.1.xml:147(title) -msgid "Hints for user passwords" -msgstr "" - -#: passwd.1.xml:148(para) -msgid "" -"The security of a password depends upon the strength of the encryption " -"algorithm and the size of the key space. The legacy UNIX System encryption method is based on the NBS DES algorithm. More " -"recent methods are now recommended (see ). " -"The size of the key space depends upon the randomness of the password which " -"is selected." -msgstr "" - -#: passwd.1.xml:157(para) -msgid "" -"Compromises in password security normally result from careless password " -"selection or handling. For this reason, you should not select a password " -"which appears in a dictionary or which must be written down. The password " -"should also not be a proper name, your license number, birth date, or street " -"address. Any of these may be used as guesses to violate system security." -msgstr "" - -#: passwd.1.xml:166(para) -#, fuzzy -#| msgid "" -#| "You can find advices on how to choose a strong password on http://en." -#| "wikipedia.org/wiki/Password_strength" -msgid "" -"You can find advice on how to choose a strong password on http://en." -"wikipedia.org/wiki/Password_strength" -msgstr "" -"Du kan finde råd om hvordan du vælger en god adgangskode på http://en." -"wikipedia.org/wiki/Password_strength" - -#: passwd.1.xml:175(para) -msgid "The options which apply to the passwd command are:" -msgstr "Tilvalgene som gælder for kommandoen passwd er:" - -#: passwd.1.xml:180(term) faillog.8.xml:96(term) -msgid ", " -msgstr ", " - -#: passwd.1.xml:184(para) -msgid "" -"This option can be used only with and causes show status " -"for all users." -msgstr "" -"Dette tilvalg kan kun bruges med medfører vis status for " -"alle brugere." - -#: passwd.1.xml:191(term) -msgid ", " -msgstr ", " - -#: passwd.1.xml:195(para) -msgid "" -"Delete a user's password (make it empty). This is a quick way to disable a " -"password for an account. It will set the named account passwordless." -msgstr "" -"Slet en brugers adgangskode (gør den tom). Dette er en hurtig måde at " -"deaktivere en adgangskode for en konto. Den vil sætte den navngivne konto " -"uden adgangskode." - -#: passwd.1.xml:203(term) -msgid ", " -msgstr ", " - -#: passwd.1.xml:207(para) -msgid "" -"Immediately expire an account's password. This in effect can force a user to " -"change their password at the user's next login." -msgstr "" -"Angiv øjeblikkelig en kontos adgangskode som udløbet. Dette kan tvinge en " -"bruger til at ændre sin adgangskode ved brugerens næste logind." - -#: passwd.1.xml:220(term) -msgid "" -",  INACTIVE" -msgstr "" -",  INAKTIV" - -#: passwd.1.xml:224(para) -msgid "" -"This option is used to disable an account after the password has been " -"expired for a number of days. After a user account has had an expired " -"password for INACTIVE days, the user may no " -"longer sign on to the account." -msgstr "" -"Denne indstilling bruges til at deaktivere en konto efter at adgangskoden er " -"udløbet i et antal dage. Efter at en brugerkonto har haft en udløbet " -"adgangskode for INAKTIV dage, kan brugeren ikke " -"længere logge ind på kontoen." - -#: passwd.1.xml:233(term) -msgid ", " -msgstr ", " - -#: passwd.1.xml:237(para) -msgid "" -"Indicate password change should be performed only for expired authentication " -"tokens (passwords). The user wishes to keep their non-expired tokens as " -"before." -msgstr "" - -#: passwd.1.xml:245(term) -msgid ", " -msgstr "" - -#: passwd.1.xml:249(para) -msgid "" -"Lock the password of the named account. This option disables a password by " -"changing it to a value which matches no possible encrypted value (it adds a " -"´!´ at the beginning of the password)." -msgstr "" - -#: passwd.1.xml:255(para) -msgid "" -"Note that this does not disable the account. The user may still be able to " -"login using another authentication token (e.g. an SSH key). To disable the " -"account, administrators should use usermod --expiredate 1 " -"(this set the account's expire date to Jan 2, 1970)." -msgstr "" - -#: passwd.1.xml:262(para) -msgid "Users with a locked password are not allowed to change their password." -msgstr "" - -#: passwd.1.xml:269(term) -msgid "" -",  MIN_DAYS" -msgstr "" - -#: passwd.1.xml:273(para) chage.1.xml:184(para) -msgid "" -"Set the minimum number of days between password changes to " -"MIN_DAYS. A value of zero for this field " -"indicates that the user may change their password at any time." -msgstr "" - -#: passwd.1.xml:291(term) -msgid "" -",  " -"REPOSITORY" -msgstr "" - -#: passwd.1.xml:295(para) -msgid "change password in REPOSITORY repository" -msgstr "" - -#: passwd.1.xml:313(term) -msgid ", " -msgstr "" - -#: passwd.1.xml:317(para) -msgid "" -"Display account status information. The status information consists of 7 " -"fields. The first field is the user's login name. The second field indicates " -"if the user account has a locked password (L), has no password (NP), or has " -"a usable password (P). The third field gives the date of the last password " -"change. The next four fields are the minimum age, maximum age, warning " -"period, and inactivity period for the password. These ages are expressed in " -"days." -msgstr "" - -#: passwd.1.xml:331(term) -msgid ", " -msgstr "" - -#: passwd.1.xml:335(para) -msgid "" -"Unlock the password of the named account. This option re-enables a password " -"by changing the password back to its previous value (to the value before " -"using the option)." -msgstr "" - -#: passwd.1.xml:344(term) -msgid "" -",  " -"WARN_DAYS" -msgstr "" - -#: passwd.1.xml:348(para) -msgid "" -"Set the number of days of warning before a password change is required. The " -"WARN_DAYS option is the number of days prior to " -"the password expiring that a user will be warned that their password is " -"about to expire." -msgstr "" - -#: passwd.1.xml:357(term) -msgid "" -",  MAX_DAYS" -msgstr "" - -#: passwd.1.xml:361(para) -msgid "" -"Set the maximum number of days a password remains valid. After " -"MAX_DAYS, the password is required to be changed." -msgstr "" - -#: passwd.1.xml:366(para) chage.1.xml:205(para) -msgid "" -"Passing the number -1 as " -"MAX_DAYS will remove checking a password's " -"validity." -msgstr "" - -#: passwd.1.xml:378(para) -msgid "" -"Password complexity checking may vary from site to site. The user is urged " -"to select a password as complex as he or she feels comfortable with." -msgstr "" - -#: passwd.1.xml:383(para) -msgid "" -"Users may not be able to change their password on a system if NIS is enabled " -"and they are not logged into the NIS server." -msgstr "" - -#: passwd.1.xml:388(para) -msgid "" -"passwd uses PAM to authenticate users and to change their " -"passwords." -msgstr "" - -#: passwd.1.xml:30(term) newusers.8.xml:30(term) login.defs.5.xml:30(term) -#: gpasswd.1.xml:30(term) chpasswd.8.xml:30(term) chgpasswd.8.xml:30(term) -msgid " (string)" -msgstr "" - -#: passwd.1.xml:32(para) newusers.8.xml:32(para) login.defs.5.xml:32(para) -#: gpasswd.1.xml:32(para) chpasswd.8.xml:32(para) chgpasswd.8.xml:32(para) -msgid "" -"This defines the system default encryption algorithm for encrypting " -"passwords (if no algorithm are specified on the command line)." -msgstr "" - -#: passwd.1.xml:36(para) newusers.8.xml:36(para) login.defs.5.xml:36(para) -#: gpasswd.1.xml:36(para) chpasswd.8.xml:36(para) chgpasswd.8.xml:36(para) -msgid "" -"It can take one of these values: DES (default), " -"MD5, " -"SHA256, SHA512. MD5 and DES should not be used for new hashes, see " -"crypt5 for " -"recommendations." -msgstr "" - -#: passwd.1.xml:46(para) newusers.8.xml:46(para) login.defs.5.xml:46(para) -#: gpasswd.1.xml:46(para) chpasswd.8.xml:46(para) chgpasswd.8.xml:46(para) -msgid "" -"Note: this parameter overrides the variable." -msgstr "" - -#: passwd.1.xml:50(para) passwd.1.xml:53(para) passwd.1.xml:62(para) -#: newusers.8.xml:50(para) newusers.8.xml:53(para) newusers.8.xml:62(para) -#: login.defs.5.xml:50(para) login.defs.5.xml:53(para) -#: login.defs.5.xml:62(para) gpasswd.1.xml:50(para) gpasswd.1.xml:53(para) -#: gpasswd.1.xml:62(para) chpasswd.8.xml:50(para) chpasswd.8.xml:53(para) -#: chpasswd.8.xml:62(para) chgpasswd.8.xml:50(para) chgpasswd.8.xml:53(para) -#: chgpasswd.8.xml:62(para) -msgid "" -"Note: This only affect the generation of group passwords. The generation of " -"user passwords is done by PAM and subject to the PAM configuration. It is " -"recommended to set this variable consistently with the PAM configuration." -msgstr "" - -#: passwd.1.xml:32(term) newusers.8.xml:32(term) login.defs.5.xml:32(term) -#: gpasswd.1.xml:32(term) chpasswd.8.xml:32(term) chgpasswd.8.xml:32(term) -msgid " (boolean)" -msgstr "" - -#: passwd.1.xml:34(para) newusers.8.xml:34(para) login.defs.5.xml:34(para) -#: gpasswd.1.xml:34(para) chpasswd.8.xml:34(para) chgpasswd.8.xml:34(para) -msgid "" -"Indicate if passwords must be encrypted using the MD5-based algorithm. If " -"set to yes, new passwords will be encrypted using " -"the MD5-based algorithm compatible with the one used by recent releases of " -"FreeBSD. It supports passwords of unlimited length and longer salt strings. " -"Set to no if you need to copy encrypted passwords " -"to other systems which don't understand the new algorithm. Default is " -"no." -msgstr "" - -#: passwd.1.xml:44(para) newusers.8.xml:44(para) login.defs.5.xml:44(para) -#: gpasswd.1.xml:44(para) chpasswd.8.xml:44(para) chgpasswd.8.xml:44(para) -msgid "" -"This variable is superseded by the variable " -"or by any command line option used to configure the encryption algorithm." -msgstr "" - -#: passwd.1.xml:49(para) newusers.8.xml:49(para) login.defs.5.xml:49(para) -#: gpasswd.1.xml:49(para) chpasswd.8.xml:49(para) chgpasswd.8.xml:49(para) -msgid "" -"This variable is deprecated. You should use ." -msgstr "" -"Denne variabel er forældet, du skal bruge ." - -#: passwd.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (boolean)" -msgstr " (boolesk)" - -#: passwd.1.xml:34(para) login.defs.5.xml:34(para) -msgid "Enable additional checks upon password changes." -msgstr "Aktiver yderligere kontroller før ændringer af adgangskode." - -#: passwd.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (boolean)" -msgstr " (boolesk)" - -#: passwd.1.xml:34(para) login.defs.5.xml:34(para) -msgid "Warn about weak passwords (but still allow them) if you are root." -msgstr "" -"Advar om svage adgangskoder (men tillad dem stadig) hvis du er administrator " -"(root)." - -#: passwd.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (number)" -msgstr " (antal)" - -#: passwd.1.xml:34(para) login.defs.5.xml:34(para) -msgid "Maximum number of attempts to change password if rejected (too easy)." -msgstr "Maksimalt antal forsøg at ændre adgangskode hvis afvist (for nemt)." - -#: passwd.1.xml:32(term) login.defs.5.xml:32(term) -msgid " (number)" -msgstr " (antal)" - -#: passwd.1.xml:33(term) login.defs.5.xml:33(term) -msgid " (number)" -msgstr " (antal)" - -#: passwd.1.xml:35(para) login.defs.5.xml:35(para) -msgid "" -"Number of significant characters in the password for crypt(). " -" is 8 by default. Don't change unless your " -"crypt() is better. This is ignored if set to " -"yes." -msgstr "" - -#: passwd.1.xml:30(term) newusers.8.xml:30(term) login.defs.5.xml:30(term) -#: gpasswd.1.xml:30(term) chpasswd.8.xml:30(term) chgpasswd.8.xml:30(term) -msgid " (number)" -msgstr " (antal)" - -#: passwd.1.xml:31(term) newusers.8.xml:31(term) login.defs.5.xml:31(term) -#: gpasswd.1.xml:31(term) chpasswd.8.xml:31(term) chgpasswd.8.xml:31(term) -msgid " (number)" -msgstr "" - -#: passwd.1.xml:33(para) newusers.8.xml:33(para) login.defs.5.xml:33(para) -#: gpasswd.1.xml:33(para) chpasswd.8.xml:33(para) chgpasswd.8.xml:33(para) -msgid "" -"When is set to SHA256 or SHA512, this defines the number " -"of SHA rounds used by the encryption algorithm by default (when the number " -"of rounds is not specified on the command line)." -msgstr "" - -#: passwd.1.xml:40(para) newusers.8.xml:40(para) login.defs.5.xml:40(para) -#: gpasswd.1.xml:40(para) chpasswd.8.xml:40(para) chgpasswd.8.xml:40(para) -msgid "" -"With a lot of rounds, it is more difficult to brute forcing the password. " -"But note also that more CPU resources will be needed to authenticate users." -msgstr "" - -#: passwd.1.xml:45(para) newusers.8.xml:45(para) login.defs.5.xml:45(para) -#: gpasswd.1.xml:45(para) chpasswd.8.xml:45(para) chgpasswd.8.xml:45(para) -msgid "" -"If not specified, the libc will choose the default number of rounds (5000), " -"which is orders of magnitude too low for modern hardware." -msgstr "" - -#: passwd.1.xml:49(para) newusers.8.xml:49(para) login.defs.5.xml:49(para) -#: gpasswd.1.xml:49(para) chpasswd.8.xml:49(para) chgpasswd.8.xml:49(para) -msgid "The values must be inside the 1000-999,999,999 range." -msgstr "" - -#: passwd.1.xml:52(para) newusers.8.xml:52(para) login.defs.5.xml:52(para) -#: gpasswd.1.xml:52(para) chpasswd.8.xml:52(para) chgpasswd.8.xml:52(para) -msgid "" -"If only one of the or " -" values is set, then this value will be " -"used." -msgstr "" - -#: passwd.1.xml:57(para) newusers.8.xml:57(para) login.defs.5.xml:57(para) -#: gpasswd.1.xml:57(para) chpasswd.8.xml:57(para) chgpasswd.8.xml:57(para) -msgid "" -"If >