Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
112
Issues
112
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
53574030
Commit
53574030
authored
Jul 29, 2016
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweak for bulk deactivation of users.
parent
e1fe1bc7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
account/tbacct.in
account/tbacct.in
+6
-2
No files found.
account/tbacct.in
View file @
53574030
...
...
@@ -47,11 +47,12 @@ sub usage()
"
<user> [args]
\n
");
exit
(
-
1
);
}
my
$optlist
=
"
fbuv
";
my
$optlist
=
"
fbuv
s
";
my
$force
=
0
;
my
$batch
=
0
;
my
$update
=
0
;
my
$verified
=
0
;
my
$silent
=
0
;
#
# Configure variables
...
...
@@ -211,6 +212,9 @@ if (defined($options{"u"})) {
if
(
defined
(
$options
{"
v
"}))
{
$verified
=
1
;
}
if
(
defined
(
$options
{"
s
"}))
{
$silent
=
1
;
}
if
(
@ARGV
<
2
)
{
usage
();
}
...
...
@@ -267,7 +271,7 @@ else {
#
# This script is always audited. Mail is sent automatically upon exit.
#
if
(
AuditStart
(
0
))
{
if
(
!
$silent
&&
AuditStart
(
0
))
{
#
# Parent exits normally
#
...
...
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