sudo: simplify pam file, revbump.
This commit is contained in:
parent
77cd37f784
commit
2a1575e81c
|
@ -1,6 +1,2 @@
|
||||||
auth required pam_unix.so
|
auth required pam_unix.so
|
||||||
account required pam_unix.so
|
auth required pam_nologin.so
|
||||||
session optional pam_mail.so dir=/var/mail standard
|
|
||||||
session optional pam_xauth.so
|
|
||||||
session required pam_env.so
|
|
||||||
session required pam_unix.so
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ build_style=gnu-configure
|
||||||
configure_args="--with-ignore-dot -with-all-insults --with-env-editor
|
configure_args="--with-ignore-dot -with-all-insults --with-env-editor
|
||||||
--enable-shell-sets-home --enable-noargs-shell --without-sendmail
|
--enable-shell-sets-home --enable-noargs-shell --without-sendmail
|
||||||
--disable-root-sudo --with-logfac=auth --disable-root-mailer"
|
--disable-root-sudo --with-logfac=auth --disable-root-mailer"
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Allow others to run commands as root"
|
short_desc="Allow others to run commands as root"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gratisoft.us/sudo/"
|
homepage="http://www.gratisoft.us/sudo/"
|
||||||
|
@ -26,7 +26,6 @@ Add_dependency build zlib-devel
|
||||||
Add_dependency build pam-devel
|
Add_dependency build pam-devel
|
||||||
Add_dependency build coreutils
|
Add_dependency build coreutils
|
||||||
|
|
||||||
post_install()
|
post_install() {
|
||||||
{
|
|
||||||
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
|
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue