JUser

Synopsis

A user is a person who uses a computer or network service. Users generally use a system or a software product without the technical expertise required to fully understand it.

A user often has a user account and is identified to the system by a username (or user name). Other terms for username include login name, screen name.

A user’s account allows a user to authenticate to a system and to be granted authorization to access resources provided by or connected to that system; however, authentication does not imply authorization. To log into an account, a user is typically required to authenticate oneself with a password or other credentials for the purposes of accounting, security, logging, and resource management.

Help Command

This command helps to determine the usage of Juser module. The user will come to know about the different ways/format to execute this module. This command guides the end user to know the purpose of this command. Below given are the command and the screen shot of the same.

jrush juser help
kevell@corp:/# jrush juser help
****************************************
GC JRush - The Joomla Command Line Shell
****************************************

 This command allows you to update JUser.

 JUser, juser

       - delete
       Deletes a user
       example: jrush juser delete

       - info
       Display the details of a user
       example: jrush juser info

       - change the password of a user
       Change a users password
       example: jrush juser password

------------------------------
End Help
****************************************

Delete

When the user needs to delete an user in machine, the below given command will execute the process of installation.

jrush juser delete ..config file=”bootstrap file path”

The pictorial representation of the above command is listed below,

kevell@corp:/# jrush juser delete --config-file="/var/www/html/joomla/configuration.php"
Enter a JUser ID. To enter email/username use --user-email or --username parameters
2
****************************************
GC JRush - The Joomla Command Line Shell
****************************************

JUser Delete:
-------------------------

The following user has been deleted:

User ID: 0
Name:
User Name:
Email:
------------------------------
JUser Delete Finished
****************************************

Info

When the user needs to display the details of a user in machine, the below given command will execute the process of installation.

jrush juser info ..config file=”bootstrap file path”

The pictorial representation of the above command is listed below,

kevell@corp:/# jrush juser info --config-file="/var/www/html/joomla/configuration.php"
Enter a JUser ID. To enter email/username use --user-email or --username parameters
1
****************************************
GC JRush - The Joomla Command Line Shell
****************************************

JUser Info:
-------------------------

User ID:
Name:
User Name:
Email:

------------------------------
JUser Info Finished
****************************************

Password

When the user needs to change the password of a user in machine, the below given command will execute the process of installation.

jrush juser password ..config file=”bootstrap file path”

Alternative Parameter

Either of the two alternative parameter can be used in command- juser and JUser

eg: jrush juser info ..config file=”bootstrap file path” / jrush JUser info ..config file=”bootstrap file path”

kevell@corp:/# jrush juser password --config-file="/var/www/html/joomla/configuration.php"
Enter a JUser ID. To enter email/username use --user-email or --username parameters
5
Enter a new Password. To enter as parameter use --password
12345
****************************************
GC JRush - The Joomla Command Line Shell
****************************************

JUser Password:
-------------------------

User ID: 0
Name:
User Name:
Email:
User Password: NOT SET

------------------------------
JUser Password Finished
****************************************

Benefits

  • Easy to get the information about a user using a single command
  • Easy to change the password of a user from back end using single command
  • Easy to handle to user accounts
comments powered by Disqus