Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13531 closed bug (duplicate)

login process always logs in as super user

Reported by: mjw Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no 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.

Change History (3)

comment:1 by mjw, 3 years ago

Sorry, track threw an error and this got submitted multiple times. Please close this one.

comment:2 by waddlesplash, 3 years ago

Resolution: duplicate
Status: newclosed

comment:3 by waddlesplash, 3 years ago

Blocked By: 13530 removed

(In #13530) Note that you can export patches from Git in a format that will allow us to keep you as the author of the commit: git format-patch <since_ref>, where you can substitute -1 for <since_ref> to export the latest commit in such a format.

Otherwise, patch looks good to me.

Note: See TracTickets for help on using tickets.