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.

I want to access the root account home folder to delete some files because when I logging to Ubuntu 12.04 it says that no enough memory to write after typing the password. But i can log into guest user account. To get the memory how can i delete the file from guest user account? ( I have the root password because I'm the root).

share|improve this question

closed as unclear what you're asking by mikewhatever, guntbert, BuZZ-dEE, falconer, minerz029 Jan 11 at 22:44

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer 1

up vote 2 down vote accepted

You can not access root from guest account. Rather you can try to login to a virtual console. For that you need to hit Ctrl+Alt+F1 at your login screen.

At virtual console to login into the CLI enter your username and password. To move to root accounts home folder use the following commands,

$ sudo -i

Check the present directory using the command

$ pwd
/root

Now delete at your wish using the following command,

rm -ri <folder>  # To delete folder
rm -i <file>  # To delete file
share|improve this answer
    
Thanks mate problem solved. :) –  Lasith Malinga Jan 11 at 17:20
add comment

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