"Your Password" is context sensitive, and there is still nothing
indicating that the context is "sudo".

Some suggestions:

  $ sudo mount -t smbfs -o username //some/samba/share /mnt/point
  [sudo] Password:

  $ sudo mount -t smbfs -o username //some/samba/share /mnt/point
  Password for sudo:
  
Explicit, but perhaps problematic for long commands written by shell ninjas and 
people that actually use vi keybindings in bash... also a more complex patch 
(and "-p" alternative won't work):

    $ sudo mount -t smbfs -o username //some/samba/share /mnt/point
    Password to execute "mount -t smbfs -o username //some/samba/share 
/mnt/point":

My personal favorite:

   $ sudo mount -t smbfs -o username //some/samba/share /mnt/point
    Password to execute "mount -t smbfs -o username //some/samba/share 
/mnt/point" as user "root":
    
or with "-u" for a better example:
 
   $ sudo -u www-data mount -t smbfs -o username //some/samba/share /mnt/point
   Password to execute "mount -t smbfs -o username //some/samba/share 
/mnt/point" as user "www-data":
   
Also, as Abdullah Ramazanoglu mentioned, you could just alias it in a 
system-wide bashrc or something (instead of using a patch).

-- 
sudo password prompt could be clearer
https://bugs.launchpad.net/bugs/8556
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to