~ubuntu-branches/ubuntu/hardy/sudo/hardy-proposed

« back to all changes in this revision

Viewing changes to TROUBLESHOOTING

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-11-14 14:23:47 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071114142347-qf0sn1r330r9s4v9
Tags: 1.6.9p6-1ubuntu1
* Merge with Debian unstable. Remaining Ubuntu changes:
  - debian/prerm: Abort package removal if there is no root password.
    Forwarded to Debian #451241.
  - sudoers: Add some explanatory text why it is a REALLY good idea to use
    visudo. (LP #11620)
    Forwarded upstream: http://www.gratisoft.us/bugzilla/show_bug.cgi?id=269
  - debian/rules: Disable lecture, enable tty_tickets by default.
  - debian/rules: Configure less confusing default password prompt to point
    out that it is sudo asking for the user's password, as opposed to
    another program like ssh, or asking for the root password. (LP #8556)
    Forwarded to Debian #343268.
  - Add debian/sudo_root.8: Explanation of root handling through sudo.
    Install it in debian/rules.
  - 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.
* New upstream version 1.6.9 fixes the following bugs:
  - Does not ask for password any more if stdin is not a terminal.
    (LP: #130636)
  - sudo -k/-K does not fail any more if timestamp is in the future.
    (LP: #43233)
* Drop our very intrusive patch for selectively cleaning the environment
  based on whether the user can execute all commands or only some. Debian
  and upstream now default to cleaning the environment unconditionally and
  provide option -E and the SETENV tag to override it.
  Instead, do a tinpy patch to parse.yacc which enables SETENV implicitly
  for 'ALL' commands.
  Forwarded upstream: http://www.gratisoft.us/bugzilla/show_bug.cgi?id=268
* sudo.c: Disable i18n for now (upstream enabled it in 1.6.9), since this
  causes PAM to output localized password prompts, which in turn breaks -p
  and --with-passprompt, which finally breaks gksu. See
  http://www.gratisoft.us/bugzilla/show_bug.cgi?id=270 for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
   your $PATH before the directory containing sudo.  If you are going
18
18
   to have '.' in your path you should make sure it is at the end.
19
19
 
20
 
Q) Sudo compiles but when I run it I get "seteuid(0) failed, your operating
21
 
   system may have broken POSIX saved ID support\nTry running configure with
22
 
   --disable-saved-ids" and sudo quits.
23
 
A) The operating system you are running probably has broken support for
24
 
   POSIX saved IDs.  You should run configure with the "--disable-saved-ids"
25
 
   option and rebuild sudo.
26
 
 
27
20
Q) Sudo never gives me a chance to enter a password using PAM, it just
28
21
   says 'Sorry, try again.' three times and exits.
29
22
A) You didn't setup PAM to work with sudo.  On Redhat Linux or Fedora
169
162
   unfathomable.  A "cd" command is totally useless since a child process
170
163
   cannot affect the current working directory of the parent (your shell).
171
164
 
172
 
Q) When I run sudo it says I am not alllowed to run the command as root
 
165
Q) When I run sudo it says I am not allowed to run the command as root
173
166
   but I don't want to run it as root, I want to run it as another user.
174
167
   My sudoers file entry looks like:
175
168
    bob ALL=(oracle) ALL
182
175
   would achieve the desired result ofr the preceding sudoers fragment.
183
176
 
184
177
Q) How do you pronounce `sudo'?
185
 
A) soo-doo (for superuser do).
 
178
A) The official pronunciation is soo-doo (for su "do").  However, an
 
179
   alternate pronunciation, a homophone of "pseudo", is also common.