Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

A friend used my old laptop to write an .rtf document. Lacking the administrator password, he used a guest account. Now I'm trying to get the document for him.

It seems that using a guest account requires a password I don't know. Searching the hd while logged in to my account is turning anything up. Perhaps docs created from another account are hidden from me, or perhaps I'm not searching right (using catfish because I am a novice user)?

share|improve this question
    
i think your out of luck, AS FAR AS I KNOW guest account erases everything each time you logout, someone else might confirm this? –  Sam Nov 26 '12 at 20:27
    
try looking in the tmp folder? –  Magpie Nov 26 '12 at 21:24
    
@Magpie, good idea, unfortunately I'm seeing an "access denied" message when I try to get into a sub-folder that looks promising. Sam, wow that's brutal... is there a warning I missed somewhere? –  Michael Bishop Nov 27 '12 at 0:27
    
Did you try using sudo when you went in? –  Magpie Nov 28 '12 at 19:02
add comment

1 Answer

up vote 3 down vote accepted

Guest accounts store their home directory in /tmp.

So if you rebooted, the document is absolutely gone since tmp is not stored to disk.

If you didn't reboot, the home directory for the guest is in /tmp, it will be /tmp/guest-XXXXX, where XXXXX is a random string of characters. You can use sudo to look in that directory.

EDIT: Here's a simple way to take ownership of the guest directory so you can poke around in it, substituting the real directory name for XXXXX

 sudo chown -R `whoami`:`whoami` /tmp/guest-XXXXX

Once you do that just cd into that directory and poke around, or you can use Nautilus to look at files.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.