06-28-2012
You cannot force a different program to become a different user ID. The program has to do that itself.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
How do I start a background process and save the process id to a file on my system. For example %wait 5 & will execute and print the process id. I can't figure out how to get it to a file. I've tried: > filename 0>filename 1>filename.
Any assistance is most appreciated.
Thanks,
Jim... (10 Replies)
Discussion started by: jleavitt
10 Replies
2. OS X (Apple)
Hello everybody!
I got a question on process starting.
I installed e.g. squid on my Mac and all is working well,
but i wanted to figure out what process or script is starting
squid on booting the machine. I searched for a while but i could not find where i can change these configuration.
... (2 Replies)
Discussion started by: count_zero
2 Replies
3. Shell Programming and Scripting
Hello,
I need to run a command on remote Linux using the ssh command from my local machine. I am able to execute the command on remote machine using ssh but it's behaving strangely.
The command is supposed to start a daemon process on remote linux box and the control should return back to me... (5 Replies)
Discussion started by: nitinshukla
5 Replies
4. Shell Programming and Scripting
I'm trying to ssh into a remote server, run a script which may or may not start a nohup'd background process and then exit leaving the process running on the remote server. I'm looping through a number of servers to do this but the script hangs as soon as it comes to a server where the remote... (3 Replies)
Discussion started by: Steve_H
3 Replies
5. UNIX for Advanced & Expert Users
Hi Gurus,
I have a server that has to users.
1) root
2)net1
there are several processes running on my server
one of the process is CMIS_STACK process which is a compiled C code
when this process goes missing then i restart this process manually in the following manner
... (2 Replies)
Discussion started by: asalman.qazi
2 Replies
6. UNIX for Dummies Questions & Answers
How can I start a process with ppid as 1 instead of my current shell pid? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
7. Shell Programming and Scripting
Hey all, I need to launch a script from within 2 other scripts that can run independently of the two parent scripts... Im having a hard time doing this, if anyone knows how please let me know.
More detail.
ScriptA (bash), ScriptB (ksh), ScriptC (bash)
ScriptA, launches ScriptB
ScirptB,... (7 Replies)
Discussion started by: trey85stang
7 Replies
8. Shell Programming and Scripting
Hi experts,
I have a requirement wherein a user is uploading a file to the Landing directory on one of our Linux servers. A cron job is scheduled to run after every 5 minutes which will pick up the files from the source (Landing) dir and copy to the target dir, and once successfully copied to... (4 Replies)
Discussion started by: adi_2_chaos
4 Replies
9. Shell Programming and Scripting
Hello all,
Please, i try to start cassandra remotely but it didn't work. i don't find cassandra process when using ps aux|grep cassandra
ssh -t root@g-8 -x "sshpass -p 'ubuntu' ssh -t root@10.147.243.163 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -x... (8 Replies)
Discussion started by: chercheur111
8 Replies
10. UNIX for Beginners Questions & Answers
I am trying to process only IonCode_odd #'s (always 4 digits starting with zero), but the below isn't working as expected. Is there a better way? Thank you :).
IonCode_0401_xxxx_xxxx_xxxx.bam
IonCode_0401_xxxx_xxxx_xxxx.bam.bai
IonCode_0401_xxxx_xxxx_xxxx.fastq... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT DEBIAN
proxytunnel
PROXYTUNNEL(1) General Commands Manual PROXYTUNNEL(1)
NAME
proxytunnel - program to tunnel a connection throught an standard HTTPS proxy.
SYNOPSIS
proxytunnel [options]
DESCRIPTION
This manual page documents the proxytunnel command.
proxytunnel is a program that open a tunnel through a HTTPS proxy.
OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-').
-h, --help
Print help and exit.
-V, --version
Print the version of the program and exit.
-i, --inetd
Run from inetd. Default is off.
-a PORT, --standalone=PORT
Run as standalone daemon on specified port.
-p host:port, --proxy=host:port
The local HTTPS proxy host:port combo to connect to.
-r host:port, --remproxy=host:port
The second-level (remote) proxy host:port to connect to when using two proxies.
-d host:port, --dest=host:port
The destination host:port to built the tunnel to.
-e, --encrypt
Encrypt the data between the local proxy and the destination using SSL.
-E, --encrypt-proxy
Encrypt the data between the client and the local proxy using SSL.
-B, --buggy-encrypt-proxy
Encrypt the data between the client and the local proxy using SSL, but stop using SSL immediately after the CONNECT exchange to
workaround server bugs. (Might not work on all setups; see /usr/share/doc/proxytunnel/README.Debian.gz for more details.)
-X, --encrypt-remproxy
Encrypt the data between the local proxy and the second-level proxy using SSL.
-F STRING, --passfile=STRING
The file containing Username & Password to send to HTTPS proxy for authentification. This file uses the same format as .wgetrc, and
so can use the credentials in common with wget. This option can be used to at least hide the password from anyone clever enough to
use the `ps' command.
-P user:pass, --proxyauth=user:pass
The credentials to use for local HTTP(S) proxy authentication.
-R user:pass, --remproxyauth=user:pass
The credentials to use for remote HTTP(S) proxy authentication.
-N, --ntlm
Use NTLM-based authentication.
-t DOMAIN, --domain=DOMAIN
The NTLM domain to use, default is to autodetect.
-H STRING, --header=STRING
Additional HTTP headers to send to the proxy.
-x STRING, --proctitle=STRING
Use a different process title.
-v, --verbose
Turn on verbosity. Default is off.
-q, --quiet
Suppress messages. Default is off.
NOTES
To use this program with OpenSSH to connect to a host somewhere, create a $HOME/.ssh/config file with the following content:
Host foobar
ProtocolKeepAlives 30
ProxyCommand /usr/bin/proxytunnel -p proxy.customer.com:8080
-P user:password -d mybox.athome.nl:443
If your proxy doesn't require the username and password for using it, you can skip these options.
If you want to run proxytunnel from inetd add the '--inetd' option.
Most HTTPS proxies do not allow access to ports other than 443 (HTTPS) and 563 (SNEWS), so some hacking is necessary to start the SSH dae-
mon on the required port. (On the server side add an extra Port statement in the sshd_config file)
AUTHOR
This manual page was written by Loic Le Guyader <loic.leguyader@laposte.net> and updated by Julian Gilbey <jdg@debian.org> for the Debian
GNU/Linux system (but may be used by others).
August 30, 2009 PROXYTUNNEL(1)