Difference between revisions of "Users Passwords"

From IPLOG
Jump to: navigation, search
Line 4: Line 4:
  
 
= Default Access Details =
 
= Default Access Details =
The IPLOG unit use the same access details (username and password) for the '''WEB''' and '''SSH'''(BASH) too.
+
The IPLOG unit use the same access details (Username and Password) for the '''WEB''' and '''SSH''' (BASH) too.
  
  
 
'''Username:''' root
 
'''Username:''' root
  
'''Password:''' Clean, the default it without password!
+
'''Password:''' Clean, the default is without password!
 +
 
 +
 
  
 
= BASH =
 
= BASH =
Line 24: Line 26:
 
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:'''.  
 
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=
+
{{NotePre|text=root@iplog:~# passwd
 
Changing password for root
 
Changing password for root
 
New password:
 
New password:
Line 43: Line 45:
 
passwd: password for root changed by root
 
passwd: password for root changed by root
 
}}
 
}}
 +
  
  
 
== Create a New User ==
 
== Create a New User ==
If you are signed in as the root user, you can create a new user wit
+
If you are signed in as the '''root''' user, you can create a new user without permissions limitations.
  
 
==== 1. Login ====  
 
==== 1. Login ====  
Line 80: Line 83:
  
  
== Reset Password ==
+
== Reset User Password ==
 +
The '''User password''' is possible change via root account. [[Users Passwords#Change Password|Change password as root.]]
 +
 
 +
== Reset Root Password ==
 +
Reset the password for '''root''' account is possible only of the '''Recovery mode'''. Mount the userfs files of common firmware image and delete the root password there.
 +
 
 +
==== 1. Recovery ====
 +
[[Recovery mode|How to get to Recovery mode]]
 +
 
 +
 
 +
 
  
 
== List of Users ==
 
== List of Users ==

Revision as of 10:46, 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.

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 is 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:.

root@iplog:~# passwd
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 without permissions limitations.

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 User Password

The User password is possible change via root account. Change password as root.

Reset Root Password

Reset the password for root account is possible only of the Recovery mode. Mount the userfs files of common firmware image and delete the root password there.

1. Recovery

How to get to Recovery mode



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:*:::::::