I work at a small company and use Putty on a windows machine to tunnel into our file server as "root." It is a very simple file server running Samba with about 30 users. Each user has distinct permissions (ACLs).
Now, I would like to know if there is a way for me to switch to another user while logged in as root in order to check the ACL permissions.
For example, I have tried:
This switches me to the username specified but it also gives the username superuser permissions, so when I enter a directory and then "ls" I see what root would see instead of seeing what the user would actually see without superuser permissions.
Thank you in advance for your assistance.
EDIT: This is the output of
ls -lsa / | grep -e root$
4 drwxr-xr-x 43 root root 4096 2011-02-23 11:54 root