Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

add user to sudoer "zsh" same customization for root

sudo ln -s $HOME/.oh-my-zsh           /root/.oh-my-zsh
sudo ln -s $HOME/.zshrc               /root/.zshrc
sudo ln -s $HOME/.p10k.zsh            /root/.p10k.zsh
sudo chsh -s $(which zsh) root

sudo chmod 744 /root/.oh-my-zsh
sudo chmod 744 /root/.zshrc
sudo chmod 744 /root/.p10k.zsh
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #add #user #sudoer #customization #root
ADD COMMENT
Topic
Name
6+5 =