v.: 2020-09-04
Copyright of the European Union is effective (Copyright EU) (c) 2019 GENEREX Systems GmbH, Hamburg, Germany, All rights reserved
TEL +49(40)22692910 - EMAIL generex@generex.de - WEB www.generex.de (This and all other product datasheets are available for download.)
59
2b. Performing an emergency password reset
Start the session using the credentials of the emergency user.
Requesting extended system rights
Command: sudo su
The user Emergency has basically no authorization to administer the RCCMD appliance. Since this user is listed in the group of
superusers, sudo su enables extend the system rights.
Navigating to required directory
Command: cd /usr/rccmd/webconfig/resources
This directory contains the
configuration scripts you need to edit
the password of the user admin.
Using a text editor to change passwords
Command: nano realm.properties
nano is a very handy and well laid-out editor for viewing
and editing files and scripts within the RCCMD operating
system. The file realm.properties itself contains the
encrypted password for the web interface of RCCMD.
Following changes have to be made:
#RCCMD realm.properties
# username: password [,rolename ...]
#admin: CRYPT:adg.Dq8TXmNZI, admin -> Use # to disable this line
admin: Notfall, admin -> Add this line
In this example, the user admin would now be assigned the password āNotfallā:
Saving settings.
Command: CTRL X
Save the file and exit the text editor. Be sure to overwrite the original file. Changing file name will not work.
Restarting RCCMD Web Interface
Command: /etc/init.d/rccmdConfig restart
This command will restart the web interface and set the new password.