Error: "sudo: no tty present and no askpass program specified" — Gerfried. Error skipping startup message. Your shell is probably incompatible with the application BASH is recommended. I solve this problem with change root instead of user and change root password. S A S A 1 1 gold badge 1 1 silver badge 7 7 bronze badges. I do have the same issue, and I am not sure whether it is possible or not, tried the above solutions are not worked for me.
Naresh A Naresh A 59 5 5 bronze badges. Can you kindly provide the solution on my question, if you have any? If you have a question, then post a question instead of an "answer". It's kinda workaround for the above question, as I said I am looking for the direct solution for the same question.
Anton Krug 1, 2 2 gold badges 15 15 silver badges 30 30 bronze badges. Anthony Percivalle Anthony Percivalle 11 2 2 bronze badges. Ronen Ronen 11 2 2 bronze badges. Tagging this answer which helped me, might not answer the actual question If you are using password instead of private key, please refer to this answer for tested working solution on Ubuntu SRi SRi 4 4 silver badges 8 8 bronze badges.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Store it with no spaces in the file name. This works because you are using PKI and are not asked to provide a password when you sudo. Share this: Email Facebook Twitter. Like this: Like Loading WinScp and Redhat Linux Reply. Good luck, James Reply. Thank you for this helpful feedback.
Thank you! I love you! If I find out I will update this thread. Thanks for sharing this it saved me a lot of time. Thanks Reply. Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in:. Email required Address never made public. Name required. Follow Following. Dr James Bayley Join other followers. Sign me up. Is this configurable in winscp 5. Thank you. I had already read this.
I tried but I was not sure I was toggling the correct config. Regardless, what I did toggle did not work.
I also tried using tunneling with my Id, and then entering a root id afterwards, still no go. If you have some screenshots on how to do this, that would help. Again, to recap, I am able to, and have to login with my stnadard user id, but then need to su to root afterwards or configure the tool to do it for me during a full login session. I guess I should have been more clear. The access I am looking for after my initial login is not root.
Its a group user with more permissions but not root. So the question remains, can I log in again, eg su to another user during the initial login session or afterwards. The procedure for switching users is the same, no matter if you switch to root or other user. The link does not provide a solution outside of sudo which I can not use.
Is there another solution.
0コメント