From e66ae9dbde2c362baa083660922325e6f4cc183b Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Wed, 2 Nov 2022 09:08:37 +0530 Subject: [PATCH] trimurti: user pratham is already created --- content/posts/trimurti.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/posts/trimurti.md b/content/posts/trimurti.md index dec4355..5d13a8d 100644 --- a/content/posts/trimurti.md +++ b/content/posts/trimurti.md @@ -174,9 +174,7 @@ DEBIAN_FRONTEND=noninteractive apt install -y zfs-dkms zfs-zed zfsutils-linux ### Add user ```bash -useradd -m -G adb,audio,cdrom,dip,floppy,games,netdev,plugdev,sys,systemd-journal,uucp,video -s $(which zsh) pratham -usermod --password $(echo asdf | openssl passwd -1 -stdin) pratham -passwd -e pratham +usermod -a -G adb,audio,cdrom,dip,floppy,games,netdev,plugdev,sys,systemd-journal,uucp,video pratham echo "permit persist keepenv pratham" | tee -a /etc/doas.conf ```