[haiku-bugs] [Haiku] #13583: Attempting to su or login to another user (from Terminal) results in SIGKILL

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Mon, 03 Jul 2017 20:32:04 -0000

#13583: Attempting to su or login to another user (from Terminal) results in
SIGKILL
--------------------------+------------------------------
 Reporter:  waddlesplash  |        Owner:  nobody
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  Unscheduled
Component:  System        |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 Discovered while trying to write a new su implementation (and confimed
 present in the existing coreutils {{{su}}} and {{{login}}}.)

 If you are in a Terminal session, and attempt to {{{su}}} or {{{login}}}
 to another (non-root) user, then the login process exits with "Killed (by
 death)" aka SIGKILL. I traced this to the {{{execv}}} call where it starts
 the shell
 (https://github.com/haiku/haiku/blob/master/src/bin/multiuser/login.cpp#L282).

 This is hrev51234.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13583>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: