Skip to content
Snippets Groups Projects
Commit d81faa73 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

In Bright 8.2 , parameter to add userid for a user is userid rather then the...

In Bright 8.2 , parameter to add userid for a user is userid rather then the id that comes into picture with Bright version 9.2
parent ad84fe2d
No related branches found
No related tags found
1 merge request!102Feat bright 8.2
......@@ -36,7 +36,7 @@ def create_account(msg):
# Bright command to create user
cmd = "/cm/local/apps/cmd/bin/cmsh -c "
cmd += f'"user; add {username}; set id {uid}; set email {email}; set commonname \\"{fullname}\\"; '
cmd += f'"user; add {username}; set userid {uid}; set email {email}; set commonname \\"{fullname}\\"; '
cmd += 'commit;"'
if not args.dry_run:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment