Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Calling a remote shell script and applying a DB dump Post 302766777 by vbe on Tuesday 5th of February 2013 11:15:53 AM
Old 02-05-2013
Q: Since you are talking of DB, why is it you use a root account and not a user belonging to a DBA group?
If the sysadmin doesnt allow root loggin I find it a very bad idea to try to bypass (If I were the sysadmin you would no more have the right to connect at all...)
Many servers have ssh configured so root is not allowed to use ssh also...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calling shell script ?

hi friends, i'm new to unix and straight away i had to start with the script files. I've a script file which gets called from a menu item on a GUI. This script file again calls .awk file, in performing some tasks , which also generates certain files. I modified the files to generate some... (1 Reply)
Discussion started by: Ravi_Kandula
1 Replies

2. Solaris

Shell script to send email alert for core dump

Friends, I am in search for a shell script that is capable of running as a cronjob and have to send out an email when ever there is a CORE DUMP. Please post the hints to achieve my goal. Thanks in advance. (1 Reply)
Discussion started by: rtatineni
1 Replies

3. Shell Programming and Scripting

Calling shell functions from another shell script

Hi, I have a query .. i have 2 scripts say 1.sh and 2.sh 1.sh contains many functions written using shell scripts. 2.sh is a script which needs to call the functions definded in 1.sh function calls are with arguments. Can some one tell me how to call the functions from 2.sh? Thanks in... (6 Replies)
Discussion started by: jisha
6 Replies

4. Shell Programming and Scripting

calling a script in remote server

Hi, I need to call a shell script present in the remote server from the shell sript in my server. Can any one help to do this ASAP... Thanks (1 Reply)
Discussion started by: Preet
1 Replies

5. Shell Programming and Scripting

Calling another shell script

Hi there, I have an script reading content of a file and runs whatever command is specified there, as follows #!/bin/bash # Supposed to read from a file that commands are listed to be run # when the server starts for initialization CMD_FILE=/myScripts/startup/task2do.txt if ; then ... (2 Replies)
Discussion started by: james gordon
2 Replies

6. Shell Programming and Scripting

connect to remote server by applying password

Hi , I am new to shell script. I have to write a shell script which will login to remote server then check for the space there. There 50 remote ervers all are having different password. Could you please suggest me some way. I am working on solaris box. Thanks in advance (2 Replies)
Discussion started by: vikash_k
2 Replies

7. Shell Programming and Scripting

calling 'n' number of shell scripts based on dependency in one shell script.

Hello gurus, I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script. i m looking for something like this call 3.1; If 3.1 = "complete" then call 3.2; if 3.2 = ''COMPlete" then call 3.3; else exit The... (1 Reply)
Discussion started by: shashi369
1 Replies

8. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

9. Shell Programming and Scripting

Triggering remote UNIX shell script from Remote desktop

I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like ssh hostname path ksh HC_Report.ksh>out.html ...but it generates the HTML file in remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies

10. Shell Programming and Scripting

Core dump in a simple shell script!

Hi I have a very simple shell script that is dumping core - testScript - #!/bin/ksh PROG=${0##*/} # basename if ; then print -u2 "Usage: $PROG filename" exit 1 fi MDY=$(date '+%m%d%y') if ; then cat ${1}.out >>${1}.${MDY} else cp -p ${1}.out... (5 Replies)
Discussion started by: nsinha
5 Replies
SYSADMIN(1)						      General Commands Manual						       SYSADMIN(1)

NAME
sysadmin - responsible for everything imaginable that may or may not have to do with the system you're using. Contraction of "system" and "administrator" SYNOPSIS
sysadmin [-ab] [-cd] [-ef] etc...... DESCRIPTION
sysadmin takes care of everything, is generally harangued, must be supplied with coffee, chocolate, and alcohol in order to function prop- erly, cannot be exposed to direct sunlight, and must not be allowed to have a life. sysadmin is not intended as a user interface routine; other programs provide user-friendly front ends; sysadmin is used by everyone who can track him [her] down. With no flags, sysadmin reads its standard input up to an EOF, or a line which sysadmin wishes to parse, and then proceeds to ignore it entirely and read news all day. When invoked with the -w option, sysadmin reads standard input and responds according to terms of job description. OPTIONS
-bofh Go into Bastard Operator From Hell mode. This option causes sysadmin to use tools stored in the /usr/lib/bofh directory to parse the standard input and route user tasks appropriately. -cd causes sysadmin to become caffeine-deprived, resulting in system slowdowns. -b causes the sysadmin to function normally while augmenting the standard input with beer(5). Can be used with the -t option as well, depending upon which version of sysadmin you are running. -t causes the sysadmin to smoke tobacco, which can result in significant performance improvement, provided you are running the correct version of sysadmin. -Cfile Specify an alternate configuration file (sysadmin.cf is the standard). -dX set debuggin value to X. -fFullname Set the full name of the sysadmin. -Bf Create the sysadmin.cf configuration freeze file. -lname Sets the name of the "luser" person (that is, originator of a given request). -l can only be used by "trusted" users (who are listed in sysadmin.cf). NOTES
The -t option should not be used with a version of sysadmin which is not capable of parsing tobacco input. Though the functionality of this command may seem similar to the -b option, it should not be confused with that or the related -c option. 25 September 1995 SYSADMIN(1)
All times are GMT -4. The time now is 10:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy