<?xml version="1.0" encoding="iso-8859-1"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="hub" href="https://pubsubhubbub.appspot.com/" />
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" type="application/rss+xml" rel="self" href="http://backupforum.progforums.com/BackupForum/rss.php?tid=103" /> 
<title>Backup forum : IDrive : Common Room : Is there a script for automating login during bootup, for Linux users?</title>
<link>https://backupforum.progforums.com/BackupForum</link>
<description> Backup forum</description>
<language>en</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=366#p366</link>
<guid isPermaLink="false">366@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: Wow, such excellent suggestions...thanks immensely. I WILL contact Mr. Kumar on this, shortly. Will report back. But I JUST found something interesting:I rebooted Linux, and then ran the IDrive script, login.pl...and it says I'm already logged in! Hmm. But I rebooted early this morning, when my monitor was blank, and it wouldn't turn back on. I don't use sleep or hibernation mode, but DO have the system set to turn the screen blank after ten minutes of no activity. Usually, once I tap a key or do a mouse click, the screen turns back on. But I've found that it sometimes fails to do that after leaving the system inactive overnight. So, that forced shutdown (by keeping the power button pressed), may have something to do with my still being logged on to IDrive...by possibly restoring my current online activities before the shutdown.Egads...just one thing after another...you can't make this stuff up!
</description>
<pubDate>Mon, 08 Feb 2021 18:42:02 +0000</pubDate>
</item>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=365#p365</link>
<guid isPermaLink="false">365@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: Zeke wrote:SteveA wrote:Did you put a # in front of the existing input statements?
No, because those statements I changed directly...I didn't copy and paste them to duplicate, then comment out the original statement.
#my $uname = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'username', ': '], &#34;username&#34;, 1);#my $upasswd = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'password', ': '], &#34;password&#34;, 0);
I have no idea where to type in my username and password. Maybe between those paired but empty quote marks? Or replace double-quoted &#34;username&#34; and &#34;password&#34; at the end there?
Regarding the @ symbol, apparently Perl tries to interpret it, so you need to escape it, for example:
my $uname = &#34;zeke\@domain.com&#34;;
Okay, got it, thanks.
What I meant was, you get rid of the whole line containing &#34;getAndValidate&#34; (by commenting it out) and add a new line with just my my $uname = &#34;zeke\@domain.com&#34;getAndValidate is a function that takes keyboard input and assigns it to the variable $uname, but we want to just hard-code it.
Zeke wrote:As to whether you should be doing this in login.pl - may be!
I think it's fine to change the filename...however, I can always stick to the original, after first backing it up as &#34;login-ORIGINAL.pl&#34;. I just need to figure out where to type in the username and password...as well as the encryption key! Thanks!
my $encKey = Common::getAndValidate([&#34;\n&#34;, 'enter_your', &#34; encryption key: &#34;], &#34;private_key&#34;, 0);appears many times in login.pl and account_settings.pl so I'm not sure which one you would change - potentially all of them, but it may be that the scripts are designed to handle a number of accounts so it may be a bit more complicated.
Zeke wrote:Maybe I'll send a query on this to IDrive support, about creating an automated script. They just asked me to run &#34;send_error_report.pl&#34; and include the ticket number before sending it off to them.
See if you can get in contact with Anil Kumar who wrote those scripts. He's on LinkedIn.I wonder if there's a simpler way to hack these scripts and bypass login - after all, they have already stored your authentication details so that they can run unattended&#160; backups from the cron jobs.
</description>
<pubDate>Mon, 08 Feb 2021 12:22:10 +0000</pubDate>
</item>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=364#p364</link>
<guid isPermaLink="false">364@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: SteveA wrote:Did you put a # in front of the existing input statements?
No, because those statements I changed directly...I didn't copy and paste them to duplicate, then comment out the original statement.
#my $uname = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'username', ': '], &#34;username&#34;, 1);#my $upasswd = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'password', ': '], &#34;password&#34;, 0);
I have no idea where to type in my username and password. Maybe between those paired but empty quote marks? Or replace double-quoted &#34;username&#34; and &#34;password&#34; at the end there?
[Regarding the @ symbol, apparently Perl tries to interpret it, so you need to escape it, for example:
my $uname = &#34;zeke\@domain.com&#34;;
Okay, got it, thanks.
I'm not familiar with Perl either, we live and learn!
As I like to say: &#34;I couldn't hack my way out of a virtual paper bag!&#34; :D
As to whether you should be doing this in login.pl - may be!
I think it's fine to change the filename...however, I can always stick to the original, after first backing it up as &#34;login-ORIGINAL.pl&#34;. I just need to figure out where to type in the username and password...as well as the encryption key! Thanks!Maybe I'll send a query on this to IDrive support, about creating an automated script. They just asked me to run &#34;send_error_report.pl&#34; and include the ticket number before sending it off to them. This is about finding out why my backup stopped at 18%. As for your theory that it does not resume from where you left off...IIRC in Windows it DID resume at the percentage point from where I stopped. Anyway, let's see what they have to say.
</description>
<pubDate>Mon, 08 Feb 2021 03:29:53 +0000</pubDate>
</item>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=363#p363</link>
<guid isPermaLink="false">363@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: Further to my comment about login.pl - yes, maybe copy it to a new file called loginauto.pl and modify it so that the username, password and encryption key are assigned automatically.
</description>
<pubDate>Mon, 08 Feb 2021 01:12:13 +0000</pubDate>
</item>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=362#p362</link>
<guid isPermaLink="false">362@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: Did you put a # in front of the existing input statements?
#my $uname = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'username', ': '], &#34;username&#34;, 1);#my $upasswd = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'password', ': '], &#34;password&#34;, 0);
Regarding the @ symbol, apparently Perl tries to interpret it, so you need to escape it, for example:
my $uname = &#34;zeke\@domain.com&#34;;
I'm not familiar with Perl either, we live and learn!As to whether you should be doing this in login.pl - may be!
</description>
<pubDate>Mon, 08 Feb 2021 01:06:18 +0000</pubDate>
</item>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=361#p361</link>
<guid isPermaLink="false">361@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: Well, I tried that, but it seems to hiccup over using the &#34;at&#34; symbol, as my username is my email address. And I don't know how to get around that. Here's the result:
zeke@X230:~/IDriveForLinux/scripts$ ./account_setting-AUTO.pl&#34;my&#34; variable $uname masks earlier declaration in same scope at ./account_setting-AUTO.pl line 119.Possible unintended interpolation of @sonic in string at ./account_setting-AUTO.pl line 119.&#34;my&#34; variable $upasswd masks earlier declaration in same scope at ./account_setting-AUTO.pl line 125.Global symbol &#34;@sonic&#34; requires explicit package name (did you forget to declare &#34;my @sonic&#34;?) at ./account_setting-AUTO.pl line 119.Execution of ./account_setting-AUTO.pl aborted due to compilation errors.
Or it's something else, I really have no idea, I'm not a programmer in ANY language, including Perl. At any rate, wouldn't it be the &#34;login.pl&#34; file I'd need to edit?
</description>
<pubDate>Sun, 07 Feb 2021 23:11:07 +0000</pubDate>
</item>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=357#p357</link>
<guid isPermaLink="false">357@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: I don't use these scripts myself, but I've had a look at them and I noticed in account_setting.pl there are input statements for Usermame, Password and Encryption key.
# Get user name and validate&#160; &#160; my $uname = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'username', ': '], &#34;username&#34;, 1);&#160; &#160; $uname = lc($uname); #Important&#160; &#160; my $emailID = $uname;&#160; &#160; # Get password and validate&#160; &#160; my $upasswd = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'password', ': '], &#34;password&#34;, 0);
Couldn't you just modify these lines to assign your details directly? 
# Get user name and validate&#160; &#160; #my $uname = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'username', ': '], &#34;username&#34;, 1);&#160; &#160; &#160; &#160; my $uname = &#34;zeke&#34;;&#160; &#160; $uname = lc($uname); #Important&#160; &#160; my $emailID = $uname;&#160; &#160; # Get password and validate&#160; &#160; #my $upasswd = Common::getAndValidate(['enter_your', &#34; &#34;, $AppConfig::appType, &#34; &#34;, 'password', ': '], &#34;password&#34;, 0);&#160; &#160; &#160; &#160; my $upasswd = &#34;ZekePW123&#34;;
</description>
<pubDate>Sun, 07 Feb 2021 19:47:00 +0000</pubDate>
</item>
<item>
<title>Is there a script for automating login during bootup, for Linux users? in IDrive : Common Room</title>
<link>https://backupforum.progforums.com/BackupForum/viewtopic.php?pid=355#p355</link>
<guid isPermaLink="false">355@https://backupforum.progforums.com/BackupForum</guid>
<description>Topic: Is there a script for automating login during bootup, for Linux users?

Message: I'd love to be able to automatically login to IDrive, whenever I boot up. Second best option would be to create a script that will log me in automatically, that I can run AFTER booting up, that is: without having to type in my username, password, and encryption key. I'm the only one using this computer, so security issues are zilch. Thanks!
</description>
<pubDate>Sun, 07 Feb 2021 19:04:32 +0000</pubDate>
</item>
</channel>
</rss>
