得之我幸 失之我命

when someone abandons you,it is him that gets loss because he lost someone who truly loves him but you just lost one who doesn’t love you.

Kali 创建标准用户

Few benefits you have as non-root or standard user in Kali

  1. Install and run Google Chrome
  2. Install and run Gnome User and Groups manager (Install gnome-system-tools)
  3. Use Kali as Primary Operating System without worrying about breaking it all the time.

First of all let’s confirm which version of Linux and Kernel I’m running.In command prompt type in

1
2
$ uname –a
$ lsb_release –a

Now let’s add user. Open terminal and type following to create new user (replace user1 with your desired user name)

1
$ useradd -m username

(Note: -m means create home directory which is usually /home/username)

Now set password for this user

1
$ passwd username

Enter desired password twice

Add user to sudo group (to allow user to install software, allow printing, use privileged mode etc.)

1
$ usermod -a -G sudo username

(Note: -a means append or add and –G mean to specified group/groups)

Change default shell of previously created user to bash

1
$ chsh -s /bin/bash username

(Note: chsh mean change login shell, -s is the name of the specified shell you want for the user, in this case /bin/bash)
Nice, all worked out as expected.

Let’s logout and login back as our new Standard Non-root user (username)

life begins at the end of your comfort zone.