NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/60176: su(1) lacks option for setlogin



>Number:         60176
>Category:       bin
>Synopsis:       su(1) lacks option for setlogin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 05 19:55:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, 9, ...
>Organization:
The NetBSU Login
>Environment:
>Description:
The su(1) command has no way to do setlogin(), so getlogin() always returns the original caller's login name.
>How-To-Repeat:
try to run automatic tests involving cvs (which uses getlogin() if getuid() == 0) in a chroot with su
>Fix:
Yes, please!




Home | Main Index | Thread Index | Old Index