Cant make --firstlogin option work.

Jarl Friis jarl at gavia.dk
Thu Jun 25 12:52:27 UTC 2009


Hi.

On my Jaunty 9.04 server box I follow the description on
https://help.ubuntu.com/9.04/serverguide/C/jeos-and-vmbuilder.html

I use a login.sh that contains:
--------------------------------------------------
echo "Your appliance is about to be finished to be set up."
echo "In order to do it, we'll need to ask you a few questions,"
echo "starting by changing your user password."

passwd
--------------------------------------------------

The result is strange.

When I have logged in, it asks me for password, with the prompt
[sudo] password for jarl:

I enter the password "default", and nothing happens.
Why is it asking me for sudo password?
Why is it not echoing the three lines?
Why does it not execute passwd?

Any hints?

Jarl





More information about the ubuntu-server mailing list