Fix script-user-add
This commit is contained in:
@@ -53,6 +53,8 @@ echo "$username:$start_uid:$id_num" >> /etc/subuid
|
|||||||
echo "$username:$start_gid:$id_num" >> /etc/subgid
|
echo "$username:$start_gid:$id_num" >> /etc/subgid
|
||||||
|
|
||||||
# Copy manual to user desktop
|
# Copy manual to user desktop
|
||||||
|
mkdir /home/"$username"/Desktop/
|
||||||
ln -s README.html /home/"$username"/Desktop/
|
ln -s README.html /home/"$username"/Desktop/
|
||||||
|
chown "$username":"$username" -R /home/"$username"/Desktop
|
||||||
|
|
||||||
exit $?
|
exit $?
|
||||||
|
|||||||
Reference in New Issue
Block a user