Merge pull request #773 from ayghor/master

Use pam_umask(8) instead of /etc/profile.
This commit is contained in:
Juan RP 2014-12-25 19:23:47 +01:00
commit 31aa62bab8
6 changed files with 5 additions and 7 deletions

View file

@ -2,9 +2,6 @@
# System wide environment and startup programs.
#Set our umask
umask 022
# Set our default path
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin"
export PATH

View file

@ -1,7 +1,7 @@
# Template file for 'base-files'
pkgname=base-files
version=0.114
revision=1
revision=2
bootstrap=yes
build_style="meta"
depends="base-directories xbps-triggers"

View file

@ -11,6 +11,7 @@ account required pam_time.so
password required pam_unix.so try_first_pass nullok sha512 shadow
password optional pam_permit.so
session optional pam_umask.so usergroups
session required pam_limits.so
session required pam_unix.so
session optional pam_permit.so

View file

@ -1,7 +1,7 @@
# Template file for 'pam-base'
pkgname=pam-base
version=0.1
revision=1
revision=2
noarch=yes
short_desc="PAM base configuration files"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -74,7 +74,7 @@ TTYPERM 0600
#
ERASECHAR 0177
KILLCHAR 025
UMASK 077
UMASK 022
# Max number of login retries if password is bad
#

View file

@ -1,7 +1,7 @@
# Template file for 'shadow'
pkgname=shadow
version=4.2.1
revision=3
revision=4
build_style=gnu-configure
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
--libdir=/usr/lib --enable-shared --disable-static