How do I add a new command in the process file for a Linux host? I need to run a single command "admin" after login in order to do a password change.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How do I add a new command in the process file for a Linux host? I need to run a single command "admin" after login in order to do a password change.

L1 Bithead
1 accepted solution

Accepted Solutions

L5 Sessionator

Variable = <command name>

 

and apply that variable in transition phase

View solution in original post

3 REPLIES 3

L5 Sessionator

Variable = <command name>

 

and apply that variable in transition phase

L7 Applicator

Hi @Cory Spence​ 

 

In addition to @sanjay sah​ 's comments

 

It will require to define at two places,

 

  • Under the process steps where you define the change command

 

Example

 

AdminCommand=send "admin\r"

 

  • Then define in the Transition phase

 

SendPassword,StandardPrompt,AdminCommand

 

AdminCommand,StandardPrompt,ChangePass

 

 

 

Hope it helps !

L4 Transporter

Hi @Cory Spence​ 

Thank you for engaging with the community! Since several members have shared solutions to your question, could you please let us know if any of them have resolved your issue? If so, please consider marking the most helpful response as “Select as Best”- this helps others with similar questions find the right answer quickly.

If the question remains unresolved, I recommend submitting a ticket with our support team for further assistance.

Thank you,

Shaked

  • 1 accepted solution
  • 87 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!