Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add user to sudoer

sudo grep -B1 -i '^%sudo' /etc/sudoers

# Allow members of group sudo to execute any command
#%sudo	ALL=(ALL:ALL) ALL

sudo adduser <UserNameHere> sudo

or

sudo usermod -aG sudo <UserNAmeHere>

id  <UserNAmeHere>
Comment

PREVIOUS NEXT
Code Example
Shell :: zsh: corrupt history file /home/.zsh_history 
Shell :: Get the size of all the directories in current directory in linux 
Shell :: Install snapd on arch 
Shell :: install perl ubuntu 
Shell :: snap install clion 
Shell :: crontab file location 
Shell :: git reset to remote 
Shell :: installing xournal++ in ubuntu 
Shell :: km player in ubuntu 20 
Shell :: install keras anaconda jupyter notebook 
Shell :: ufw see open ports 
Shell :: upgrade tensorflow version 
Shell :: install cloudlinux centos with cpanel 
Shell :: Node version mac1000 
Shell :: disable firewall ubuntu 
Shell :: restart ubuntu from terminal 
Shell :: run a command x number of times linux 
Shell :: see all apps linux 
Shell :: get-docker sh 
Shell :: failed to download repository information ubuntu 
Shell :: aws cli list all profiles 
Shell :: pod deintegrate 
Shell :: browserrouter react not working install 
Shell :: codeigniter 4 install composer 
Shell :: gnome 3 show seconds 
Shell :: download gimp ubuntu 
Shell :: pip3 not found 
Shell :: tailwind plugin prettier 
Shell :: live server nvim 
Shell :: adb recorder 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =