Sponsored Content
Top Forums Shell Programming and Scripting Executing Script of a different user on Same Machine Post 68771 by shailendrat on Thursday 7th of April 2005 01:30:48 AM
Old 04-07-2005
I also want the same functionality.

And for that I tried to install the expect.
I was able to run the configure file but when I was running:
make expect
It was giving following error:"Can't open include file 'tclPort.h'"

Can anybody help tell me how to solve this problem.
I have also installed ActiveTcl.

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find the user executing a script

How do i in a script determine the user that is executing it? (2 Replies)
Discussion started by: Chiefos
2 Replies

2. SCO

Executing script with root privilages from a user login

I need to regular users to be able to launch a script which does something requiring root privilages. I've tried using chmod 4755 which gives it -rwsr-xr-x permissions but it still can not be run as the regular user. (1 Reply)
Discussion started by: checkpro
1 Replies

3. Shell Programming and Scripting

Executing shell script on local machine

Hi guys, I need to run and test some shell script. At work, i work on ksh. I don't have any such software/client installed at home and i cannot always connect to work from home. At home i have Windows Vista. Is there a free and reliable software where i can run my ksh script? Please let me... (4 Replies)
Discussion started by: jakSun8
4 Replies

4. Shell Programming and Scripting

Executing program with Perl script but needs user input

Hello, I'm running a perl script to execute a program through my Unix command line. The program requires a user input but I want to automatically have perl input the string. Is there a way to do this? Thanks (1 Reply)
Discussion started by: leonard2352
1 Replies

5. Shell Programming and Scripting

getting a string from user while executing a tcl script

Hi All, I am executing a Tcl script and i am trying to get the user input while they execute the script at start itself like >>filename.tcl USERINPUT and then i will take this userinput inside the the tcl assign it to some variable for further manipulation/processing ...... can anyone pls... (1 Reply)
Discussion started by: sukrish
1 Replies

6. Shell Programming and Scripting

Knowing the user who is executing my script

Hi, is there any way? I thot of id but it doesnt work quite well :wall: (2 Replies)
Discussion started by: lamachejo
2 Replies

7. Shell Programming and Scripting

executing command in a remote machine through ssh - shell script

Hi All, i have two machines like x and y . my requirement is i should connect to machine Y from x through ssh connection . and do some operation such as copy and move and delete files in Y machine . i tried with this code but it is doing in machine x only . and i need to exit from Y when... (1 Reply)
Discussion started by: rateeshkumar
1 Replies

8. UNIX for Dummies Questions & Answers

How to switch the user before executing a shell script from web page??

hi, i want to execute a shell script as a different user. the flow is like this. there is a html web page from which i have to call a shell script. web server is apache. to call the shell script from html page, a perl script is required. so the html page calls the perl script and the perl... (2 Replies)
Discussion started by: Little
2 Replies

9. Linux

Executing a script in remote machine through ssh

How to execute a script in remote machine through ssh I have a script test.sh which does some backup activity in remote machine. Wanted to keep backup also in remote machine. ssh -l username <remote machine> "commands to be exceuted as ; separted" but how to put the script in the place of... (5 Replies)
Discussion started by: sanvel
5 Replies

10. Solaris

How to find IP of user machine executing a particular UNIX command?

Hello, Our applications are deployed in SunOS 5.10 servers. All the team members use a same username/pwd to login to the box. Very often we face issue were we could see that weblogic server instance are KILLED and we are not able to trace who executed kill command. All team members use PUTTY to... (2 Replies)
Discussion started by: santtarius
2 Replies
DH_AUTO_INSTALL(1)						     Debhelper							DH_AUTO_INSTALL(1)

NAME
       dh_auto_install - automatically runs make install or similar

SYNOPSIS
       dh_auto_install [buildsystemoptions] [debhelperoptions] [--params]

DESCRIPTION
       dh_auto_install is a debhelper program that tries to automatically install built files. It does so by running the appropriate command for
       the build system it detects the package uses. For example, if there's a Makefile and it contains a install target, then this is done by
       running make (or MAKE, if the environment variable is set). If there is a setup.py or Build.PL, it is used. Note that the Ant build system
       does not support installation, so dh_auto_install will not install files built using Ant.

       Unless --destdir option is specified, the files are installed into debian/package/ if there is only one binary package. In the multiple
       binary package case, the files are instead installed into debian/tmp/, and should be moved from there to the appropriate package build
       directory using dh_install(1).

       DESTDIR is used to tell make where to install the files.  If the Makefile was generated by MakeMaker from a Makefile.PL, it will
       automatically set PREFIX=/usr too, since such Makefiles need that.

       This is intended to work for about 90% of packages. If it doesn't work, or tries to use the wrong install target, you're encouraged to skip
       using dh_auto_install at all, and just run make install manually.

OPTIONS
       See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build system selection and control options.

       --destdir=directory
	   Install files into the specified directory. If this option is not specified, destination directory is determined automatically as
	   described in the "DESCRIPTION" section.

       -- params
	   Pass params to the program that is run, after the parameters that dh_auto_install usually passes.

SEE ALSO
       debhelper(7)

       This program is a part of debhelper.

AUTHOR
       Joey Hess <joeyh@debian.org>

11.1.6ubuntu2							    2018-05-10							DH_AUTO_INSTALL(1)
All times are GMT -4. The time now is 03:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy