Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
6c82bc23
Commit
6c82bc23
authored
May 16, 2005
by
Leigh B. Stoller
Browse files
Do not do a setgroups for webonly accounts; skip uid.
parent
51b7378e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/setgroups.in
View file @
6c82bc23
...
...
@@ -202,6 +202,13 @@ foreach my $uid (@userlist) {
my
$groupargument
;
my
$project
;
$query_result
=
DBQueryFatal
("
select webonly from users
"
.
"
where uid='
$uid
' and webonly=1
");
if
(
$query_result
->
numrows
)
{
print
"
Skipping
$uid
; webonly account!
\n
";
next
;
}
#
# Form a list of project (group) membership names. We do this in two
# steps to ensure that we get the default group membership since we
...
...
Write
Preview
Supports
Markdown
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