shadow config remove selinux stuff
This commit is contained in:
1 parent
5166e7f7a0
commit
bcf3fb7c1b
2 files changed
+3
-1
No files matched your search
@@ -3,6 +3,6 @@ GROUP=users
|
||||
HOME=/data/user
|
||||
INACTIVE=-1
|
||||
EXPIRE=
|
||||
SHELL=/bin/bash
|
||||
SHELL=/bin/ash
|
||||
SKEL=/etc/skel
|
||||
CREATE_MAIL_SPOOL=no
|
||||
@@ -46,6 +46,8 @@ build(){
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
# remove selinux stuff
|
||||
sed -i "/.*selinux.*/d" ${DESTDIR}/etc/pam.d/*
|
||||
install -vDm 600 ../useradd.defaults "${DESTDIR}/etc/default/useradd"
|
||||
install -vDm 600 ../system-auth "${DESTDIR}/etc/pam.d/system-auth.d/50-shadow"
|
||||
install -vDm 755 ../shadow.sysconf ${DESTDIR}/etc/sysconf.d/shadow
|
||||
|
||||
Reference in new issue
Block a user