Talk:Sudo

From ArchWiki
Jump to: navigation, search

Errors

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)

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.

to https://wiki.archlinux.org/index.php/Sudo#Passing_aliases

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