Compare commits
1 Commits
init
...
adduser-sc
| Author | SHA1 | Date | |
|---|---|---|---|
| 44ea1a3071 |
6
scripts/adduser-space
Normal file
6
scripts/adduser-space
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
username=$1
|
||||||
|
useradd -m -s /bin/bash "$username"
|
||||||
|
loginctl enable-linger "$username" # for user's systemd services to work after logout and start with system start
|
||||||
|
echo "$username"
|
||||||
Reference in New Issue
Block a user