mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 18:02:13 +02:00
removed unecessary details in the comments
This commit is contained in:
@@ -11,26 +11,26 @@ Laptop configuration for Arch Linux
|
|||||||
### As root
|
### As root
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# (as root) Install the necessary dependencies
|
# Install the necessary dependencies
|
||||||
pacman -S ansible git which sudo
|
pacman -S ansible git which sudo
|
||||||
|
|
||||||
# (as root) Allow the "sudo" group to issue sudo commands
|
# Allow the "sudo" group to issue sudo commands
|
||||||
sed -i 's/#\s*%sudo/%sudo/g' /etc/sudoers
|
sed -i 's/#\s*%sudo/%sudo/g' /etc/sudoers
|
||||||
|
|
||||||
# (as root) Create a new user
|
# Create a new user
|
||||||
useradd --create-home user
|
useradd --create-home user
|
||||||
|
|
||||||
# (as root) Add a password for the newly created user
|
# Add a password for the newly created user
|
||||||
passwd user
|
passwd user
|
||||||
|
|
||||||
# (as root) Add the "sudo" group for the created user
|
# Add the "sudo" group for the created user
|
||||||
usermod -aG sudo user
|
usermod -aG sudo user
|
||||||
```
|
```
|
||||||
|
|
||||||
### As user
|
### As user
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# (as user) Pull the latest configuration and apply the latter
|
# Pull the latest configuration and apply the latter
|
||||||
ansible-pull \
|
ansible-pull \
|
||||||
--url https://github.com/aminnairi/laptop.git \
|
--url https://github.com/aminnairi/laptop.git \
|
||||||
--ask-become-pass \
|
--ask-become-pass \
|
||||||
|
|||||||
Reference in New Issue
Block a user