Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
21e7e909
Commit
21e7e909
authored
Feb 17, 2012
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add force option to tbacct, to force the user to active status.
parent
5e545a69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
account/tbacct.in
account/tbacct.in
+5
-1
No files found.
account/tbacct.in
View file @
21e7e909
...
@@ -380,7 +380,11 @@ sub AddUser()
...
@@ -380,7 +380,11 @@ sub AddUser()
$EUID
=
0
;
$EUID
=
0
;
return
0
;
return
0
;
}
}
fatal
("
$user
is not active! Cannot build an account!
");
if
(
$force
)
{
$target_user
->
SetStatus
(
USERSTATUS_ACTIVE
());
$status
=
USERSTATUS_ACTIVE
();
}
fatal
("
$user
is not active! Cannot build an account! Use -f option.
");
}
}
$UID
=
0
;
$UID
=
0
;
...
...
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