Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2010, 01:40 PM
bartm bartm is offline
Registered User
 
Join Date: Nov 2010
Posts: 7
Autologin + auto sudo

Is it possible to send 2 commands after autologin? I mean 'sudo user' and password? Is it safe to keep password in that way?

I've tried to add in Logon Action, after "assword:" expect: "user" and Send: "sudo user", but it didn't work. I've also tried to dowload some login script, but it also didn't work.

Can anyone help me?
Reply With Quote
  #2  
Old 11-22-2010, 07:33 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi bartm,

Thanks for the question. Saving passwords is not recommended. The feature exists because we have had many requests for it.

With regards to automating the login process, do you have the password saved for the session?

If so, then the first Logon Action item should be to look for the indication that the remote is ready for the username.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 01-17-2016, 12:34 AM
mrbeeye mrbeeye is offline
Registered User
 
Join Date: Jun 2013
Posts: 15
Is this possible now?

How can I pass a remembered password from credential store to a script?
Reply With Quote
  #4  
Old 01-18-2016, 07:28 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,293
Hello mrbeeye,

Quote:
Is this possible now?
I am not sure what functionality specifically you are referring to by "this".

Quote:
How can I pass a remembered password from credential store to a script?
Please elaborate on what you mean by the above as the prior conversation's focus seemed to be different.

By "remembered password", are you referring to a password saved within a SecureCRT session?

Presently, the /ENCRYPTEDPASSWORD password command-line option is the only mechanism that exists for using passwords saved in SecureCRT sessions.

See the SecureCRT Help topic Using the Software / Command-Line Options / Table of Protocol-Specific Command-Line Options for more info.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:50 PM.