upg filesystem man-pages shadow
This commit is contained in:
parent
325738f225
commit
3259bf2eb5
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=filesystem
|
||||
pkgver=2022.07.07
|
||||
pkgver=2022.10.18
|
||||
pkgrel=01
|
||||
pkgdesc='Base Joborun Linux file system'
|
||||
arch=('x86_64')
|
||||
|
@ -119,7 +119,7 @@ license=('GPL')
|
|||
|
||||
sha256sums=(e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82 # crypttab
|
||||
115d324c8518affc7bec5559579d85f8f5491646b6110ea9567a586a26a76da9 # fstab
|
||||
df57d376582518cd5c02cd776cf81c4780c4854ca33f28f7f7bd846f8d4bde15 # group
|
||||
d37b07963e75603f7056b8a78ec0706b925dfaa2790ece382c8c8483ff1d5f15 # group
|
||||
5003d01f30a868d6e79010a9313d43481701b5c59fbe7252fb33760d043878f1 # gshadow
|
||||
250cfbb9a2b5e3cc9879ab2080eb3c7875fbe66eb375ce3f96eee335654a4979 # host.conf
|
||||
8a63876eaf11641bbecdf2dea934c14e730dd4daceb32a5b172d08887a263f73 # hosts
|
||||
|
@ -131,7 +131,7 @@ sha256sums=(e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82 # c
|
|||
b5ad863843339840665b80b21656bc04402a824c01f9bc5c3e5974c8182113f5 # os-release
|
||||
aa9df866acb6a56ad72aca7cd215642ed8c55ba9a01d205c667ed082bc997568 # passwd
|
||||
5e4088ad8d0853d390fa303f6be8c3f69c33834200cba9e90f7849f1993ca8d0 # profile
|
||||
26edd9af76f4b8a7a5094d45179099ddcd950d05140cf3b856da50263fba98a3 # resolv.conf
|
||||
7c4e71febc2a24677be465bd377034c653174ee1e0334dd3507b780c9ff7962d # resolv.conf
|
||||
d88be2b45b43605ff31dd83d6a138069b6c2e92bc8989b7b9ab9eba8da5f8c7b # securetty
|
||||
1d77352db51f1edc46eb868307530d1c02de1ee77cfa14902bc0430aad91384b # shadow
|
||||
268e414ace5dd1579e5a3085a45a969c3d580d734182166f85d02411d3be6f7d # shells
|
||||
|
@ -139,3 +139,4 @@ sha256sums=(e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82 # c
|
|||
618ac097441c1f2daffc9967e5c3cd18ea8866f776db62d04bf401c53907b1c9 # tmpfiles
|
||||
90fb123aa8c0176bc144322b585bb889181c437542ddbe546af43e11b95be6ab) # modprobe.d.usb-load-ehci-first
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Contributor: Tom Gundersen <teg@jklm.no>
|
||||
|
||||
pkgname=filesystem
|
||||
pkgver=2021.12.07
|
||||
pkgver=2022.10.18
|
||||
pkgrel=1
|
||||
pkgdesc='Base Arch Linux files'
|
||||
arch=('x86_64')
|
||||
|
@ -12,11 +12,11 @@ depends=('iana-etc')
|
|||
backup=('etc/crypttab' 'etc/fstab' 'etc/group' 'etc/gshadow' 'etc/host.conf'
|
||||
'etc/hosts' 'etc/issue' 'etc/ld.so.conf' 'etc/nsswitch.conf'
|
||||
'etc/passwd' 'etc/profile' 'etc/resolv.conf' 'etc/securetty'
|
||||
'etc/shadow' 'etc/shells')
|
||||
'etc/shadow' 'etc/shells' 'etc/subuid' 'etc/subgid')
|
||||
source=('crypttab' 'env-generator' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts'
|
||||
'issue' 'ld.so.conf' 'locale.sh' 'nsswitch.conf' 'os-release'
|
||||
'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl'
|
||||
'sysusers' 'tmpfiles' 'archlinux-logo.svg' 'archlinux-logo.png'
|
||||
'issue' 'ld.so.conf' 'locale.sh' 'nsswitch.conf' 'os-release' 'profile'
|
||||
'passwd' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl' 'sysusers'
|
||||
'tmpfiles' 'subuid' 'subgid' 'archlinux-logo.svg' 'archlinux-logo.png'
|
||||
'archlinux-logo-text.svg' 'archlinux-logo-text-dark.svg')
|
||||
sha256sums=('e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82'
|
||||
'ed0cb4f1db4021f8c3b5ce78fdf91d2c0624708f58f36c9cf867f4d93c3bc6da'
|
||||
|
@ -29,16 +29,18 @@ sha256sums=('e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82'
|
|||
'dad04a370e488aa85fb0a813a5c83cf6fd981ce01883fc59685447b092de84b5'
|
||||
'8ca2d8eef6fb5143c9ef7e9174ccfef59ac7ad2deee243574cd10c763156cc10'
|
||||
'c8ee7a9faf798caab178ec51afae4146f1efd8a716b7acedf28345b6c75f9697'
|
||||
'a54d010860b3e9c4b8ccc282e61da5b7118c7547697151aaca36ee771d323dc9'
|
||||
'5e06477834f51abf42ea4e8dc199632afc6afbfd8c44354685a271e9a48d2c0a'
|
||||
'46108f7e84f5d5994678133d412d5ec6222c53f28e6bf7ac66cc07788a7ee66d'
|
||||
'5e4088ad8d0853d390fa303f6be8c3f69c33834200cba9e90f7849f1993ca8d0'
|
||||
'5e06477834f51abf42ea4e8dc199632afc6afbfd8c44354685a271e9a48d2c0a'
|
||||
'5557d8e601b17a80d1ea7de78a9869be69637cb6a02fbfe334e22fdf64e61d4c'
|
||||
'd88be2b45b43605ff31dd83d6a138069b6c2e92bc8989b7b9ab9eba8da5f8c7b'
|
||||
'6e13705ac4d6f69cdba118c6b70c722346fd3c45224133e6bbfe28aca719563c'
|
||||
'c390b31fffc4a2b5d78ae8c89f5317aadef1f71baac09cfb467b675db1406d61'
|
||||
'89e43a0b7028f52d5c8e7fb961d962c4b4f4e9595880a6157274ddb2c7c0b6b4'
|
||||
'b5b28f395583d141d88c0b955cd05124f9b8cdf003feab01e55885b8e8c1303e'
|
||||
'f17efd1c6480c5db1fdab4a0e3cfcd4baa44a3e1ae1210aebeb40f8d5c82f742'
|
||||
'5d8e61479f0093852365090e84d8d95b1e7fccfab068274ee25863bde6ff3e07'
|
||||
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
||||
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
||||
'3ffe8ea4e98db43a3ec4dcca55fd4009cd8b8d220f0996aef7a5b427fdf65234'
|
||||
'3f48779141b68a81e07fee710a42025d4f67b16240295aa4cf148a7ba99cab3c'
|
||||
'601069e6e8920309178c397fd8cebe43410827d01899d31777d13212f0dfacf8'
|
||||
|
@ -62,7 +64,7 @@ package() {
|
|||
# setup /etc and /usr/share/factory/etc
|
||||
install -d etc/{ld.so.conf.d,skel,profile.d} usr/share/factory/etc
|
||||
for f in fstab group host.conf hosts issue ld.so.conf nsswitch.conf \
|
||||
passwd resolv.conf securetty shells profile; do
|
||||
passwd resolv.conf securetty shells profile subuid subgid; do
|
||||
install -m644 "$srcdir"/$f etc/
|
||||
install -m644 "$srcdir"/$f usr/share/factory/etc/
|
||||
done
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
iana-etc
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
root:x:0:root
|
||||
tty:x:5:
|
||||
wheel:x:10:make
|
||||
log:x:19:
|
||||
games:x:50:
|
||||
dbus:x:81:
|
||||
nobody:x:99:
|
||||
users:x:100:
|
||||
polkitd:x:102:
|
||||
make:x:1000:
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
# This file was generated by OpenNIC 2019-Apr-26 06:46 UTC
|
||||
# and shows the most reliable servers near you.
|
||||
# You may retrieve updates automatically by using:
|
||||
#wget --inet4-only "https://api.opennicproject.org/geoip?resolv"
|
||||
#Selecting DNS among 185.121.177.177 169.239.202.202 172.98.193.42...
|
||||
#Waiting for 185.121.177.177...
|
||||
#Using 116.203.98.109 as API host
|
||||
#https://api.opennicproject.org/geoip/?list&ipv=4&res=200&adm=0&bl&wl
|
||||
domain opennic.glue
|
||||
search opennic.gluenameserver 192.71.245.208
|
||||
nameserver 144.24.181.253
|
||||
nameserver 79.133.199.87
|
||||
nameserver 89.163.140.67
|
||||
nameserver 194.36.144.87
|
||||
#Pinging 29 hosts to determine the top ones...resulting in 18 responsive hosts
|
||||
#Selected top 8 hosts:
|
||||
nameserver 94.247.43.254
|
||||
nameserver 192.71.166.92
|
||||
nameserver 130.61.117.123
|
||||
nameserver 89.163.140.67
|
||||
nameserver 94.16.114.254
|
||||
nameserver 128.76.152.2
|
||||
nameserver 212.83.46.246
|
||||
nameserver 54.36.111.116
|
||||
nameserver 195.10.195.195
|
||||
nameserver 194.36.144.87
|
||||
rotate
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
real 0m2.201s
|
||||
user 0m2.012s
|
||||
sys 0m0.351s
|
||||
|
||||
real 0m4.947s
|
||||
user 0m3.968s
|
||||
sys 0m0.781s
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=man-pages
|
||||
_commit=324e1d8289644e5159d43a04945df0841c45b966 # 2022-10-09 = 6.00 release
|
||||
pkgver=6.00
|
||||
pkgver=6.01
|
||||
_posixver=2017-a
|
||||
pkgrel=01
|
||||
pkgdesc="Linux man pages"
|
||||
|
@ -15,13 +15,13 @@ arch=('any')
|
|||
url="https://www.kernel.org/doc/man-pages/"
|
||||
makedepends=('man2html' 'git')
|
||||
# https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/
|
||||
source=(#https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
|
||||
"git+https://git.kernel.org/pub/scm/docs/man-pages/man-pages#commit=$_commit" # no tarball release for 6.00
|
||||
source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
|
||||
#"git+https://git.kernel.org/pub/scm/docs/man-pages/man-pages#commit=$_commit" # no tarball release for 6.00
|
||||
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
|
||||
# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
|
||||
# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/$pkgname # -$pkgver
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
# sed -i "s|prefix := /usr/local|prefix := /usr|g" Makefile
|
||||
|
||||
|
@ -35,7 +35,7 @@ prepare() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/$pkgname #-$pkgver
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
# install man-pages
|
||||
make DESTDIR="${pkgdir}" prefix=/usr install
|
||||
|
@ -54,11 +54,12 @@ package() {
|
|||
|
||||
license=('GPL' 'custom')
|
||||
|
||||
validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages@gmail.com>
|
||||
validpgpkeys=(E522595B52EDA4E6BFCCCB5E856199113A35CE5E) # Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages@gmail.com>
|
||||
validpgpkeys+=(A9348594CE31283A826FBDD8D57633D441E25BB5) # Alejandro Colomar Andres <alx.manpages@gmail.com>
|
||||
|
||||
sha256sums=(SKIP
|
||||
ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3 # man-pages-posix-2017-a.tar.xz
|
||||
sha256sums=(8be5177b2788c480a984517947d602ffaa64edeaed83edf4bd04f35163cb5c0b # man-pages-6.01.tar.xz
|
||||
20cb1e37baa85263d02e5976f876f52f3973c3070113b87ecc197cd2211d981c # man-pages-6.01.tar.sign
|
||||
ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3 # man-pages-posix-2017-a.tar.xz
|
||||
a754077b66853702059a7ae8ff520fadf42ab7484da6df991207343e8b7c5eff) # man-pages-posix-2017-a.tar.sign
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=man-pages
|
||||
_commit=324e1d8289644e5159d43a04945df0841c45b966 # 2022-10-09 = 6.00 release
|
||||
pkgver=6.00
|
||||
#_commit=324e1d8289644e5159d43a04945df0841c45b966 # 2022-10-09 = 6.00 release
|
||||
pkgver=6.01
|
||||
_posixver=2017-a
|
||||
pkgrel=1
|
||||
pkgdesc="Linux man pages"
|
||||
|
@ -11,23 +11,22 @@ license=('GPL' 'custom')
|
|||
url="https://www.kernel.org/doc/man-pages/"
|
||||
makedepends=('man2html' 'git')
|
||||
# https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/
|
||||
source=(#https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
|
||||
"git+https://git.kernel.org/pub/scm/docs/man-pages/man-pages#commit=$_commit" # no tarball release for 6.00
|
||||
source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
|
||||
#"git+https://git.kernel.org/pub/scm/docs/man-pages/man-pages#commit=$_commit" # no tarball release for 6.00
|
||||
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
|
||||
# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
|
||||
#sha256sums=('614dae3efe7dfd480986763a2a2a8179215032a5a4526c0be5e899a25f096b8b'
|
||||
# 'SKIP'
|
||||
# 'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
|
||||
# 'SKIP')
|
||||
sha256sums=('SKIP'
|
||||
sha256sums=('8be5177b2788c480a984517947d602ffaa64edeaed83edf4bd04f35163cb5c0b'
|
||||
'SKIP'
|
||||
'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
|
||||
'SKIP')
|
||||
#sha256sums=('SKIP'
|
||||
# 'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
|
||||
# 'SKIP')
|
||||
validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages@gmail.com>
|
||||
validpgpkeys+=('A9348594CE31283A826FBDD8D57633D441E25BB5') # Alejandro Colomar Andres <alx.manpages@gmail.com>
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/$pkgname #-$pkgver
|
||||
|
||||
# sed -i "s|prefix := /usr/local|prefix := /usr|g" Makefile
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
# included in shadow
|
||||
rm man5/passwd.5
|
||||
|
@ -39,7 +38,7 @@ prepare() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/$pkgname #-$pkgver
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
# install man-pages
|
||||
make DESTDIR="${pkgdir}" prefix=/usr install
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
gpg -v --recv-key 856199113A35CE5E
|
||||
gpg -v --recv-keys 9E8C1AFBBEFFDB32
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=shadow
|
||||
pkgver=4.11.1
|
||||
pkgrel=02
|
||||
pkgrel=03
|
||||
pkgdesc="Password and account management tool suite with support for shadow files and PAM w/o systemd"
|
||||
arch=('x86_64')
|
||||
url='https://github.com/shadow-maint/shadow'
|
||||
|
@ -21,22 +21,28 @@ backup=(etc/login.defs
|
|||
etc/pam.d/{chgpasswd,groupmems}
|
||||
etc/default/useradd)
|
||||
#options=(strip debug)
|
||||
options=('!emptydirs' 'strip')
|
||||
options=('!emptydirs')
|
||||
source=("https://github.com/shadow-maint/shadow/releases/download/v$pkgver/shadow-$pkgver.tar.xz"{,.asc}
|
||||
LICENSE
|
||||
# LICENSE
|
||||
chgpasswd
|
||||
chpasswd
|
||||
defaults.pam
|
||||
login.defs
|
||||
# login.defs
|
||||
newusers
|
||||
passwd
|
||||
useradd.defaults)
|
||||
useradd.defaults
|
||||
shadow-4.11.1-login.defs.patch)
|
||||
install=shadow.install
|
||||
|
||||
prepare() {
|
||||
# comment options that are taken over by util-linux and apply defaults
|
||||
patch -Np1 -d "$pkgname-$pkgver" -i ../$pkgname-4.11.1-login.defs.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
autoreconf -fsiv
|
||||
# autoreconf -fsiv
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
|
@ -45,13 +51,18 @@ build() {
|
|||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--disable-account-tools-setuid \
|
||||
--with-fcaps \
|
||||
--with-libpam \
|
||||
--with-group-name-max-length=32 \
|
||||
--with-audit \
|
||||
--with-bcrypt \
|
||||
--with-yescrypt \
|
||||
--without-selinux \
|
||||
--without-systemd \
|
||||
--without-su
|
||||
|
||||
# prevent excessive overlinking due to libtool
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -62,37 +73,34 @@ package() {
|
|||
make DESTDIR="$pkgdir" -C man install
|
||||
|
||||
# license
|
||||
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/shadow/LICENSE"
|
||||
install -vDm644 COPYING -t "$pkgdir/usr/share/licenses/shadow/"
|
||||
|
||||
# useradd defaults
|
||||
install -Dm600 "$srcdir/useradd.defaults" "$pkgdir/etc/default/useradd"
|
||||
# custom useradd(8) defaults (not provided by upstream)
|
||||
install -vDm600 ../useradd.defaults "$pkgdir/etc/default/useradd"
|
||||
|
||||
# login.defs
|
||||
install -Dm644 "$srcdir/login.defs" "$pkgdir/etc/login.defs"
|
||||
# install -Dm644 "$srcdir/login.defs" "$pkgdir/etc/login.defs"
|
||||
|
||||
# PAM config - custom
|
||||
rm "$pkgdir/etc/pam.d"/*
|
||||
install -t "$pkgdir/etc/pam.d" -m644 "$srcdir"/{passwd,chgpasswd,chpasswd,newusers}
|
||||
install -vDm 644 ../{passwd,chgpasswd,chpasswd,newusers} -t "$pkgdir/etc/pam.d/"
|
||||
|
||||
# PAM config - from tarball
|
||||
install -Dm644 etc/pam.d/groupmems "$pkgdir/etc/pam.d/groupmems"
|
||||
install -vDm 644 etc/pam.d/groupmems -t "$pkgdir/etc/pam.d/"
|
||||
|
||||
# we use the 'useradd' PAM file for other similar utilities
|
||||
for file in chage groupadd groupdel groupmod shadow \
|
||||
useradd usermod userdel; do
|
||||
install -Dm644 "$srcdir/defaults.pam" "$pkgdir/etc/pam.d/$file"
|
||||
for file in chage group{add,del,mod} shadow user{add,del,mod}; do
|
||||
install -vDm 644 "../defaults.pam" "$pkgdir/etc/pam.d/$file"
|
||||
done
|
||||
|
||||
# Remove evil/broken tools
|
||||
rm "$pkgdir"/usr/sbin/logoutd
|
||||
rm -v "$pkgdir"/usr/sbin/logoutd
|
||||
|
||||
# Remove utilities provided by util-linux
|
||||
rm \
|
||||
"$pkgdir"/usr/bin/{login,chsh,chfn,sg,nologin} \
|
||||
"$pkgdir"/usr/sbin/{vipw,vigr}
|
||||
rm -v "$pkgdir"/usr/{bin/{login,chsh,chfn,sg,nologin},sbin/{vipw,vigr}}
|
||||
|
||||
# but we keep newgrp, as sg is really an alias to it
|
||||
mv "$pkgdir"/usr/bin/{newgrp,sg}
|
||||
mv -v "$pkgdir"/usr/bin/{newgrp,sg}
|
||||
|
||||
# ...and their many man pages
|
||||
find "$pkgdir"/usr/share/man \
|
||||
|
@ -108,23 +116,25 @@ package() {
|
|||
-delete
|
||||
|
||||
# move everything else to /usr/bin, because this isn't handled by ./configure
|
||||
mv "$pkgdir"/usr/sbin/* "$pkgdir"/usr/bin
|
||||
rmdir "$pkgdir/usr/sbin"
|
||||
mv -v "$pkgdir"/usr/sbin/* "$pkgdir"/usr/bin
|
||||
rmdir -v "$pkgdir/usr/sbin"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('BSD')
|
||||
|
||||
validpgpkeys=('66D0387DB85D320F8408166DB175CFA98F192AF2') # Serge Hallyn
|
||||
validpgpkeys=('66D0387DB85D320F8408166DB175CFA98F192AF2') # Serge Hallyn <sergeh@kernel.org>
|
||||
|
||||
sha256sums=(41f093ce58b2ae5f389a1c5553e0c18bc73e6fe27f66273891991198a7707c95 # shadow-4.11.1.tar.xz
|
||||
58c563dcb21cb31ea9239f370108366c715fda92abed24b5990bb6dc80add4a2 # shadow-4.11.1.tar.xz.asc
|
||||
# b085972a9378ecbe6cafee1a2e9baba1082531c77376c0aa14ad6e5c7392814c # LICENSE
|
||||
a955ecbd82a801102fad756bb98dca778c1eba14a3367c601d6237b75642c36b # chgpasswd
|
||||
7409cd2ab04592859d95986467123e356ada4e11413b314ad84e32dc24ca8c92 # chpasswd
|
||||
fc6807842f92e9d3f792d6b64a0d5aad87995a279153ab228b1b2a64d9f32f20 # defaults.pam
|
||||
# 63bb1d7a51a1ddbac7809ce3c6f07b995b4751dbb3d31e216cf91bed9a2aef53 # login.defs
|
||||
7409cd2ab04592859d95986467123e356ada4e11413b314ad84e32dc24ca8c92 # newusers
|
||||
75428a0f016cccbd9091c012b4d6b778d6ef8d97b607849b5ba1aca0314ed75b # passwd
|
||||
c7ae1086e00248915cf67d361482510ec00e728d21714d4e2b56b90cc9adac91 # useradd.defaults
|
||||
241155bb19faa3ec503586cbb302496d11765d843e56bb0ab50b5fa0c2eebe3f) # shadow-4.11.1-login.defs.patch
|
||||
|
||||
sha256sums=(41f093ce58b2ae5f389a1c5553e0c18bc73e6fe27f66273891991198a7707c95 # shadow-4.11.1.tar.xz
|
||||
58c563dcb21cb31ea9239f370108366c715fda92abed24b5990bb6dc80add4a2 # shadow-4.11.1.tar.xz.asc
|
||||
b085972a9378ecbe6cafee1a2e9baba1082531c77376c0aa14ad6e5c7392814c # LICENSE
|
||||
a955ecbd82a801102fad756bb98dca778c1eba14a3367c601d6237b75642c36b # chgpasswd
|
||||
7409cd2ab04592859d95986467123e356ada4e11413b314ad84e32dc24ca8c92 # chpasswd
|
||||
fc6807842f92e9d3f792d6b64a0d5aad87995a279153ab228b1b2a64d9f32f20 # defaults.pam
|
||||
63bb1d7a51a1ddbac7809ce3c6f07b995b4751dbb3d31e216cf91bed9a2aef53 # login.defs
|
||||
7409cd2ab04592859d95986467123e356ada4e11413b314ad84e32dc24ca8c92 # newusers
|
||||
75428a0f016cccbd9091c012b4d6b778d6ef8d97b607849b5ba1aca0314ed75b # passwd
|
||||
3dc50e83da9a4e7012da7ca14d34b50b36a0a56010314b19f7ef76757fe8d595) # useradd.defaults
|
||||
|
|
|
@ -1,46 +1,70 @@
|
|||
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
||||
# Maintainer: Aaron Griffin <aaron@archlinux.org>
|
||||
# Maintainer: David Runge <dvzrv@archlinux.org>
|
||||
# Contributor: Dave Reisner <dreisner@archlinux.org>
|
||||
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
||||
|
||||
pkgname=shadow
|
||||
pkgver=4.11.1
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc="Password and account management tool suite with support for shadow files and PAM"
|
||||
arch=('x86_64')
|
||||
url='https://github.com/shadow-maint/shadow'
|
||||
license=('BSD')
|
||||
# libcap-ng needed by install scriptlet for 'filecap'
|
||||
depends=('pam' 'acl' 'libacl.so' 'audit' 'libaudit.so' 'libcap-ng' 'libcap-ng.so'
|
||||
'libxcrypt' 'libcrypt.so')
|
||||
backup=(etc/login.defs
|
||||
etc/pam.d/{chage,passwd,shadow,useradd,usermod,userdel}
|
||||
etc/pam.d/{chpasswd,newusers,groupadd,groupdel,groupmod}
|
||||
etc/pam.d/{chgpasswd,groupmems}
|
||||
etc/default/useradd)
|
||||
options=('!emptydirs')
|
||||
validpgpkeys=('66D0387DB85D320F8408166DB175CFA98F192AF2') # Serge Hallyn
|
||||
source=("https://github.com/shadow-maint/shadow/releases/download/v$pkgver/shadow-$pkgver.tar.xz"{,.asc}
|
||||
LICENSE
|
||||
chgpasswd
|
||||
chpasswd
|
||||
defaults.pam
|
||||
login.defs
|
||||
newusers
|
||||
passwd
|
||||
shadow.{timer,service}
|
||||
useradd.defaults)
|
||||
depends=(
|
||||
'acl' 'libacl.so'
|
||||
'attr' 'libattr.so'
|
||||
'audit' 'libaudit.so'
|
||||
'glibc'
|
||||
'libcap-ng'
|
||||
'libxcrypt' 'libcrypt.so'
|
||||
'pam' 'libpam.so' 'libpam_misc.so'
|
||||
)
|
||||
backup=(
|
||||
etc/default/useradd
|
||||
etc/login.defs
|
||||
etc/pam.d/{chage,{,ch,chg}passwd,group{add,del,mems,mod},newusers,shadow,user{add,del,mod}}
|
||||
)
|
||||
options=(debug '!emptydirs')
|
||||
install=shadow.install
|
||||
sha1sums=('9cb767b86ff2b46e880b428e817972aa07b3a67c'
|
||||
'SKIP'
|
||||
'33a6cf1e44a1410e5c9726c89e5de68b78f5f922'
|
||||
'4ad0e059406a305c8640ed30d93c2a1f62c2f4ad'
|
||||
'12427b1ca92a9b85ca8202239f0d9f50198b818f'
|
||||
'0e56fed7fc93572c6bf0d8f3b099166558bb46f1'
|
||||
'81a02eadb5f605fef5c75b6d8a03713a7041864b'
|
||||
'12427b1ca92a9b85ca8202239f0d9f50198b818f'
|
||||
'611be25d91c3f8f307c7fe2485d5f781e5dee75f'
|
||||
'a154a94b47a3d0c6c287253b98c0d10b861226d0'
|
||||
'b5540736f5acbc23b568973eb5645604762db3dd'
|
||||
'c173208c5cf34528602f9931468a67b7f68abad3')
|
||||
source=(
|
||||
"https://github.com/shadow-maint/shadow/releases/download/v$pkgver/shadow-$pkgver.tar.xz"{,.asc}
|
||||
chgpasswd
|
||||
chpasswd
|
||||
defaults.pam
|
||||
newusers
|
||||
passwd
|
||||
shadow.{timer,service}
|
||||
useradd.defaults
|
||||
$pkgname-4.11.1-login.defs.patch
|
||||
)
|
||||
sha512sums=('12fbe4d6ac929ad3c21525ed0f1026b5b678ccec9762f2ec7e611d9c180934def506325f2835fb750dd30af035b592f827ff151cd6e4c805aaaf8e01425c279f'
|
||||
'SKIP'
|
||||
'aef316f283a0ba0387afd5bd049b20d748dcfe8aebc5f5ea1ce1308167d6a578ae7d0007a5ed4d9862de7d377851edd2c8771e1fb1076262468078c2c76e42fc'
|
||||
'dc75dfeafa901f9988176b82ef9db5d927dfe687a72ca36ca13ba3e7ac1b0c8055db1104373f2a7ac463e156f079cbc1f0a9f5e6e16b9f74153eb63dcb8f96df'
|
||||
'41c856d893c4157b158d79341fe2b1892be463e17f7a007f1c17397b5625c1d2d5671bc0b37879064ae715a918fb9b05c32d18d1aaa64284cddd8ecbda9b2434'
|
||||
'dc75dfeafa901f9988176b82ef9db5d927dfe687a72ca36ca13ba3e7ac1b0c8055db1104373f2a7ac463e156f079cbc1f0a9f5e6e16b9f74153eb63dcb8f96df'
|
||||
'4fb7474ea9dedf86e4c65bf18f503a6d8c00d477a7c32be3cfdfd026bd62ef866d009c50e5a2dc2101bea332c5697bc1e0d55225f39c83252860f5b9b7461aeb'
|
||||
'e4edf705dd04e088c6b561713eaa1afeb92f42ac13722bff037aede6ac5ad7d4d00828cfb677f7b1ff048db8b6788238c1ab6a71dfcfd3e02ef6cb78ae09a621'
|
||||
'67a49415f676a443f81021bfa29d198462008da1224086f8c549b19c2fd21514ca3302d5ac23edec28b9c724fef921596586423ebe41e852ebfbe7216af727e6'
|
||||
'e9ffea021ee4031b9ad3a534bfb94dbf9d0dfd45a55ecac5dedb2453ea0c17fb80bbb9ad039686bc1f3349dc371977eb548e3a665c56531469c22f29fc4eced8'
|
||||
'f5f1fad77363db46ca513c76f22654924dd732cdf2e596fcfccb0a47a70d6099b6705e90adb661cd45af076959ef1f9f6bba66942500e603df9421caa9ed2f80')
|
||||
b2sums=('d459a1e0ffb342b6b455caf65e6af60b32eee72d4a9b1ab126485fb4632503a42061d3f0b960554c8155af6dc0564c585335b27aecca6538b394a0d58d927588'
|
||||
'SKIP'
|
||||
'31e74eebedf8cb6e5ade36096b4399892d7091b9dce4645fde591f64802dc8befd73ae8019e78f8d326a605b224c7828694d21788bd6073db43c41cf5a9c2805'
|
||||
'1518839dbfe12f2f55190976de808515f93eb8c06f1570f02780a5ce8c237e0be43aa7cd0fbbe4c88af1f641586e4d3cf122896d97c7594ef72991e1801ee666'
|
||||
'5fde901d7d29995523cf261de973cc053265f37cf8fecc5511ccfff35a6ef4308f8cf36dc94e37c8b7604694ffa6ab87331c9b533b3538c6f7d7d911c9f94d19'
|
||||
'1518839dbfe12f2f55190976de808515f93eb8c06f1570f02780a5ce8c237e0be43aa7cd0fbbe4c88af1f641586e4d3cf122896d97c7594ef72991e1801ee666'
|
||||
'5b4e20609d38dcec82eae66acdfb7d45288574e7bf9684fa0f66bc0fb1c45cd78ee503d04a5084e28755fb7a1c6cea95854c93b33d76ab20964f45420c68403c'
|
||||
'5cfc936555aa2b2e15f8830ff83764dad6e11a80e2a102c5f2bd3b7c83db22a5457a3afdd182e3648c9d7d5bca90fa550f59576d0ac47a11a31dfb636cb18f2b'
|
||||
'4a9cb6fe6658f2182655d42761d9d669654c6f0e891610e1b7fd256ce32a561f05e71daf8e473d98f16f5ee9d16d46a097a2d0de42eac58b4ce3be1525a74856'
|
||||
'd5bea0cfc2e6d3d1749c65440ca911533d41b6f8117fe09e9efec23524637cfa823d230303a7fbb45d3cd251bf8036d48b9b21049ced208f7ed191fcbd75e879'
|
||||
'ecc517a22ba12bd7afa3a0eefb68febf27b164cfac6502e66930bd12c62947ae362b4113472544fddc2f39e9c64d78cc662605a359c9988baaba8613d4c0f468')
|
||||
validpgpkeys=('66D0387DB85D320F8408166DB175CFA98F192AF2') # Serge Hallyn <sergeh@kernel.org>
|
||||
|
||||
prepare() {
|
||||
# comment options that are taken over by util-linux and apply defaults
|
||||
patch -Np1 -d "$pkgname-$pkgver" -i ../$pkgname-4.11.1-login.defs.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
@ -53,12 +77,17 @@ build() {
|
|||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--disable-account-tools-setuid \
|
||||
--with-fcaps \
|
||||
--with-libpam \
|
||||
--with-group-name-max-length=32 \
|
||||
--with-audit \
|
||||
--with-bcrypt \
|
||||
--with-yescrypt \
|
||||
--without-selinux \
|
||||
--without-su
|
||||
|
||||
# prevent excessive overlinking due to libtool
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -69,43 +98,37 @@ package() {
|
|||
make DESTDIR="$pkgdir" -C man install
|
||||
|
||||
# license
|
||||
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/shadow/LICENSE"
|
||||
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
|
||||
# useradd defaults
|
||||
install -Dm600 "$srcdir/useradd.defaults" "$pkgdir/etc/default/useradd"
|
||||
# custom useradd(8) defaults (not provided by upstream)
|
||||
install -vDm 600 ../useradd.defaults "$pkgdir/etc/default/useradd"
|
||||
|
||||
# systemd units
|
||||
install -D -m644 "$srcdir/shadow.timer" "$pkgdir/usr/lib/systemd/system/shadow.timer"
|
||||
install -D -m644 "$srcdir/shadow.service" "$pkgdir/usr/lib/systemd/system/shadow.service"
|
||||
install -d -m755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
|
||||
install -vDm 644 "../shadow.timer" -t "$pkgdir/usr/lib/systemd/system/"
|
||||
install -vDm 644 "../shadow.service" -t "$pkgdir/usr/lib/systemd/system/"
|
||||
install -vdm 755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
|
||||
ln -s ../shadow.timer "$pkgdir/usr/lib/systemd/system/timers.target.wants/shadow.timer"
|
||||
|
||||
# login.defs
|
||||
install -Dm644 "$srcdir/login.defs" "$pkgdir/etc/login.defs"
|
||||
|
||||
# PAM config - custom
|
||||
rm "$pkgdir/etc/pam.d"/*
|
||||
install -t "$pkgdir/etc/pam.d" -m644 "$srcdir"/{passwd,chgpasswd,chpasswd,newusers}
|
||||
install -vDm 644 ../{passwd,chgpasswd,chpasswd,newusers} -t "$pkgdir/etc/pam.d/"
|
||||
|
||||
# PAM config - from tarball
|
||||
install -Dm644 etc/pam.d/groupmems "$pkgdir/etc/pam.d/groupmems"
|
||||
install -vDm 644 etc/pam.d/groupmems -t "$pkgdir/etc/pam.d/"
|
||||
|
||||
# we use the 'useradd' PAM file for other similar utilities
|
||||
for file in chage groupadd groupdel groupmod shadow \
|
||||
useradd usermod userdel; do
|
||||
install -Dm644 "$srcdir/defaults.pam" "$pkgdir/etc/pam.d/$file"
|
||||
for file in chage group{add,del,mod} shadow user{add,del,mod}; do
|
||||
install -vDm 644 "../defaults.pam" "$pkgdir/etc/pam.d/$file"
|
||||
done
|
||||
|
||||
# Remove evil/broken tools
|
||||
rm "$pkgdir"/usr/sbin/logoutd
|
||||
rm -v "$pkgdir"/usr/sbin/logoutd
|
||||
|
||||
# Remove utilities provided by util-linux
|
||||
rm \
|
||||
"$pkgdir"/usr/bin/{login,chsh,chfn,sg,nologin} \
|
||||
"$pkgdir"/usr/sbin/{vipw,vigr}
|
||||
rm -v "$pkgdir"/usr/{bin/{login,chsh,chfn,sg,nologin},sbin/{vipw,vigr}}
|
||||
|
||||
# but we keep newgrp, as sg is really an alias to it
|
||||
mv "$pkgdir"/usr/bin/{newgrp,sg}
|
||||
mv -v "$pkgdir"/usr/bin/{newgrp,sg}
|
||||
|
||||
# ...and their many man pages
|
||||
find "$pkgdir"/usr/share/man \
|
||||
|
@ -121,6 +144,8 @@ package() {
|
|||
-delete
|
||||
|
||||
# move everything else to /usr/bin, because this isn't handled by ./configure
|
||||
mv "$pkgdir"/usr/sbin/* "$pkgdir"/usr/bin
|
||||
rmdir "$pkgdir/usr/sbin"
|
||||
mv -v "$pkgdir"/usr/sbin/* "$pkgdir"/usr/bin
|
||||
rmdir -v "$pkgdir/usr/sbin"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
autoconf
|
||||
gettext
|
||||
automake
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,308 @@
|
|||
diff --git i/etc/login.defs w/etc/login.defs
|
||||
index 114dbcd9..4cb8cdf5 100644
|
||||
--- i/etc/login.defs
|
||||
+++ w/etc/login.defs
|
||||
@@ -3,6 +3,8 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
+# This file is adapted for the use on Arch Linux.
|
||||
+# Options unsupported due to the use of util-linux or PAM are commented.
|
||||
|
||||
#
|
||||
# Delay in seconds before being allowed another attempt after a login failure
|
||||
@@ -14,7 +16,7 @@ FAIL_DELAY 3
|
||||
#
|
||||
# Enable logging and display of /var/log/faillog login(1) failure info.
|
||||
#
|
||||
-FAILLOG_ENAB yes
|
||||
+# FAILLOG_ENAB is currently not supported
|
||||
|
||||
#
|
||||
# Enable display of unknown usernames when login(1) failures are recorded.
|
||||
@@ -24,12 +26,12 @@ LOG_UNKFAIL_ENAB no
|
||||
#
|
||||
# Enable logging of successful logins
|
||||
#
|
||||
-LOG_OK_LOGINS no
|
||||
+# LOG_OK_LOGINS is currently not supported
|
||||
|
||||
#
|
||||
# Enable logging and display of /var/log/lastlog login(1) time info.
|
||||
#
|
||||
-LASTLOG_ENAB yes
|
||||
+# LASTLOG_ENAB is currently not supported
|
||||
|
||||
#
|
||||
# Limit the highest user ID number for which the lastlog entries should
|
||||
@@ -46,28 +48,28 @@ LASTLOG_ENAB yes
|
||||
# Disable if the shell startup files already check for mail
|
||||
# ("mailx -e" or equivalent).
|
||||
#
|
||||
-MAIL_CHECK_ENAB yes
|
||||
+# MAIL_CHECK_ENAB is currently not supported
|
||||
|
||||
#
|
||||
# Enable additional checks upon password changes.
|
||||
#
|
||||
-OBSCURE_CHECKS_ENAB yes
|
||||
+# OBSCURE_CHECKS_ENAB is currently not supported
|
||||
|
||||
#
|
||||
# Enable checking of time restrictions specified in /etc/porttime.
|
||||
#
|
||||
-PORTTIME_CHECKS_ENAB yes
|
||||
+# PORTTIME_CHECKS_ENAB is currently not supported
|
||||
|
||||
#
|
||||
# Enable setting of ulimit, umask, and niceness from passwd(5) gecos field.
|
||||
#
|
||||
-QUOTAS_ENAB yes
|
||||
+# QUOTAS_ENAB is currently not supported
|
||||
|
||||
#
|
||||
# Enable "syslog" logging of su(1) activity - in addition to sulog file logging.
|
||||
# SYSLOG_SG_ENAB does the same for newgrp(1) and sg(1).
|
||||
#
|
||||
-SYSLOG_SU_ENAB yes
|
||||
+# SYSLOG_SU_ENAB is currently not supported
|
||||
SYSLOG_SG_ENAB yes
|
||||
|
||||
#
|
||||
@@ -75,44 +77,43 @@ SYSLOG_SG_ENAB yes
|
||||
# a ":" delimited list of device names. Root logins will be allowed only
|
||||
# from these devices.
|
||||
#
|
||||
-CONSOLE /etc/securetty
|
||||
-#CONSOLE console:tty01:tty02:tty03:tty04
|
||||
+# CONSOLE is currently not supported
|
||||
|
||||
#
|
||||
# If defined, all su(1) activity is logged to this file.
|
||||
#
|
||||
-#SULOG_FILE /var/log/sulog
|
||||
+# SULOG_FILE is currently not supported
|
||||
|
||||
#
|
||||
# If defined, ":" delimited list of "message of the day" files to
|
||||
# be displayed upon login.
|
||||
#
|
||||
-MOTD_FILE /etc/motd
|
||||
+MOTD_FILE
|
||||
#MOTD_FILE /etc/motd:/usr/lib/news/news-motd
|
||||
|
||||
#
|
||||
# If defined, this file will be output before each login(1) prompt.
|
||||
#
|
||||
-#ISSUE_FILE /etc/issue
|
||||
+# ISSUE_FILE is currently not supported
|
||||
|
||||
#
|
||||
# If defined, file which maps tty line to TERM environment parameter.
|
||||
# Each line of the file is in a format similar to "vt100 tty01".
|
||||
#
|
||||
-#TTYTYPE_FILE /etc/ttytype
|
||||
+# TTYTYPE_FILE is currently not supported
|
||||
|
||||
#
|
||||
# If defined, login(1) failures will be logged here in a utmp format.
|
||||
# last(1), when invoked as lastb(1), will read /var/log/btmp, so...
|
||||
#
|
||||
-FTMP_FILE /var/log/btmp
|
||||
+# FTMP_FILE is currently not supported
|
||||
|
||||
#
|
||||
# If defined, name of file whose presence will inhibit non-root
|
||||
# logins. The content of this file should be a message indicating
|
||||
# why logins are inhibited.
|
||||
#
|
||||
-NOLOGINS_FILE /etc/nologin
|
||||
+# NOLOGINS_FILE is currently not supported
|
||||
|
||||
#
|
||||
# If defined, the command name to display when running "su -". For
|
||||
@@ -120,7 +121,7 @@ NOLOGINS_FILE /etc/nologin
|
||||
# command as "-su". If not defined, then ps(1) will display the
|
||||
# name of the shell actually being run, e.g. something like "-sh".
|
||||
#
|
||||
-SU_NAME su
|
||||
+# SU_NAME is currently not supported
|
||||
|
||||
#
|
||||
# *REQUIRED*
|
||||
@@ -143,23 +144,22 @@ HUSHLOGIN_FILE .hushlogin
|
||||
# If defined, either a TZ environment parameter spec or the
|
||||
# fully-rooted pathname of a file containing such a spec.
|
||||
#
|
||||
-#ENV_TZ TZ=CST6CDT
|
||||
-#ENV_TZ /etc/tzname
|
||||
+# ENV_TZ is currently not supported
|
||||
|
||||
#
|
||||
# If defined, an HZ environment parameter spec.
|
||||
#
|
||||
# for Linux/x86
|
||||
-ENV_HZ HZ=100
|
||||
+# ENV_HZ HZ=100
|
||||
# For Linux/Alpha...
|
||||
-#ENV_HZ HZ=1024
|
||||
+# ENV_HZ is currently not supported
|
||||
|
||||
#
|
||||
# *REQUIRED* The default PATH settings, for superuser and normal users.
|
||||
#
|
||||
# (they are minimal, add the rest in the shell startup files)
|
||||
-ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
-ENV_PATH PATH=/bin:/usr/bin
|
||||
+ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
|
||||
+ENV_PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
|
||||
|
||||
#
|
||||
# Terminal permissions
|
||||
@@ -188,9 +188,9 @@ TTYPERM 0600
|
||||
#
|
||||
# Prefix these values with "0" to get octal, "0x" to get hexadecimal.
|
||||
#
|
||||
-ERASECHAR 0177
|
||||
-KILLCHAR 025
|
||||
-#ULIMIT 2097152
|
||||
+# ERASECHAR is currently not supported
|
||||
+# KILLCHAR is currently not supported
|
||||
+# ULIMIT is currently not supported
|
||||
|
||||
# Default initial "umask" value used by login(1) on non-PAM enabled systems.
|
||||
# Default "umask" value for pam_umask(8) on PAM enabled systems.
|
||||
@@ -199,7 +199,7 @@ KILLCHAR 025
|
||||
# 022 is the default value, but 027, or even 077, could be considered
|
||||
# for increased privacy. There is no One True Answer here: each sysadmin
|
||||
# must make up their mind.
|
||||
-UMASK 022
|
||||
+UMASK 077
|
||||
|
||||
# HOME_MODE is used by useradd(8) and newusers(8) to set the mode for new
|
||||
# home directories.
|
||||
@@ -216,7 +216,7 @@ UMASK 022
|
||||
#
|
||||
PASS_MAX_DAYS 99999
|
||||
PASS_MIN_DAYS 0
|
||||
-PASS_MIN_LEN 5
|
||||
+# PASS_MIN_LEN is currently not supported
|
||||
PASS_WARN_AGE 7
|
||||
|
||||
#
|
||||
@@ -225,12 +225,12 @@ PASS_WARN_AGE 7
|
||||
# to uid 0 accounts. If the group doesn't exist or is empty, no one
|
||||
# will be able to "su" to uid 0.
|
||||
#
|
||||
-SU_WHEEL_ONLY no
|
||||
+# SU_WHEEL_ONLY is currently not supported
|
||||
|
||||
#
|
||||
# If compiled with cracklib support, sets the path to the dictionaries
|
||||
#
|
||||
-CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict
|
||||
+# CRACKLIB_DICTPATH is currently not supported
|
||||
|
||||
#
|
||||
# Min/max values for automatic uid selection in useradd(8)
|
||||
@@ -238,7 +238,7 @@ CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict
|
||||
UID_MIN 1000
|
||||
UID_MAX 60000
|
||||
# System accounts
|
||||
-SYS_UID_MIN 101
|
||||
+SYS_UID_MIN 500
|
||||
SYS_UID_MAX 999
|
||||
# Extra per user uids
|
||||
SUB_UID_MIN 100000
|
||||
@@ -251,7 +251,7 @@ SUB_UID_COUNT 65536
|
||||
GID_MIN 1000
|
||||
GID_MAX 60000
|
||||
# System accounts
|
||||
-SYS_GID_MIN 101
|
||||
+SYS_GID_MIN 500
|
||||
SYS_GID_MAX 999
|
||||
# Extra per user group ids
|
||||
SUB_GID_MIN 100000
|
||||
@@ -271,24 +271,24 @@ LOGIN_TIMEOUT 60
|
||||
#
|
||||
# Maximum number of attempts to change password if rejected (too easy)
|
||||
#
|
||||
-PASS_CHANGE_TRIES 5
|
||||
+# PASS_CHANGE_TRIES is currently not supported
|
||||
|
||||
#
|
||||
# Warn about weak passwords (but still allow them) if you are root.
|
||||
#
|
||||
-PASS_ALWAYS_WARN yes
|
||||
+# PASS_ALWAYS_WARN is currently not supported
|
||||
|
||||
#
|
||||
# Number of significant characters in the password for crypt().
|
||||
# Default is 8, don't change unless your crypt() is better.
|
||||
# Ignored if MD5_CRYPT_ENAB set to "yes".
|
||||
#
|
||||
-#PASS_MAX_LEN 8
|
||||
+# PASS_MAX_LEN is currently not supported
|
||||
|
||||
#
|
||||
# Require password before chfn(1)/chsh(1) can make any changes.
|
||||
#
|
||||
-CHFN_AUTH yes
|
||||
+# CHFN_AUTH is currently not supported
|
||||
|
||||
#
|
||||
# Which fields may be changed by regular users using chfn(1) - use
|
||||
@@ -303,7 +303,7 @@ CHFN_RESTRICT rwh
|
||||
#
|
||||
# XXX - it doesn't work correctly yet, for now leave it commented out
|
||||
# to use the default which is just "Password: ".
|
||||
-#LOGIN_STRING "%s's Password: "
|
||||
+# LOGIN_STRING is currently not supported
|
||||
|
||||
#
|
||||
# Only works if compiled with MD5_CRYPT defined:
|
||||
@@ -318,7 +318,7 @@ CHFN_RESTRICT rwh
|
||||
#
|
||||
# This variable is deprecated. You should use ENCRYPT_METHOD instead.
|
||||
#
|
||||
-#MD5_CRYPT_ENAB no
|
||||
+# MD5_CRYPT_ENAB is currently not supported
|
||||
|
||||
#
|
||||
# Only works if compiled with ENCRYPTMETHOD_SELECT defined:
|
||||
@@ -334,7 +334,7 @@ CHFN_RESTRICT rwh
|
||||
# Note: If you use PAM, it is recommended to use a value consistent with
|
||||
# the PAM modules configuration.
|
||||
#
|
||||
-#ENCRYPT_METHOD DES
|
||||
+ENCRYPT_METHOD SHA512
|
||||
|
||||
#
|
||||
# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
|
||||
@@ -390,7 +390,7 @@ CHFN_RESTRICT rwh
|
||||
# access to these groups, even when not logged in from the console.
|
||||
# How to do it is left as an exercise for the reader...
|
||||
#
|
||||
-#CONSOLE_GROUPS floppy:audio:cdrom
|
||||
+# CONSOLE_GROUPS is currently not supported
|
||||
|
||||
#
|
||||
# Should login be allowed if we can't cd to the home directory?
|
||||
@@ -410,7 +410,7 @@ NONEXISTENT /nonexistent
|
||||
# If this file exists and is readable, login environment will be
|
||||
# read from it. Every line should be in the form name=value.
|
||||
#
|
||||
-ENVIRON_FILE /etc/environment
|
||||
+# ENVIRON_FILE is currently not supported
|
||||
|
||||
#
|
||||
# If defined, this command is run when removing a user.
|
||||
@@ -465,7 +465,7 @@ 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
|
||||
+# PREVENT_NO_AUTH is currently not supported
|
||||
|
||||
#
|
||||
# Select the HMAC cryptography algorithm.
|
|
@ -1,9 +1,27 @@
|
|||
# useradd defaults file for ArchLinux
|
||||
# original changes by TomK
|
||||
GROUP=users
|
||||
HOME=/home
|
||||
INACTIVE=-1
|
||||
EXPIRE=
|
||||
# Default values for useradd(8)
|
||||
#
|
||||
# The SHELL variable specifies the default login shell on your
|
||||
# system.
|
||||
SHELL=/bin/bash
|
||||
|
||||
# The default group for users
|
||||
GROUP=users
|
||||
|
||||
# The default home directory.
|
||||
HOME=/home
|
||||
|
||||
# The number of days after a password expires until the account is permanently
|
||||
# disabled
|
||||
INACTIVE=-1
|
||||
|
||||
# The default expire date
|
||||
EXPIRE=
|
||||
|
||||
# The SKEL variable specifies the directory containing "skeletal" user files;
|
||||
# in other words, files such as a sample .profile that will be copied to the
|
||||
# new user's home directory when it is created.
|
||||
SKEL=/etc/skel
|
||||
|
||||
# Defines whether the mail spool should be created while
|
||||
# creating the account
|
||||
CREATE_MAIL_SPOOL=no
|
||||
|
|
Loading…
Reference in New Issue