User Management in Backtrack

| Thursday, December 24, 2009

Backtrack is a derivative of the Slax distro, and can say as a grandson of the Slackware distribution, for those who have been or are familiar with these older distros (Slackware.Red), must not be too long to make it user, so this tutorial aimed at the linux newbie like me hehhehehee :D

For example we create a user named anonymous. the following steps:

Check your first login as now what? of course as root ))

# whoami
root


Before proceeding to the stage of the user, I will make first public_html folder
in the directory / etc / skel in order to finish creating the user, automatically public_html folder
also be made on the user's home directory (/ home / anonymous / public_html):
# mkdir /etc/skel/public_html

Now we are entering the stage of user:
# adduser anonymous

Login name for new user: anonymous

User ID (’UID’) [ defaults to next available ]:

Initial group [ users ]:

Additional groups (comma separated) []:

Home directory [ /home/anonymous ]

Shell [ /bin/bash ]

Expiry date (YYYY-MM-DD) []:

New account will be created as follows:

—————————————
Login name…….: anonymous
UID…………..: [ Next available ]
Initial group….: users
Additional groups: [ None ]
Home directory…: /home/anonymous
Shell…………: /bin/bash
Expiry date……: [ Never ]

This is it… if you want to bail out, hit Control-C. Otherwise, press
ENTER to go ahead and make the account.

Creating new account…

Changing the user information for anonymous
Enter the new value, or press ENTER for the default
Full Name []: anonymous
Room Number []:
Work Phone []:
Home Phone []:
Other []: atoz@bungker.org
Changing password for anonymous
Enter the new password (minimum of 5, maximum of 127 characters)
Please use a combination of upper and lower case letters and numbers.
New password: ***********
Re-enter new password: ***********
Password changed.

Account setup complete.

Note :
Enter the user name, no id useeer, first name or initial, home directories, the shell is used,
date account of kadaluarssa made.
Each user having an individual group, useful when working in a network. All users who are in the same group have the same access rights too, well ... to add a group. use the command:
To delete a user, run the command:

# userdel anonymous

Each user having an individual group, useful when working in a network. All users who are in the same group have the same access rights too, well ... to add a group. use the command:
# groupadd [nama_group]

Untuk menghapusnya, gunakan perintah :

# groupdel [nama_group]

If you want to modify user accounts you have, use usermod perntah. Suppose you want to modify the
anonymous user group, the group wheel.

# usermod -G wheel anonymous
# id anonymous
uid=1001(anonymous) gid=100(users) groups=100(users),10(wheel)

To view the manual commands using telash mentioned above, use the command man [command_name]. Example:
# man usermod

Until our discussion here first. Good luck

0 comments:

Post a Comment