Thursday 18 June 2015

Ubuntu Introduction

Ubuntu:
Ubuntu is an open source operating system.
The root user has all the possible permissions a user can possible have in Ubuntu.
In order to get to the root level terminal:
ctrl+Alt+f1 (at the time of booting into the system)

$ means that you are not yet the administrator, and just a regular user.

Trick to get the list of users:
cat /etc/passwd

The password for a user is stored in the following manner in the above file:
encrypted password:1003:1003::/home/username/:/bin/sh
1003 is where the user id goes.
And the 1003 right next to the user id is where the id of the group to which the user belongs is mentioned.

No comments:

Post a Comment