FreeBSD Bugzilla – Attachment 18603 Details for
Bug 33372
Fix gdm so that correct group is set for users' sessions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 629 bytes, created by
Joe Marcus Clarke
on 2001-12-31 05:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Joe Marcus Clarke
Created:
2001-12-31 05:10:01 UTC
Size:
629 bytes
patch
obsolete
>--- daemon/slave.c.orig Sun Dec 30 23:57:30 2001 >+++ daemon/slave.c Sun Dec 30 23:57:21 2001 >@@ -1860,7 +1860,13 @@ > setpgid (0, 0); > > umask (022); >- >+ >+ /* setup the user's correct group */ >+ if (setgid (pwent->pw_gid) < 0) >+ gdm_child_exit (DISPLAY_REMANAGE, _("gdm_slave_session_start: Could not setgid %d. Aborting."), pwent->pw_gid); >+ if (initgroups (login, pwent->pw_gid) < 0) >+ gdm_child_exit (DISPLAY_REMANAGE, _("gdm_slave_session_start: initgroups() failed for %s. Aborting."), login); >+ > /* setup the verify env vars */ > if ( ! gdm_verify_setup_env (d)) > gdm_child_exit (DISPLAY_REMANAGE,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33372
: 18603