With 11.10 when any of my users with the bash shell login upon success they are asked to provide their sudo password e.g.
Last login: Fri Jan 20 19:13:36 2012 from x.x.x.x [sudo] password for *user*:
However, using a different shell (viz. zsh) they aren't asked for their sudo password.
[edit: more info]
So, of course it was obvious, but strange still.
#!/bin/sh -e #execute firstlogin.sh only once if [ ! -e /root/firstlogin_done ]; then if [ -e /root/firstlogin.sh ]; then /root/firstlogin.sh fi # This part should not be necessary any more # sudo dpkg-reconfigure -p critical console-setup &> /dev/null sudo touch /root/firstlogin_done fi
The file is created just fine e.g.
$sudo ls -al /root/firstlogin_done -rw-r--r-- 1 root root 0 2012-02-29 16:04 /root/firstlogin_done
[edit: is it a bug]
So, I get why this happens. But, I don't get why this is happening. Is this a bug that I haven't updated?