correction début du script install
This commit is contained in:
parent
ab7c90e05b
commit
5ad1c3b517
|
@ -4,15 +4,15 @@ Deployment [**D**ebian](https://www.debian.org/) (os) + [**C**addy](https://cadd
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
On a fresh install a root user
|
On a fresh install as root user
|
||||||
|
|
||||||
1. Upgrade
|
1. Upgrade
|
||||||
|
|
||||||
`apt update && apt upgrade`
|
`apt update && apt upgrade -y`
|
||||||
|
|
||||||
2. Install git
|
2. Install git
|
||||||
|
|
||||||
`apt install git`
|
`apt install git -y`
|
||||||
|
|
||||||
3. Download and make the instal script executable
|
3. Download and make the instal script executable
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ fi
|
||||||
echo "Generate and store the password somewhere safe"
|
echo "Generate and store the password somewhere safe"
|
||||||
read -s -p "Enter password: " password
|
read -s -p "Enter password: " password
|
||||||
echo
|
echo
|
||||||
sudo useradd -m "$username"
|
useradd -m "$username"
|
||||||
echo "$username:$password" | chpasswd
|
echo "$username:$password" | chpasswd
|
||||||
|
|
||||||
usermod -aG sudo $username
|
usermod -aG sudo $username
|
||||||
|
|
Loading…
Reference in New Issue