Table of Contents
- Add New User
- Add New Group
- Add user to a suplimentary group
- See user groups
- Change Group Ownership for a directory
- Change Time Zone
- Change hostname
- Restart computer
- Adding Google DNS to Ubuntu via Terminal
- Renaming Ubuntu Machine
Add New User
adduser
Add New Group
groupadd devs
Add user to a suplimentary group
usermod -a -G admin alex
See user groups
groups
Change Group Ownership for a directory
sudo chgrp -R devs tomcat
Change Time Zone
sudo dpkg-reconfigure tzdata
Select ETC -> Greenwitch
Change hostname
sudo vim /etc/hostname
rename and restart
Restart computer
sudo shutdown -r now
Adding Google DNS to Ubuntu via Terminal
sudo vim /etc/resolv.conf
Add line:
nameserver 8.8.8.8
Restart Network Manager:
sudo service network-manager restart
Renaming Ubuntu Machine
- Edit
/etc/hostname
- Edit
/etc/hosts
- restart