vagrant@vagrant-ubuntu-trusty-64:/$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
All packages list below
vagrant@vagrant-ubuntu-trusty-64:/$ cat /etc/apt/sources.list
Update software
vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get update
install
vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get install finger
Apache HTTP Server apache2
PostgreSQL postgresql
Memcache memcached
type finger
vagrant@vagrant-ubuntu-trusty-64:~$ finger Login Name Tty Idle Login Time Office Office Phone vagrant pts/0 Jan 18 12:14 (192.168.53.1)
vagrant@vagrant-ubuntu-trusty-64:~$ cat /etc/passwd
add user
vagrant@vagrant-ubuntu-trusty-64:~$ sudo adduser student
Adding user `student' ...
Adding new group `student' (1002) ...
Adding new user `student' (1002) with group `student' ...
Creating home directory `/home/student' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
Sorry, passwords do not match
passwd: Authentication token manipulation error
passwd: password unchanged
Try again? [y/N] y
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for student
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
sudo file
student@vagrant-ubuntu-trusty-64:~$ sudo cat /etc/passwd [sudo] password for student: student is not in the sudoers file. This incident will be reported.