Sponsored Content
Top Forums Programming Linux and Php integration help . Post 302405448 by pinga123 on Friday 19th of March 2010 12:46:37 AM
Old 03-19-2010
Quote:
Originally Posted by Neo
Run your command

Code:
ssh -ttq 10.180.8.231 ls -ltr

... from your command line (save server, user ID, as web server) and post the output.

Thanks.
I have added rsa-key in 10.180.8.231 therefore it is not asking me any password .
Please find the output.
However I didnt get what you want to say about saving server,user ID as web server.
[root@OFSMUW-VMGR-51 html]# ssh -ttq 10.180.8.231 ls -ltr
total 22692
-rw-r--r-- 1 root root 604553 Dec 25 09:08 ovs-agent-2.3-27.noarch.rpm
-rw-r--r-- 1 root root 2576 Jan 19 00:02 install.log.syslog
-rw-r--r-- 1 root root 14061 Jan 19 00:02 install.log
-rw------- 1 root root 1265 Jan 19 00:02 anaconda-ks.cfg

---------- Post updated at 11:46 PM ---------- Previous update was at 11:03 PM ----------

I think i need to give bash script execution permission to apache? correct me if i m wrong.
 

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Continous Integration for Unix / Linux

Hi all, We have serious problem with continuous integration system for application building on few different platforms. (aix 5.2, 5.3 solaris 8,9 , SUSE Linux 9.3, 10 , Slackware Linux 10,11,12, RedHAt Enterprise Linux и Windows 2003) We need application ( program ) to do the following tasks:... (1 Reply)
Discussion started by: +Yan
1 Replies

2. Shell Programming and Scripting

Problem with PHP and Mysql integration

Hi Experts, I am a beginner of PHP and trying to create a tutorial database. My web interface takes a value and inserts into table very correctly. But when I refresh the same interface, it inserts the same value again and again. My code is below: <?php $con =... (2 Replies)
Discussion started by: naw_deepak
2 Replies
dsenableroot(8) 					    BSD System Manager's Manual 					   dsenableroot(8)

NAME
dsenableroot -- enables or disables the root account. SYNOPSIS
dsenableroot [-d] [-u username] [-p password] [-r rootPassword] DESCRIPTION
dsenableroot sets the password for the root account if enabling the root user account. Otherwise, if disable [-d] is chosen, the root account passwords are removed and the root user is disabled. A list of flags and their descriptions: -u username Username of a user that has administrative privileges on this computer. -p password Password to use in conjunction with the specified username. If this is not specified, you will be prompted for entry. -r rootPassword Password to be used for the root account. If this is not specified for enabling, you will be prompted for entry. EXAMPLES
-dsenableroot Your username will be used and you will be queried for both your password and the new root password to be set to enable the root account. -dsenableroot -d Your username will be used and you will be queried for only your password to disable the root account. -dsenableroot -u username -p userpassword -r rootpassword The supplied arguments will be used to enable the root account. -dsenableroot -d -u username -p userpassword The supplied arguments will be used to disable the root account. Mac OS August 08 2003 Mac OS
All times are GMT -4. The time now is 08:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy