Difference between revisions of "Users Passwords"
(Created page with "Permissions or access rights can be specific between users and groups of users. These permissions control the ability of the users to view, change, navigate, and execute the c...") |
|||
Line 1: | Line 1: | ||
+ | <font color="red" size="+1">This page is beign temporarily revised with the newest updates.</font> | ||
+ | |||
Permissions or access rights can be specific between users and groups of users. These permissions control the ability of the users to view, change, navigate, and execute the contents of the file system. | Permissions or access rights can be specific between users and groups of users. These permissions control the ability of the users to view, change, navigate, and execute the contents of the file system. | ||
Line 10: | Line 12: | ||
= BASH = | = BASH = | ||
+ | |||
+ | == Change Password == | ||
+ | The '''root''' user has permission to create a new user, grant permissions or change password. | ||
+ | |||
+ | ==== 1. Login ==== | ||
+ | Login as a '''root''' user. | ||
+ | {{NotePre|text=login as: root | ||
+ | }} | ||
+ | |||
+ | ==== 2. Password Command ==== | ||
+ | Type a command '''passwd''' for password change of current user or '''passwd metel'''(user metel) for the different one and write new password after characters '''New password:'''. | ||
+ | |||
+ | {{NotePre|text= | ||
+ | Changing password for root | ||
+ | New password: | ||
+ | }} | ||
+ | |||
+ | {{Tip|TipText= | ||
+ | The password should be minimum 8-12 characters long including special characters, digits, lower case alphabetic and more. | ||
+ | }} | ||
+ | |||
+ | ==== 3. Retype the new password ==== | ||
+ | {{NotePre|text= | ||
+ | Retype password: | ||
+ | }} | ||
+ | |||
+ | ==== 4. Notification ==== | ||
+ | Notification of Linux, the password was changed successfully. | ||
+ | {{NotePre|text= | ||
+ | passwd: password for root changed by root | ||
+ | }} | ||
+ | |||
+ | |||
+ | == Create a New User == | ||
+ | If you are signed in as the root user, you can create a new user wit | ||
+ | |||
+ | ==== 1. Login ==== | ||
+ | Login as a '''root''' user. | ||
+ | {{NotePre|text=login as: root | ||
+ | }} | ||
+ | |||
+ | ==== 2. New User Command ==== | ||
+ | This command allows you add new user to the system, after '''adduser''' characters write the new user name (gama-example). | ||
+ | {{NotePre|text=root@iplog:~# adduser gama | ||
+ | }} | ||
+ | |||
+ | ==== 3. New User Password ==== | ||
+ | Write the password for new user account. | ||
+ | {{NotePre|text= | ||
+ | Changing password for gama | ||
+ | New password: | ||
+ | }} | ||
+ | |||
+ | ==== 4. Retype the new password ==== | ||
+ | {{NotePre|text= | ||
+ | Retype password: | ||
+ | }} | ||
+ | |||
+ | ==== 5. Notification ==== | ||
+ | Notification of Linux, the password was changed successfully. | ||
+ | {{NotePre|text= | ||
+ | passwd: password for gama changed by root | ||
+ | }} | ||
+ | |||
+ | The adduser command created a user, a group, and a home directory for your user. Your new user is now ready for use! You can now log in using the password you set up. | ||
+ | |||
+ | |||
+ | |||
+ | == Reset Password == | ||
== List of Users == | == List of Users == | ||
Line 31: | Line 102: | ||
sshd:*::::::: | sshd:*::::::: | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 08:44, 19 June 2019
This page is beign temporarily revised with the newest updates.
Permissions or access rights can be specific between users and groups of users. These permissions control the ability of the users to view, change, navigate, and execute the contents of the file system.
Contents
Default Access Details
The IPLOG unit use the same access details (username and password) for the WEB and SSH(BASH) too.
Username: root
Password: Clean, the default it without password!
BASH
Change Password
The root user has permission to create a new user, grant permissions or change password.
1. Login
Login as a root user.
login as: root
2. Password Command
Type a command passwd for password change of current user or passwd metel(user metel) for the different one and write new password after characters New password:.
Changing password for root New password:
Tip: The password should be minimum 8-12 characters long including special characters, digits, lower case alphabetic and more.
3. Retype the new password
Retype password:
4. Notification
Notification of Linux, the password was changed successfully.
passwd: password for root changed by root
Create a New User
If you are signed in as the root user, you can create a new user wit
1. Login
Login as a root user.
login as: root
2. New User Command
This command allows you add new user to the system, after adduser characters write the new user name (gama-example).
root@iplog:~# adduser gama
3. New User Password
Write the password for new user account.
Changing password for gama New password:
4. Retype the new password
Retype password:
5. Notification
Notification of Linux, the password was changed successfully.
passwd: password for gama changed by root
The adduser command created a user, a group, and a home directory for your user. Your new user is now ready for use! You can now log in using the password you set up.
Reset Password
List of Users
A file /etc/shadow/ contains all created permisions.
root@iplog:~# cat /etc/shadow
Example of default user list.
root@iplog:~# cat /etc/shadow root::10933:0:99999:7::: daemon:*:10933:0:99999:7::: bin:*:10933:0:99999:7::: sys:*:10933:0:99999:7::: sync:*:10933:0:99999:7::: mail:*:10933:0:99999:7::: www-data:*:10933:0:99999:7::: operator:*:10933:0:99999:7::: nobody:*:10933:0:99999:7::: metel:$1$dyS.UTOR$GE8nsEAN4OxJGD/g2uh1l.::::::: sshd:*:::::::