forked from zotan/os-bootstrap-core
Fix install
This commit is contained in:
parent
959c25363d
commit
54642a21cf
4
rocky.sh
4
rocky.sh
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
dnf install epel-release wget git nano zsh -y
|
||||
sudo dnf install epel-release wget git nano zsh -y
|
||||
sudo groupadd sudo
|
||||
sudo bash -c 'echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
|
||||
sudo useradd -md /home/zotan -s /bin/zsh -UG sudo zotan
|
||||
sudo -u zotan "mkdir /home/zotan/.ssh"
|
||||
sudo -u zotan "wget -O /home/zotan/.ssh/authorized_keys share.zotan.services/authorized_keys"
|
||||
|
|
Loading…
Reference in a new issue