debug
This commit is contained in:
parent
58feedfcf7
commit
c5ddb22e60
1 changed files with 7 additions and 0 deletions
|
@ -1471,7 +1471,14 @@ chuser () {
|
||||||
[ $(id -u) -gt 0 ] && return
|
[ $(id -u) -gt 0 ] && return
|
||||||
u_id="$(id -u $1)"
|
u_id="$(id -u $1)"
|
||||||
g_id="$(id -g $1)"
|
g_id="$(id -g $1)"
|
||||||
|
|
||||||
install -o ${u_id} -g ${g_id} -m 0700 /run/user/${u_id}
|
install -o ${u_id} -g ${g_id} -m 0700 /run/user/${u_id}
|
||||||
|
|
||||||
|
cat << EOF
|
||||||
|
u_id: ${u_id}
|
||||||
|
g_id: ${g_id}
|
||||||
|
$(ls /run/user)
|
||||||
|
EOF
|
||||||
cp ${getbashrcfile} /run/user/${u_id}/.
|
cp ${getbashrcfile} /run/user/${u_id}/.
|
||||||
cp ${getvimrcfile} /run/user/${u_id}/.
|
cp ${getvimrcfile} /run/user/${u_id}/.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue