]> git.pld-linux.org Git - packages/pwdutils.git/commitdiff
- added new/removed obsolete
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 15 Oct 2003 20:42:16 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pwdutils-userbuild.patch -> 1.2
    pwdutils.login.defs -> 1.1
    pwdutils.useradd -> 1.1

pwdutils-userbuild.patch [deleted file]
pwdutils.login.defs [new file with mode: 0644]
pwdutils.useradd [new file with mode: 0644]

diff --git a/pwdutils-userbuild.patch b/pwdutils-userbuild.patch
deleted file mode 100644 (file)
index ee9f9e0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -urN pwdutils-2.3.90.org/src/Makefile.am pwdutils-2.3.90/src/Makefile.am
---- pwdutils-2.3.90.org/src/Makefile.am        2003-07-17 01:25:21.057274424 +0200
-+++ pwdutils-2.3.90/src/Makefile.am    2003-07-17 01:26:10.845705432 +0200
-@@ -60,5 +60,5 @@
- install-exec-hook:
-       $(LN_F) $(DESTDIR)$(bindir)/passwd $(DESTDIR)$(bindir)/chsh
-       $(LN_F) $(DESTDIR)$(bindir)/passwd $(DESTDIR)$(bindir)/chfn
--      chgrp shadow $(DESTDIR)$(bindir)/expiry
-+      -chgrp shadow $(DESTDIR)$(bindir)/expiry
-       chmod g+s $(DESTDIR)$(bindir)/expiry
diff --git a/pwdutils.login.defs b/pwdutils.login.defs
new file mode 100644 (file)
index 0000000..6c7973d
--- /dev/null
@@ -0,0 +1,176 @@
+#
+# /etc/login.defs - Configuration control definitions for pwdutils package.
+#
+# Comment lines (lines beginning with "#") and blank lines are ignored.
+# Please read the manual page for more information (login.defs.5).
+#
+
+#
+# Should login be allowed if we can't cd to the home directory?
+# Default is yes.
+#
+DEFAULT_HOME           yes
+
+#
+# The default PATH settings (used by login):
+#
+ENV_PATH                /usr/local/bin:/usr/bin:/bin
+
+#
+# The default PATH settings for root (used by login):
+#
+ENV_ROOTPATH            /sbin:/bin:/usr/sbin:/usr/bin
+
+#
+# Delay in seconds before being allowed another attempt
+# after a login failure
+#
+FAIL_DELAY             3
+
+#
+# Enable logging and display of /var/log/faillog login
+# failure info.
+#
+FAILLOG_ENAB           yes
+
+#
+# If defined and the file exist, login failures will be
+# logged here in a utmp format.
+# last, when invoked as lastb, will read /var/log/btmp, so...
+#
+#FTMP_FILE     /var/log/btmp
+
+#
+# If defined, file which inhibits all the usual chatter
+# during the login sequence. If a full pathname, then hushed
+# mode will be enabled if the user's name or shell are found
+# in the file.  If not a full pathname, then hushed mode will
+# be enabled if the file exists in the user's home directory.
+#
+#HUSHLOGIN_FILE        .hushlogin
+HUSHLOGIN_FILE /etc/hushlogins
+
+#
+# Enable logging and display of /var/log/lastlog login time info.
+#
+LASTLOG_ENAB           yes
+
+#
+# Enable display of unknown usernames when login failures
+# are recorded.
+#
+LOG_UNKFAIL_ENAB       no
+
+#
+# Max number of login retries if password is bad
+#
+LOGIN_RETRIES          3
+
+#
+# Max time in seconds for login
+#
+LOGIN_TIMEOUT          60
+
+#
+# If defined, ":" delimited list of "message of the day" files to
+# be displayed upon login.
+#
+MOTD_FILE      /etc/motd
+#MOTD_FILE     /etc/motd:/usr/lib/news/news-motd
+
+#
+# If defined, file which maps tty line to TERM environment parameter.
+# Each line of the file is in a format something like "vt100  tty01".
+#
+TTYTYPE_FILE   /etc/ttytype
+
+#
+# Terminal permissions
+#
+#      TTYGROUP        Login tty will be assigned this group ownership.
+#      TTYPERM         Login tty will be set to this permission.
+#
+# If you have a "write" program which is "setgid" to a special group
+# which owns the terminals, define TTYGROUP to the group number and
+# TTYPERM to 0620.  Otherwise leave TTYGROUP commented out and assign
+# TTYPERM to either 622 or 600.
+#
+TTYGROUP       tty
+TTYPERM                0620
+
+#
+# Require password before chfn/chsh can make any changes.
+#
+CHFN_AUTH              yes
+
+#
+# Which fields may be changed by regular users using chfn - use
+# any combination of letters "frwh" (full name, room number, work
+# phone, home phone).  If not defined, no changes are allowed.
+# For backward compatibility, "yes" = "rwh" and "no" = "frwh".
+#
+CHFN_RESTRICT          rwh
+
+#
+# Password aging controls (used by useradd):
+#
+#      PASS_MAX_DAYS   Maximum number of days a password may be used.
+#      PASS_MIN_DAYS   Minimum number of days allowed between password changes.
+#      PASS_WARN_AGE   Number of days warning given before a password expires.
+#
+PASS_MAX_DAYS  99999
+PASS_MIN_DAYS  0
+PASS_WARN_AGE  7
+
+#
+# Min/max values for automatic uid selection in useradd
+#
+# SYSTEM_UID_MIN to SYSTEM_UID_MAX inclusive is the range for
+# UIDs for dynamically allocated administrative and system accounts.
+# UID_MIN to UID_MAX inclusive is the range of UIDs of dynamically
+# allocated user accounts.
+#
+SYSTEM_UID_MIN           100
+SYSTEM_UID_MAX           499
+UID_MIN                         1000
+UID_MAX                        60000
+
+#
+# Min/max values for automatic gid selection in groupadd
+#
+# SYSTEM_GID_MIN to SYSTEM_GID_MAX inclusive is the range for
+# GIDs for dynamically allocated administrative and system groups.
+# GID_MIN to GID_MAX inclusive is the range of GIDs of dynamically
+# allocated groups.
+#
+SYSTEM_GID_MIN           100
+SYSTEM_GID_MAX           499
+GID_MIN                         1000
+GID_MAX                        60000
+
+#
+# Umask which is used by useradd and newusers for creating
+# new home directories.
+#
+UMASK                  022
+
+#
+# If defined, this command is run when adding a user.
+# It should rebuild any NIS database etc. to add the
+# new created account.
+#
+USERADD_CMD            /etc/pwdutils/useradd.local
+
+#
+# If defined, this command is run before removing a user.
+# It should remove any at/cron/print jobs etc. owned by
+# the user to be removed.
+#
+USERDEL_PRECMD         /etc/pwdutils/userdel-pre.local
+
+#
+# If defined, this command is run after removing a user.
+# It should rebuild any NIS database etc. to remove the
+# account from it.
+#
+USERDEL_POSTCMD                /etc/pwdutils/userdel-post.local
diff --git a/pwdutils.useradd b/pwdutils.useradd
new file mode 100644 (file)
index 0000000..0a28b4e
--- /dev/null
@@ -0,0 +1,7 @@
+# useradd defaults file
+GROUP=1000
+HOME=/home/users
+INACTIVE=-1
+EXPIRE=
+SHELL=/bin/bash
+SKEL=/etc/skel
This page took 0.090469 seconds and 4 git commands to generate.