-Config_RootUser() {
- if [ "$UID" = "0" ]; then
- user=`grep "^.*:.*:0:" /etc/passwd | cut -d':' -f1`
- home=`grep "^.*:.*:0:" /etc/passwd | cut -d':' -f6`
- Config_User "$user" "$home"
+Config_Skel() {
+ if [ -w /etc/skel -a -z "$I_local" ]; then
+ Msg "Starting \"/etc/skel\" configuration:\n"
+ Msg " - bash shell:\n"
+ Copy_File user/bash_logout /etc/skel/.bash_logout root:0 644
+ if [ -e /etc/skel/.profile ]; then
+ Copy_File user/bash_profile /etc/skel/.profile root:0 644
+ else
+ Copy_File user/bash_profile /etc/skel/.bash_profile root:0 644
+ fi
+ Copy_File user/bashrc /etc/skel/.bashrc root:0 644