From ArchWiki
Jump to: navigation, search


It might be good to discuss some errors which the user may run across. I found one that is found in various situations, and it seems to be indicative of a missing parameter: "sudo: no tty present and no askpass program specified" Mine came about as a "mount error" when using Samba and pyneighborhood in Xfce, but it appears to apply to any situation. It seems to indicate that there is a problem with a tty when using a graphical environment and/or not having an askpass program available. It would be nice to know what an "askpass" program is, and how it applies to sudo. I can't even begin to understand the significance of a password needing a tty. Thanks all. - KitchM 17:03, 21 November 2010 (EST)

Due to lack of response here, I'm closing. -- Rdeckard (talk) 13:00, 7 October 2016 (UTC)

sudo tips

what about adding :

Warning: You need to replace "sudo" with "\sudo" in all functions who are called if they are located after "alias sudo = 'sudo'" in your ~/.bashrc.


this prevent for "source .basrhc" errors —This unsigned comment is by Jefoo (talk) 14:19, 7 September 2012‎. Please sign your posts with ~~~~!

Due to lack of responses, closing. -- Rdeckard (talk) 13:01, 7 October 2016 (UTC)