[haiku-bugs] [Haiku] #13533: login process always logs in as super user

  • From: "mjw" <trac@xxxxxxxxxxxx>
  • Date: Thu, 25 May 2017 19:20:25 -0000

#13533: login process always logs in as super user
---------------------------+------------------------------
 Reporter:  mjw            |        Owner:  nobody
     Type:  bug            |       Status:  new
 Priority:  normal         |    Milestone:  Unscheduled
Component:  System/Kernel  |      Version:  R1/Development
 Keywords:                 |   Blocked By:
 Blocking:                 |  Has a Patch:  0
 Platform:  All            |
---------------------------+------------------------------
 When a non-privileged user logs into a haiku box with telnet, the login
 process does not call setuid() or setgid() so the user is always logged in
 as the super user.

 The attached patch fixes that.

 The patch depends on bug #13530.

 I wasn't sure what component to list this under.  I almost certainly got
 it wrong.

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

Other related posts: