preserve environment does not work

Bug #714123 reported by Florian Effenberger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: sudo

In previous Ubuntu versions, a command like "sudo su -p -" switched to the root user, but preserving the environment, like the $HOME variable. In Natty, this doesn't seem to work. sudo alone and su alone can be convinced to preserve the environment, but the combination of sudo su doesn't seem to work anymore. Reading the man pages suggest me I'm doing everything right, but I cannot achieve becoming root, while preserving my environment.

The same commands on Lucid work like a charm.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.