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