Sponsored Content
Top Forums Shell Programming and Scripting navigating a web interface with a shell script Post 302282558 by boyincity on Saturday 31st of January 2009 07:07:04 PM
Old 01-31-2009
navigating a web interface with a shell script

I'm trying to design a script that will check the external ip address of my home network and then assign it to the A record of a subdomain. When i started, i thought i could do this with SSH, but turns out I don't have ssh access to update the DNS record (not surprising i suppose)

So now, i have to figure out if it's possible to log in and navigate the web interface with a script( perl or bash preferably) to update that A record. I don't even know where to start on this, and was hoping maybe someone here might be able to point me in the right direction. I've so far managed to find nothing online, but I think it's at least partially because search with script and web interface tend to bring up cgi type threads.

Thanks again!
 

7 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Nagios web interface is not getting

Hello everyone, I had installed nagios 3 on fedora 5 successfully and i have verified sample config file by issueing command like /usr/local/..... -v /usr/local.../nagios.cfg . ....and i am getting the result as well. After that i started nagios by giving command like ... service nagios... (1 Reply)
Discussion started by: Renjesh
1 Replies

2. Shell Programming and Scripting

User interface for the shell script

Hi, I have written a shell script that does the job of downloading a build file and upgrading a application on my test linux system. This shell is a interactive script where the user needs to enter certain info like the remote system on which the upgrade has to be performed and the build number... (2 Replies)
Discussion started by: sunrexstar
2 Replies

3. AIX

Same shell script does not working on same server but from different interface..why?

Hi , I have shell script which is perfectly working on unix server prompt. But when i execute it using maestro scheduler with same user , it is giving error of not recognizing the env or local variable. This is code in script inbDir=${INTRFACE_DIR}/inbound zipfile=$inbDir/$1 echo... (2 Replies)
Discussion started by: avi.coep
2 Replies

4. Shell Programming and Scripting

Shell script trigger using http interface

Hi I have created a shell program, which takes a series of parameters as shown in the below code. Its working good from terminal. My program restorejob.sh -g <NAME> -p <Path-to-search> -r <Path-to-restore> Its working fine from bash shell. I want to extend this functionality like... (1 Reply)
Discussion started by: rakeshkumar
1 Replies

5. Web Development

Web Interface for a database

Hi Gents, What is the best way to create a web interface for mysql database? That I can manage my data for root user and for normal user as well according to their privileges? Assuming that I use Linux as a server and Apache as a web server and my database is mysql. Thanks in advance (5 Replies)
Discussion started by: leo_ultra_leo
5 Replies

6. Shell Programming and Scripting

Web Interface for shell script.

Hi Team, I have daily pdf files which i have to convert in tif images. I have script which does it. I need to put these images in some specific folder (which i create manually) on server. Is there any web based way to it, so that user can simply browse file & it will convert & upload on... (1 Reply)
Discussion started by: paragnehete
1 Replies

7. Solaris

How can i get Solaris interface ip using shell script?

HI Community, my server has more than 15 zones and each one is having virtual interface of 10G adapter (qlge0) if the filter the output of ifconfig -a | grep inet, it's showing all interfaces including virtual. i have take first like from the output and assumed that as my main ip is... (3 Replies)
Discussion started by: bentech4u
3 Replies
RBASH(1)						      General Commands Manual							  RBASH(1)

NAME
rbash - restricted bash, see bash(1) RESTRICTED SHELL
If bash is started with the name rbash, or the -r option is supplied at invocation, the shell becomes restricted. A restricted shell is used to set up an environment more controlled than the standard shell. It behaves identically to bash with the exception that the follow- ing are disallowed or not performed: o changing directories with cd o setting or unsetting the values of SHELL, PATH, ENV, or BASH_ENV o specifying command names containing / o specifying a file name containing a / as an argument to the . builtin command o specifying a filename containing a slash as an argument to the -p option to the hash builtin command o importing function definitions from the shell environment at startup o parsing the value of SHELLOPTS from the shell environment at startup o redirecting output using the >, >|, <>, >&, &>, and >> redirection operators o using the exec builtin command to replace the shell with another command o adding or deleting builtin commands with the -f and -d options to the enable builtin command o using the enable builtin command to enable disabled shell builtins o specifying the -p option to the command builtin command o turning off restricted mode with set +r or set +o restricted. These restrictions are enforced after any startup files are read. When a command that is found to be a shell script is executed, rbash turns off any restrictions in the shell spawned to execute the script. SEE ALSO
bash(1) GNU Bash-4.0 2004 Apr 20 RBASH(1)
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy