Package: sudo Version: 1.7.4p4-2 Severity: important Hi,
it appears we cannot use sudo -i if/when the target user's home directory does not exist: | r...@nono:~# sudo -u portforwarder -i | sudo: unable to change directory to /home/portforwarder: No such file or directory | sudo: unable to execute /bin/bash: No such file or directory or: | r...@nono:/home# mv weasel/ W | r...@nono:/home# sudo -u weasel -i | sudo: unable to change directory to /home/weasel: No such file or directory | sudo: unable to execute /bin/zsh: No such file or directory The first warning is expected and OK, not running the login shell and then lying in the error message isn't. Please do run the login shell even if the taret user's home directory does not exist. Cheers, weasel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

