Carl Lowenstein wrote: > I recently found while reading sudoers(5) that it is possible to > change the prompt that sudo issues. > > # Defaults specification > Defaults passprompt = "%u's Password: "
This is one of the coolest things I have seen in a long time. Terribly useful. It looks like you can use %h for the hostname (%H for FQDN). Highly useful if you are on different systems a lot. Defaults passprompt = "sudo ([EMAIL PROTECTED]) Password: " I mix sudo and ssh occasionally, and the generic password prompt for each can get confusing. At least this way there is no confusion when sudo asks for a password! Thank you, Carl, for sharing this with us. I had never known of this before. -john -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
