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

Bug#3244: no subject)

Guy Maor writes ("Re: Bug#3244: (no subject)"):
> So POSIX provides getlogin().  The system keeps track of who's logged
> in for you.  But if you su to a user, the old user is still logged in.
> This is only a problem if you su to an id=0 account.

This is not a good explanation.  getlogin() should never return a
username whose uid is not the current ruid.

This is therefore a libc bug; I'm reopening it and assigning it to
libc (that is to say, I'm sending the message now that will reopen it
when the bug system is sorted out again).


Reply to: