~ubuntu-branches/ubuntu/lucid/sudo/lucid-proposed

« back to all changes in this revision

Viewing changes to TROUBLESHOOTING

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2010-02-08 18:47:06 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100208184706-kqgmuj0qe7telzq3
Tags: 1.7.2p1-1ubuntu1
* Merge from debian testing.  Remaining changes:
 - debian/rules: Disable lecture, enable tty_tickets by default. (Ubuntu
   specific)
 - Add debian/sudo_root.8: Explanation of root handling through sudo.
   Install it in debian/rules. (Ubuntu specific)
 - sudo.c: If the user successfully authenticated and he is in the 'admin'
   group, then create a stamp ~/.sudo_as_admin_successful. Our default bash
   profile checks for this and displays a short intro about sudo if the
   flag is not present. (Ubuntu specific)
 - env.c: Add "http_proxy" to initial_keepenv_table, so that it is kept
   for "sudo apt-get ...". (Ubuntu specific EBW hack, should disappear at
   some point)
 - debian/{rules,postinst,sudo-ldap.postinst}: Disable init script
   installation. Debian reintroduced it because /var/run tmpfs is not the
   default there, but has been on Ubuntu for ages.
 - debian/{source_sudo.py,rules,sudo-ldap.dirs,sudo.dirs}: Add apport hook

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
    Defaults:bob        runas_default=oracle
178
178
   would achieve the desired result ofr the preceding sudoers fragment.
179
179
 
 
180
Q) When I try to run sudo via ssh, I get the error:
 
181
    sudo: no tty present and no askpass program specified
 
182
A) ssh does not allocate a tty by default when running a remote command.
 
183
   Without a tty, sudo cannot disable echo when prompting for a password.
 
184
   You can use ssh's "-t" option to force it to allocate a tty.
 
185
   Alternately, if you do not mind your password being echoed to the
 
186
   screen, you can use the "visiblepw" sudoers option to allow this.
 
187
 
180
188
Q) How do you pronounce `sudo'?
181
189
A) The official pronunciation is soo-doo (for su "do").  However, an
182
190
   alternate pronunciation, a homophone of "pseudo", is also common.