Updated debug & log information
This commit is contained in:
@@ -23,11 +23,12 @@ ln /home/foo/toto /home/foo/.tata
|
||||
ln -s /home/foo/toto /home/foo/tutu
|
||||
mknod /home/foo/null c 1 3
|
||||
chown -R foo:foo /home/foo
|
||||
stat --printf "%A %u:%g %N\n" /home/foo/* /home/foo/.* 2>/dev/null | sort
|
||||
|
||||
mkdir /tmp/home
|
||||
mount --bind /home /tmp/home
|
||||
|
||||
echo -n "Change the user's home directory (usermod -m -d /home/foo2 foo)..."
|
||||
echo -n "Change the user's home directory (usermod -m -d /tmp/home/foo2 -u 1001 foo ..."
|
||||
usermod -m -d /tmp/home/foo2 -u 1001 foo
|
||||
echo "OK"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user