[QUOTE=cariboo907;13155527]What zika posted is in /etc/bash.bashrc: ... I get it now - it was previously in there but set for admin group so the hint didn't show since the switch to sudo group in 12.04
Originally Posted by cariboo907 What zika posted is in /etc/bash.bashrc: Code: # sudo hint if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then case " $(groups) " in *\ admin\ *|*\ sudo\ *) if [ -x /usr/bin/sudo ]; then cat <<-EOF To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. Yeap. Originally Posted by zika That is a sort of atavism that will, as earlier, disappear soon, I'm sure. Usually it did not (re)surface in Ubuntu proper.
# sudo hint if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then case " $(groups) " in *\ admin\ *|*\ sudo\ *) if [ -x /usr/bin/sudo ]; then cat <<-EOF To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.
Last edited by zika; October 30th, 2014 at 06:38 AM.
Originally Posted by zika Old stuff. very old. Make just one successful sudo command or do Code: touch ~/.sudo_as_admin_successful and it will disappear. Delete that file and it will be back again. Successful sudo command makes it again... What is there to be „fixed“? Learn Your bash better, we old guys did... As I said .. there was nothing here. Learn Your bash better, we old guys did... lol
touch ~/.sudo_as_admin_successful
Originally Posted by zika Learn Your bash better, we old guys did... Ha! It was displaying that at the top of terminal when I first booted into Vivid today but after I got updates today including the 3.16.0-24-generic kernel I no longer have that. Screenshot-terminal.png
Create a Custom Maintenance Free GRUB2 Screen for Legacy/MBR and UEFI/GPT Systems
Originally Posted by Cavsfan Ha! It was displaying that at the top of terminal when I first booted into Vivid today but after I got updates today including the 3.16.0-24-generic kernel I no longer have that. Screenshot-terminal.png Did You update/upgrade from CLI or GUI? If You did from CLI You've issued sudo-command and, hence, see above... If not then, as so many times before, mainly this early in U+1, bash had that atavism removed, for Ubuntu proper way...
Originally Posted by Cavsfan Ha! It was displaying that at the top of terminal when I first booted into Vivid today but after I got updates today including the 3.16.0-24-generic kernel I no longer have that. Screenshot-terminal.png I got it now too. Must be slow updates..
Originally Posted by zika Did You update/upgrade from CLI or GUI? If You did from CLI You've issued sudo-command and, hence, see above... If not then, as so many times before, mainly this early in U+1, bash had that atavism removed, for Ubuntu proper way... I always use CLI. I don't touch the Update-Mangler nor do I get my updates through SPM and I'll take my chances. Originally Posted by ventrical I got it now too. Must be slow updates.. Guess so. Good deal!
Originally Posted by Cavsfan I always use CLI. Originally Posted by zika Make just one successful sudo command and it will disappear. Full circle... Ready for next round?
I'm pretty sure it was this way for a couple of days at least and I got updates via CLI.
Ubuntu Forums Code of Conduct