kull.masa-ayar.aktarim
This commit is contained in:
parent
ce0725c65b
commit
a8847ae9d3
1 changed files with 4 additions and 0 deletions
4
bin/ko
4
bin/ko
|
@ -122,6 +122,10 @@ else
|
|||
/sbin/useradd -c "${description}" -G "$user_groups" -m "${name}" || exit 1
|
||||
fi
|
||||
|
||||
if [ -f /root/.xinitrc ]; then
|
||||
cp /root/.xinitrc /home/${name}/
|
||||
fi
|
||||
|
||||
passwd "$name"
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue