Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#13532 closed bug (duplicate)

login process always logs in as super user

Reported by: mjw Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Network & Internet/Stack 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.

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

Change History (3)

comment:1 by mjw, 2 years ago

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

comment:2 by waddlesplash, 2 years ago

Resolution: duplicate
Status: newclosed

comment:3 by waddlesplash, 2 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.