Added: assigning sudo permissions to rhjr
This commit is contained in:
parent
ba27c84676
commit
00e1738716
13
install.sh
13
install.sh
|
@ -10,6 +10,19 @@ apt upgrade
|
|||
## rights
|
||||
apt install -y sudo
|
||||
|
||||
## group (sudo permissions)
|
||||
# we create a new group to prevent the annoying .sudo_as_admin_succesfull.
|
||||
|
||||
export PATH=$PATH:/usr/sbin
|
||||
|
||||
groupadd -r wheel
|
||||
usermod -aG wheel rhjr
|
||||
usermod -aG input rhjr
|
||||
|
||||
echo "%wheel ALL=(ALL:ALL) ALL" > /etc/sudoers
|
||||
gpasswd --delete rhjr sudo
|
||||
gpasswd --delete rhjr admin
|
||||
|
||||
## workspace
|
||||
mkdir -p /home/rhjr/devel
|
||||
mkdir -p /home/rhjr/documents
|
||||
|
|
Loading…
Reference in New Issue
Block a user