OsConsoleCommand

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Reordering, merging, and removing redundant info. Also removed people's signatures because that info is already available in the history and this is not the discussion page)
Line 3: Line 3:
 
'''osConsoleCommand'''(string command)  
 
'''osConsoleCommand'''(string command)  
  
'''Returns:'''  
+
'''Returns:'''
 +
 
 +
Nothing
  
 
'''Threat level:'''  
 
'''Threat level:'''  
Line 9: Line 11:
 
Severe  
 
Severe  
  
'''Examples:'''  
+
'''Description:'''
 
+
osConsoleCommand(login disable);  This would issue a Login Disable command on the console to prevent logins.  Any Console command can be issues with this function.
+
 
+
'''SECURITY !!!''':   This command CAN be Dangerous.  Therefore when setting up the [XEngine] section of your OpenSim.ini '''Allow_osConsoleCommand = UUID'''
+
 
+
Where UUID is the OWNERS or ACCEPTED Users UUID.  You can use '''Allow_osConsoleCommand = UUID,UUID,UUID''' which would allow for 3 People to be identified.
+
 
+
------------------------------------------------------------------------
+
  
--[[User:SimCore|SimCore]] 14:30, 12 November 2010 (UTC)
+
This function allows an LSL script to directly execute a command to opensim's console. There are no security checks, so it can do anything a user with access to the command console could do, such as changing the avatar passwords, deleting sims, changing the terrain, and just about everything else. This command represents the highest security threat of any OSSL function, giving it a threat level of ''Severe''.
  
This function allows an LSL script to directly execute a command to opensim's console. There are no security checks, so it can do anything a user with access to the command console could do, such as changing the avatar passwords, deleting sims, changing the terrain, and just about everything else. This command represents the highest security threat of any OSSL function, giving it a threat level of '''Severe'''.  
+
Do not use or allow this function unless you are absolutely sure of what you're doing! It is advisable to allow the use of this function for particular users only. See [[Threat level]] for more information on how to do this.
  
Do not use or allow this function unless you are absolutely sure of what you're doing!
+
'''Example:'''
  
--[[User:ZauberExonar|ZauberExonar]] 08:02, 5 February 2010 (UTC)
+
<source lang="lsl">osConsoleCommand("login disable");</source>
 +
This would issue a Login Disable command on the console to prevent logins.

Revision as of 01:46, 17 November 2010

Syntax:

osConsoleCommand(string command)

Returns:

Nothing

Threat level:

Severe

Description:

This function allows an LSL script to directly execute a command to opensim's console. There are no security checks, so it can do anything a user with access to the command console could do, such as changing the avatar passwords, deleting sims, changing the terrain, and just about everything else. This command represents the highest security threat of any OSSL function, giving it a threat level of Severe.

Do not use or allow this function unless you are absolutely sure of what you're doing! It is advisable to allow the use of this function for particular users only. See Threat level for more information on how to do this.

Example:

osConsoleCommand("login disable");

This would issue a Login Disable command on the console to prevent logins.

Personal tools
General
About This Wiki