Stackscripts issue with username/password

Trying to mod some externally posted scripts and bring them up to date for Ubuntu 12.10. Adding super user(s) either as non-SSH key or SSH key types fails (example code below). I have standard firewall apps installed and I get the RSA key question. Have tried using very simple passwords so I know it is another setting. No idea where my issue is.

TIA for your consideration, V.

# # # # # # # foo@foo.net"/>

# # # source # check these three out

source # lib-system

source # Awesome ubuntu utils script

system_update

set_hostname "$HOSTNAME"

set_timezone "$TIMEZONE"

exec &> /root/stackscript.log

systemadduser(foo2, foo2pwd, sudo)

systemadduser(foo3, foo3pwd, sudo)

….

Add deploy user

log "Adding deploy user, and ssh key."

systemadduser $DEPLOYUSER $DEPLOYPASSWORD "users,sudo"

systemuseraddsshkey $DEPLOYUSER "$DEPLOYSSHKEY"

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct