Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I made some changes to ~/.pam_environment but I made a mistake. There's a problem with the file syntax now and I can't log in. My home directory is encrypted and I don't have a backup user account to use. I've done some research on mounting it from a Live CD, but it seems to be read only.

Is there a way to force it to skip that file or to mount the file system in read/write mode?

share|improve this question
up vote 1 down vote accepted

"That file" (~/.pam_environment) is unavailable until you mount and decrypt you8r home directory!

Once you've booted a Live CD, you can gain read/write access with mount -o remount,rw <device> command, then follow these instructions.

share|improve this answer

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.