← Back to team overview

touch-packages team mailing list archive

[Bug 564311] Re: PATH not reset correctly on sudo -i

 

outdated/deprecated version which has reached EOL does not get support

** Changed in: sudo (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/564311

Title:
  PATH not reset correctly on sudo -i

Status in sudo package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: sudo

  running sudo -i should reset $PATH, to root's rather than using mine:

  chris@sjoh2988:~$ sudo -i
  root@sjoh2988:~# echo $PATH
  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
  root@sjoh2988:~# exit
  logout
  chris@sjoh2988:~$ sudo -s
  root@sjoh2988:~# echo $PATH
  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
  root@sjoh2988:~# exit
  exit
  chris@sjoh2988:~$ 

  cf: http://ubuntuforums.org/showpost.php?p=6188826&postcount=4

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: sudo 1.7.2p1-1ubuntu5
  ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  Architecture: i386
  Date: Fri Apr 16 01:09:37 2010
  InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100225)
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: sudo
  VisudoCheck: /etc/sudoers: parsed OK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/564311/+subscriptions