Created
March 25, 2015 16:12
-
-
Save ahhh/e587df7d678e7b934d9c to your computer and use it in GitHub Desktop.
Add user script for Vyatta router
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/vbash | |
source /opt/vyatta/etc/functions/script-template | |
configure | |
set system login user jsmith full-name "John Smith" | |
set system login user jsmith authentication plaintext-password foobar123 | |
set system login user jsmith level admin | |
commit | |
rm /tmp/adduserscript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment