void-packages/srcpkgs/base-files/files/profile
dota? =op f338144a01 Use pam_umask.so instead of /etc/profile.
Instead of setting teh default umask at /etc/profile, let pam_umask.so
do it's job. Also allow usergroups!
2014-12-24 10:35:09 -02:00

15 lines
313 B
Bash

# /etc/profile
# System wide environment and startup programs.
# Set our default path
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin"
export PATH
# Load profiles from /etc/profile.d
if [ -d /etc/profile.d/ ]; then
for f in /etc/profile.d/*.sh; do
[ -r "$f" ] && . "$f"
done
unset f
fi