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've made a personal Live CD on Ubuntu builder but I didn't add a password to the Live CD.

Is it possible to add a password to a live CD in any way? (before or after creating the CD)

share|improve this question

2 Answers 2

You will have to edit the casper scripts.

This varies slightly between versions of Ubuntu, see:


share|improve this answer

As Ubuntu wiki page says:

You can set a password during a LiveCD session by opening a terminal, and typing in:

sudo passwd ubuntu

Note that this will set the password only for the current session (which is far less useful).

share|improve this answer
some source of verification would be useful for this answer I think –  Anwar Shah Sep 17 '12 at 15:42
That method only sets a password for the current session and will not persist with a reboot. –  bodhi.zazen Sep 17 '12 at 19:22

Your Answer


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.