helgman
November 15th, 2007, 01:59 PM
Not sure if this is the right place but since I'm accessing a "server" and I see the problem as security-related I post it here.
I have a few systems (Ubuntu and Debian) that I only access via SSH. This is fine but sometimes you don't want to log in, get a shell and then type in your command, so you head for the ssh foo "ps -A" or whatever.
I recently noticed that if you run a command as above but with the sudo-command the sudo password is displayed in plain text like this:
$ ssh foo "sudo gnump3d-index"
user@foo's password:
[sudo] password for user:password-that-I-type
Is there anything I can do in my configuration or is this "how it works"?
Regards,
Helgman
I have a few systems (Ubuntu and Debian) that I only access via SSH. This is fine but sometimes you don't want to log in, get a shell and then type in your command, so you head for the ssh foo "ps -A" or whatever.
I recently noticed that if you run a command as above but with the sudo-command the sudo password is displayed in plain text like this:
$ ssh foo "sudo gnump3d-index"
user@foo's password:
[sudo] password for user:password-that-I-type
Is there anything I can do in my configuration or is this "how it works"?
Regards,
Helgman