build-fhs-userenv: bind /etc/profiles
This commit is contained in:
parent
65de42b9cc
commit
fe49d856b0
@ -35,6 +35,8 @@ let
|
|||||||
"hosts"
|
"hosts"
|
||||||
"resolv.conf"
|
"resolv.conf"
|
||||||
"nsswitch.conf"
|
"nsswitch.conf"
|
||||||
|
# User profiles
|
||||||
|
"profiles"
|
||||||
# Sudo & Su
|
# Sudo & Su
|
||||||
"login.defs"
|
"login.defs"
|
||||||
"sudoers"
|
"sudoers"
|
||||||
|
@ -89,6 +89,9 @@ let
|
|||||||
ln -s /host/etc/resolv.conf resolv.conf
|
ln -s /host/etc/resolv.conf resolv.conf
|
||||||
ln -s /host/etc/nsswitch.conf nsswitch.conf
|
ln -s /host/etc/nsswitch.conf nsswitch.conf
|
||||||
|
|
||||||
|
# symlink user profiles
|
||||||
|
ln -s /host/etc/profiles profiles
|
||||||
|
|
||||||
# symlink sudo and su stuff
|
# symlink sudo and su stuff
|
||||||
ln -s /host/etc/login.defs login.defs
|
ln -s /host/etc/login.defs login.defs
|
||||||
ln -s /host/etc/sudoers sudoers
|
ln -s /host/etc/sudoers sudoers
|
||||||
|
Loading…
Reference in New Issue
Block a user