mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
9 lines
280 B
Bash
9 lines
280 B
Bash
#!/usr/bin/env sh
|
|
|
|
useradd --create-home --password 'encrypted-password' --shell '/bin/bash' 'username'
|
|
useradd -m -p 'encrypted-password' -s '/bin/bash' 'username'
|
|
|
|
# Non-interactive.
|
|
# Skip finger information.
|
|
adduser --disabled-password --gecos '' --shell '/bin/sh' 'username'
|