Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
c9d5cd3d
Commit
c9d5cd3d
authored
Jun 11, 2003
by
Mac Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do some fancy bit flipping with the groups to make sure we pick up all of them.
parent
ccc691a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
tbsetup/idleswap.in
tbsetup/idleswap.in
+7
-1
No files found.
tbsetup/idleswap.in
View file @
c9d5cd3d
...
@@ -147,8 +147,14 @@ else {
...
@@ -147,8 +147,14 @@ else {
# Send the email now, which terminates the audit.
# Send the email now, which terminates the audit.
AuditEnd
();
AuditEnd
();
# Remove current group from glist, then add gid twice at the front of the list
# Order matters here, or we won't pick up all the groups we need.
$glist
=~
s/ ?\b$unix_gid\b ?//
;
$glist
=
$unix_gid
.
"
"
.
$unix_gid
.
"
"
.
$glist
;
$GID
=
$unix_gid
;
$GID
=
$unix_gid
;
$EGID
=
$unix_gid
.
"
"
.
$glist
;
$EGID
=
$glist
;
$EUID
=
$UID
=
$unix_uid
;
$EUID
=
$UID
=
$unix_uid
;
$ENV
{'
USER
'}
=
$creator
;
$ENV
{'
USER
'}
=
$creator
;
$ENV
{'
LOGNAME
'}
=
$creator
;
$ENV
{'
LOGNAME
'}
=
$creator
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment