Basically, the following happened on a debian 6 box, running xfs and i'd really like to know how it was achieved (its a setuid directory);
Code: Select all
{5755}(user@machine) [1:j]-->sudo adduser t
Adding user `t' ...
Adding new group `t' (1001) ...
Adding new user `t' (1001) with group `t' ...
Creating home directory `/home/t' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for t
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] y
{5756}(user@machine) [1:j]-->sudo chmod 6777 /home/t
{5757}(user@machine) [1:j]-->touch /home/t/somefile
{5758}(user@machine) [1:j]-->ls -al /home/t/somefile
-rw-rw-r-- 1 t t 0 2012-02-17 09:23 /home/t/somefile
{5759}(user@machine) [1:j]-->