Loading bin/cc-addaccount +0 −5 Original line number Diff line number Diff line Loading @@ -40,8 +40,6 @@ if __name__ == '__main__': help='account directory') op.add_option('-p', '--password', action='store_true', help='ask for the password') op.add_option('-g', '--god', action='store_true', default=False, help='add a rule to allow all actions') op.add_option('-c', '--copy', default=None, help='copy this already existing account') op.add_option('-r', '--role', default=None, choices=('cli', 'hv', 'host'), Loading Loading @@ -79,9 +77,6 @@ if __name__ == '__main__': else: conf.copy_account(options.copy, args[0], password) if options.god: conf.add_right(args[0], '', '*', 'allow', 0) # Chown the files: uid = getpwnam(CHOWN_USER).pw_uid gid = getgrnam(CHOWN_GROUP).gr_gid Loading Loading
bin/cc-addaccount +0 −5 Original line number Diff line number Diff line Loading @@ -40,8 +40,6 @@ if __name__ == '__main__': help='account directory') op.add_option('-p', '--password', action='store_true', help='ask for the password') op.add_option('-g', '--god', action='store_true', default=False, help='add a rule to allow all actions') op.add_option('-c', '--copy', default=None, help='copy this already existing account') op.add_option('-r', '--role', default=None, choices=('cli', 'hv', 'host'), Loading Loading @@ -79,9 +77,6 @@ if __name__ == '__main__': else: conf.copy_account(options.copy, args[0], password) if options.god: conf.add_right(args[0], '', '*', 'allow', 0) # Chown the files: uid = getpwnam(CHOWN_USER).pw_uid gid = getgrnam(CHOWN_GROUP).gr_gid Loading