rtCommon.addLogin

A command-line script to add or change a user/password for access to the web portal. The password file is store in rt-cloud/certs/passwd

Examples

$ python addLogin.py # username and password will be requested at prompt $ python addLogin.py -u <username> -p <password> $ python addLogin.py -username <username> -password <password>

Module Contents

Functions

addUserPassword(username, password, pwdFile[, ...])

main(username, password)

Attributes

currPath

rootPath

passwordFile

argParser

rtCommon.addLogin.currPath
rtCommon.addLogin.rootPath
rtCommon.addLogin.passwordFile = 'certs/passwd'
rtCommon.addLogin.addUserPassword(username, password, pwdFile, retypePasswd=True)
rtCommon.addLogin.main(username, password)
rtCommon.addLogin.argParser