Set startjob and system parameters password.
(self, arg)
| 397 | |
| 398 | # ------------------------[ lock <passwd> ]--------------------------- |
| 399 | def do_lock(self, arg): |
| 400 | "Set startjob and system parameters password." |
| 401 | if not arg: |
| 402 | arg = eval(input("Enter password: ")) |
| 403 | self.cmd('<< /Password () ' |
| 404 | '/SystemParamsPassword (' + arg + ') ' # harmless settings |
| 405 | '/StartJobPassword (' + arg + ') ' # alter initial vm! |
| 406 | '>> setsystemparams', False) |
| 407 | |
| 408 | # ------------------------[ unlock <passwd>|"bypass" ]---------------- |
| 409 | def do_unlock(self, arg): |