Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

OK, no it is not possible. PuTTY is terminal. It means that it just receives characters, displays them and sends back characters that you type. It does not know what characters you type are part of command and what are not.
DaSilva

PuTTY uses the same user and password like WinSCP uses (in my configuration). So it starts with a user that is not allowed to anything admin related without a "sudo" in front. So my question if it is possible to do that automatically.
An alternative would be to login as root with "su" and password but that is not that handy like the first option.
martin

Re: Automatically put "sudo" in front of a command in PuTTY

Sorry, I do not follow. How does the FAQ relate to PuTTY?
DaSilva

Automatically put "sudo" in front of a command in PuTTY

I have followed these steps to make my server a little bit more secure but it is annoying for me that I have to put a "sudo" in front of every single command in PuTTY that needs the specific rights. Isn't it possible to automatically add the command so that I don't have to do it manually?
Thanks in advance.