Deleting all apps apart from those used in Ch1 and Ch2 labs
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
USER_ID=$(id -u)
|
||||
if [ ${USER_UID} != ${USER_ID} ]; then
|
||||
sed "s@${USER_NAME}:x:\${USER_ID}:@${USER_NAME}:x:${USER_ID}:@g" /etc/passwd.template > /etc/passwd
|
||||
fi
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user