- Add a new User :
sudo adduser -m -s /bin/bash -c "Liam BEGUIN" foo
- Set it's Password :
sudo passwd -f foo
- Add to Sudoer (Fedora) :
sudo usermod -aG wheel foo
- Add to Sudoer (Ubuntu) :
sudo usermod -aG sudo foo
- Remove user and it's home :
sudo userdel -r foo
Change all you want using the GUI
$ cd ~/dev/dotfiles/gnome-terminal
$ dconf dump /org/gnome/terminal/legacy/ > terminal_settings
Change all you want using the GUI
$ cd ~/dev/dotfiles/gnome-terminal
$ gconftool-2 --dump /apps/gnome-terminal > profile.xml
$ grep palette gnome-terminal/terminal_settings | \
sed 's/rgb/\n/g' | sed 's/^(\(.*\)).*$/\1/g' | tail -n+2 | \
awk 'BEGIN {FS="," ; i=0 } {printf "xterm*color %d: rgb:%02X/%02X/%02X \n", i, $1, $2, $3; i++}'
make sure you're sudo on the system !
$ sudo -v
Set things up and install
$ sudo dnf install git ansible
$ mkdir -p ~/dev/ && cd ~/dev/
$ git clone [email protected]:~liambeguin/dotfiles
$ cd dotfiles
$ ansible-playbook -K local.yml
Add Machine specific (or private) stuff to ~/.bashrc_local
$ cd ~/dev
$ git clone https://github.com/Liambeguin/pw.git
$ ln -sf $(pwd)/pw/pw ~/bin/pw
simple terminal: http://git.suckless.org/st/