[Pkg-shadow-devel] Bug#628843: use pty?

Serge Hallyn serge.hallyn at ubuntu.com
Wed Mar 6 17:23:01 UTC 2013


Hi,

the last few comments in this bug have suggested there may not be a good
solution for this problem.

As mdeslaur has pointed out in irc, one solution would be to have
interactive su use a new pty for the session.  Not trivial, but
if the idea itself isn't objectionable I wouldn't mind trying a
patch when I find time.

Alternatively, we could simply update the su man page to recommend
su only be used for increasing privilege (becoming root), and recommend
other means for dropping privilege or switching users.



More information about the Pkg-shadow-devel mailing list