Description
Type string READ/WRITE
runclienthost is a modifiable copy of the clienthost input variable.
Example
# reject commands being issued from unknown workstations
workstations = {"sun34","sun35","sun36"};
if (!(clienthost in workstations))
reject;
Description
Type string READ/WRITE
runcommand is a modifiable copy of the command input variable. It specifies the pathname of the program that pmlocald will run.
Example
Setting the runcomand can be a useful way of using a pseudonym for a command that an
auditor wants to disguise:
if ( command == "passcmd")
{
runcommand="/usr/bin/passwd"
runargv[0]="passwd";
runargv=replace(runargv,1,length(runargv));
}
Description
Type string READ/WRITE
Set runconfirmuser to a user name to direct pmlocald to request the runuser to authenticate as this user before running the runcommand. If authentication fails, then pmlocald rejects the session.
Example
if ( (user in appl_users) && (command in appl_cmds) )
{
runconfirmuser=runuser;
}
Related Topics
runuser
Description
Type string READ/WRITE
runcwd is a modifiable copy of the cwd input variable. Specifies the working directory for pmlocald to use when setting up the runtime environment for the session.
Example
if ( command in appl_cmds)
{
runcwd = "/home/appl_home";
}