Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

add user to sudoer "zsh" same powerlevel10k customization for root

sudo chsh -s $(which zsh) root



sudo ln -s $HOME/.p10k.zsh /root/.p10k.zsh

sudo ln -s $HOME/.bashrc /root/.bashrc
sudo ln -s $HOME/.zshrc /root/.zshrc
sudo ln -s $HOME/.oh-my-zsh /root/.oh-my-zsh
sudo ln -s $HOME/powerlevel10k /root/powerlevel10k



sudo chmod 744 /root/.p10k.zsh
sudo chmod 744 /root/.bashrc
sudo chmod 744 /root/.zshrc
sudo chmod 744 /root/.oh-my-zsh
sudo chmod 744 /root/powerlevel10k



sudo rm /root/.zsh_history & ln -s $HOME/.zsh_history /root/.zsh_history



sudo -i
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #add #user #sudoer #customization #root
ADD COMMENT
Topic
Name
6+8 =