Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'It doesn't properly' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
It doesn't properly
Authored by: Shawn Parr on Feb 18, '05 10:26:24PM

sudo is temporary. So after the cd would finish, you would be in a directory you have no access to, and hence might get stuck in. Imagine when you get in there, you have no permissions to list anything, see anything, write to anything, or even back out of there. (I am probably wrong about the backing out, but hey it is humorous to contemplate :) )

If you need to get into a directory with special permissions, or owned by another user, sudo -s initiates an interactive shell as root for you. i.e. it is similar to just typing su in linux/bsd/unix.



[ Reply to This | # ]