Software :: Automate Interactive Cli Installs?
Nov 22, 2010
can provide recommendations on any projects that can fully automate the install process of an interactive application. I am doing installs of applications such as websense and they are all interactive. I would like to automate all interactive installs in my environment. I did find the following: [URL]
View 1 Replies
ADVERTISEMENT
Feb 4, 2011
I have a situation where I am in a non-interactive shell. I have tried from within my non-interative shell to spawn an interactive shell but my output still does not goto me. Isn't there a way I can somehow go into /proc or somwhere and make the output my /dev/tty1? Or some way else to remedy this?The situation arises because I drop from my restricted shell environment (a sort of CLI interface), into the actual Linux shell. I cannot change the code of the CLI environment I am just faced with being in the linux shell environment and its non-interactive. Its very annoying to have to put > /dev/tty1 after every command I type.
Not to mention it seems damn near impossible to get pagers like more and less to work properly when your in a non-interactive shell.
View 2 Replies
View Related
Dec 5, 2010
eog notices when a PNG file changes, and offers to reload it.But it does not reload until I move the mouse over to the monitor where I stuck eog, and click ReloadHow can I make eog just reload automatically without asking -- the way evince does, for PDFs?
View 1 Replies
View Related
Apr 6, 2011
i am trying to automate a service but i dont know how to do it. I am automating a library system and there are services that have to start at the startup (during boot). How will i make this service to run at the startup in debian?
View 1 Replies
View Related
Oct 18, 2010
Is it possible to make a script, which reads commands from a file one line after another, logs into a network device over a console connection(RS-232) and executes those commands wile sleeping 1s after each line? I have used minicom in order to connect over console line, but minicom is not scriptable as far as I know. There is a macro option, but this configuration file is almost 2000 lines long. Is such script possible at all?
View 7 Replies
View Related
Jun 7, 2011
I currently have a setup which allows me to connect to all computers on my home network via SSH and RSA keys. I'm very security-conscious, so all of my keys are passphrase protected. I'd like to essentially set something up where I'm running Unison on a cron job to back up to a file server on my network, which we'll call timmy. I've noticed that the first time I try to use a key on my Ubuntu laptop teeks, I get a dialog which pops up asking me to type in my key passphrase. I've heard that for servers needing to make automated backups like this that one should use ssh-agent to ask for the key passphrase on login/server start. How can I set this up on teeks?
I'd essentially like to have the following happen:When I boot and come into the OS, prompt visually for the passphrase as is done when I first use a key.If I SSH into this computer (as it's internet-facing) and I haven't provided the SSH passphrase yet, then prompt for it. (Sometimes, I might need to remotely reboot the machine over SSH, so I'll be SSH'ing into it after it reboots and I'd like to be able to authenticate the key without having to VNC in and do it manually.)
View 2 Replies
View Related
Jan 20, 2011
I am trying to automate testing of logon into a web application using "curl". as the first step i am doing below to see if i can login to the app from command linecurl --verbose --user usernameassword my.url.combut it does not seem to be working. from the output that i get it seems it only gets to the page where to enter my username/password. but does not get past that stage. below are the first few lines from the output
curl --verbose --user administrator my.url.com
Enter host password for user 'administrator':
* About to connect() to my.url.com port 7790
[code]...
View 3 Replies
View Related
Feb 10, 2011
I'd like to get the information about automatization of the tasks in Linux, more specifically in Fedora with minimal installation (without graphical interface and so on).The application (developed in C) needs to be started automatically when the computer is initialized. I've read about cron but I guess it's not a solution in this case because whenever computer starts the application must run once.I also have read about the/etc/ rc.local file but I made some tests changing it and they didn't work, the computer starts asking me the login and password but nothing run after that.The inittab was the same. In this way, someone know how to initialize an application developed in C when the computer starts?
View 6 Replies
View Related
May 24, 2011
I would like to automate a definition process. I have 11,581 to define. :|
I would like to read each word, copy the definition(s) and append it next or below the word or save definitions to file.
The word list has one word per line.
Python script?
Bash?
Perl?
Its an interesting project but I cant seem to figure it out. Lack of programming skills.
View 2 Replies
View Related
Feb 25, 2010
I have RHEL Machine in production server where we gets usual alerts that logs filling up spaces. We archive those logs but in case it grows maximum we delete the old ones. Any idea how can we autiomate the process.
View 1 Replies
View Related
Mar 29, 2011
I need to tar this logs, but i dont how to make it simplier to me. Everyday there are created this five logs. I need to make five tar files from every day from this files at the end of the month
For example
Till now i have tar it manualy (copied every file)
View 2 Replies
View Related
Jul 30, 2010
I want to share file locations with pc users (i'm a mac user). problem is: mac uses fslash, while pc files are indicated with baskslashes. I'm looking for a automation/plugin/shortcut/... to change them quick. I use paths a lot and share them with pc users, so manually it's to time consuming.
View 2 Replies
View Related
Aug 11, 2010
Is there a non-interactive way to change a user's passwd short of using expect? I'm using Debian.If not, then I guess I need to get this expect script working:
Code:
#!/usr/local/bin/expect -f
set username $env(UNAME)
[code]...
View 2 Replies
View Related
Feb 5, 2010
just installed server edition... and is there a way to automate the server login?or through ssh because i want to get rid of the monitor i have plugged into it
View 1 Replies
View Related
Mar 8, 2010
I want an alias to move ~/.sportstracker to ~/Documents/Software/SportsTracker_4.1.1 and then zip it and name the zip file like this SportsTrackerBackup_yyyy-mm-dd (example: SportsTrackerBackup_2010-03-08)Note: I don't mind how the archive is compressed, 7z, rar, zip, tar, etc. Although the higher the compression the better
View 9 Replies
View Related
Jul 6, 2010
Every time I start Ubuntu, to enable copying files, I open two Nautilus windows and I then have to drag those windows into the places on the desktop where I'd like them to be. It seems silly to manually do this 800 times a year! Is there any way to automate this? Would a script be able to achieve this?
View 3 Replies
View Related
Nov 8, 2010
I manage to get Ethernet over Firewire working between my Windows XP desktop and my Ubuntu 10.10 laptop.However, I am getting tired of having to manually issue the ifconfig command every time.How can I automate it so that the command is done at bootup?
View 1 Replies
View Related
Jun 29, 2011
I'm trying to fully automate a Minecraft server, and I decided to use Ubuntu 11.04 on this computer. The computer I'm using for it is an old computer (it's the old family PC, it's about 5 years old (and running amazingly now that I've formatted the hard drive (compared to how it used to run))) so it won't run the Unix environment (or something like that) and runs the Gnome environment instead.
Anyways; the server auto-starts when my computer turns on (my computer also automatically turns on). Now all I need to do is have my computer auto-shutdown at 12:00AM as well as enter the command "stop" into the running terminal. I plan to later add more commands (such as automatically welcoming people to the server when they connect, but that's not important right now and I'll likely be able to figure out if I can get this working).
This is the command I'm using to shutdown the computer:
sudo shutdown -P 24:00
However, it doesn't work. First of all, I need to enter my password, so I need some way to have the shell file enter my password for me whenever the terminal asks for it. Second of all, it just plan doesn't work, even if I enter my password (like, the countdown doesn't appear). As for entering commands into the terminal, the only way I can think of is:echo "stop" But the problem is that doesn't work because it wont enter into the running terminal (and I don't know how to do that).
View 9 Replies
View Related
Oct 16, 2010
I need to source the my /home/me/.bashrc file every time I "su -" to root. Is there any way to automate this? I cannot edit any thing in the root's environment as it is shared by people.
View 7 Replies
View Related
Mar 11, 2010
I need to ftp some files nightly from my linux box to an arbituary ftp server not controlled by me.
The ftp server admin has granted me an account for the purpose, but do not wish me to store the plain username or password in any script files for security reasons. How can I do that?
the wrong way would be:
Code:
$ cat my_script
open server_address
user plane_ftp_username plane_ftp_password
put a.txt
[Code].....
View 8 Replies
View Related
Apr 19, 2010
I have a heavily used file server that I want to restart, then if it requires e2fsck's on any volume to run them after it restarts. The only problem is that the server is rarely rebooted, and they said it might kernel panic because its been so long. I've heard there's a way to have it go past the kernel panic if it does happen, but I'm not sure how to do that or the other stuff.If it was a Windows server, I would schedule a shutdown with the force switch, and have the chkdsk's already scheduled for each volume on reboot. But for RHEL, I really don't know.I'm hoping this can be done, so that way I can have it kick off at say 7am, then when I get in at 8am it will probably be near the end of the e2fsck's so I can see what's going on.
View 11 Replies
View Related
Sep 25, 2009
I have over 500 hours of audio recordings of my server room. There's a lot of background noise from the fans, but mostly it's constant. Is there a way to automate an analysis of these audio files (mp3 each 30 min) and display changes? Like frequency or decibel changes?
View 3 Replies
View Related
Apr 6, 2009
Posting from Splashtop as i can't get past keytouch-apid in the boot process,Yeah me bad so i would like to disable it so i can complete the process.Using the interactive startup seemed the way to go but how does one get there before udev starts up?Or is there something else i could try.
View 2 Replies
View Related
Feb 20, 2011
My problem is: One of my services has failed to start. All I need is just go into interactive startup and ignore that service. The system is encrypted as LUKS. I press 'i' before and after entering the phrase (it asked me "Password for filesystem"). But interactive startup seems not working. All the services go to start without my permission. I mean there is no question such as "Start XXX [Y/N]?"
In the past I used CentOS for some months, and interactive startup (by pressing 'i' on boot time) was fine. I could allow or not what service should be started.
I have googled and found these:
[URL]
View 2 Replies
View Related
Jan 26, 2011
I need to run a script that prompts the user for some input and takes action based on that input. It must run at the end of the login process, after the desktop is displayed.I tried putting it in ~/.bash_login, but it didn't run. Do I need to tell /etc/profile to run ~/.bash_login? I thought it looked for it & ran it if it was found.
A related question would be - Can I make it so the terminal session that is running the script be the only thing that the user can do? In other words, they can't click on anything on the desktop or in the panels and have it run until after they respond to the input request.
View 1 Replies
View Related
Mar 10, 2011
The interactive map on weather.com no longer works for me in Firefox. I'm just looking for some feedback from other users if they can see the map or not. I'm using Lucid with current updates.
View 3 Replies
View Related
Mar 24, 2011
how can I make my sh interactive by default. That I don't have to always type --interactive everytime I log in. I want it to be always interactive. #2- how also do I turn of --posix mode parmanently ? Is there a line I need to drop somewhere or what do i do.
View 4 Replies
View Related
Aug 4, 2010
I need an non-interactive, symetric, passphrase mechanism that can be used on machines beyond my sys-admin control. Currently, I use the Python code (with variants):
Stat, Output = commands.getstatusoutput(
"gpg -c --passphrase=%s '%s'"%(Password, TarFileName))
to encrypt and decrypt files (tar balls). The "Password" is generated by a Python code on a singular removable flash drive. It worked with FC11 and Windows, but with FC13 I get an interactive dialog, which gets canceled, and then: can't connect to `/home/{a user id}/.gnupg/S.gpg-agent': No such file or directory
gpg-agent[3432]: command get_passphrase failed: Operation cancelled
gpg: cancelled by user
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of `testdata' failed: Operation cancelled
The operator does not know the pass phrase. This is a single user mechanism which relies upon the mounting of the special flash drive to work. The application is portable across many platforms and hosts, but can only be used by the possessor of the flash drive.
View 1 Replies
View Related
Mar 22, 2010
I'm writing a bash script that can be run by crontab or by a user interactively.
If the script is run by a user interactively, it will ask for a parameter interactively.
If the script is run by the crontab, it validates if a command line parameter is provided.
In doing so, I cannot get these tests to work inside the bash script
Code:
This shell is not interactive
How the tests be done inside a script?
View 5 Replies
View Related
May 5, 2010
I am trying to figure out where variables are set for interactive shells? In particular, I am trying to have LS_OPTIONS inherited by interactive shells as it is by login shells. I understand LS_OPTIONS is set in /etc/profile, and this may not be processed by interactive shells but by login shells. However, I also note other variables such as PATH and INPUTRC are set correctly in interactive shells, and these are also set in /etc/profile from what I understand. So how is it determined which variables are inherited by all shells, and which are just for login shells?
View 16 Replies
View Related