Opened 2 years ago

Closed 2 years ago

Last modified 2 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

Description

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 Changed 2 years ago by mjw

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

comment:2 Changed 2 years ago by waddlesplash

Resolution: duplicate
Status: newclosed

comment:3 Changed 2 years ago by waddlesplash

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.