Actions
Bug #271
closedpasswd alone after sudo/pfexec changes original users's password
Status:
Rejected
Priority:
Normal
Assignee:
Category:
OS/Net (Kernel and Userland)
Target version:
-
Start date:
2010-09-28
Due date:
% Done:
0%
Estimated time:
Difficulty:
Tags:
Description
sudo -i or pfexec bash will allow a user to gain a root shell, which is nice, but then, if the user attempts to change the root password from within this shell, passwd defaults to the originating user, not root. This is probably wrong (at least compared to other systems I've worked on) and should be fixed.
roy@mime:~$ pfexec bash roy@mime:~# passwd passwd: Changing password for roy New Password:
Updated by Guido Berhörster over 11 years ago
- Status changed from New to Rejected
- Assignee set to Guido Berhörster
passwd(1) does not work like this on Solaris, when called without arguments it changes the password of the user which is logged into the current terminal. Use "passwd root" with sufficient privileges instead.
Actions