11-19-2006
iptables is a firewall - it won't let you open a port below 1024 as a non-root user. You can either run it as root, run it SUID as root, or have a wrapper that opens the port as root and shovels the data back and forth.
Either way, I believe you'll need root somewhere in the equation no matter what.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Okee problems...!!
What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies
2. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
3. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
4. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
5. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
6. Shell Programming and Scripting
Dear All,
Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way.
I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
7. Shell Programming and Scripting
Need to convert the QNX rules to Linux ubuntu 12.04. kindly any one help us with any tools (4 Replies)
Discussion started by: mageshkumar
4 Replies
LEARN ABOUT DEBIAN
adt-virt-chroot
adt-virt-chroot(1) Linux Programmer's Manual adt-virt-chroot(1)
NAME
adt-virt-chroot - autopkgtest virtualisation server using a chroot
SYNOPSYS
adt-virt-chroot [options] =[chroot-name]
adt-virt-chroot [options] [-rgain-root-cmd] /path/to/chroot
DESCRIPTION
adt-virt-chroot provides an autopkgtest virtualisation server using a chroot install (or similar).
Normally adt-virt-chroot will be invoked by adt-run.
The chroot to use must be specified. If it starts with a = character then it is taken to be a chroot name known to dchroot(8). Otherwise
it must start with a / and will be taken to an absolute path.
OPTIONS
--gain-root|-r gain-root-cmd
Specifies that adt-virt-chroot can become root (on the host) by prefixing its commands with gain-root-cmd. The command may consist
of several words separated by whitespace, in which case words other than the first are supplied as additional arguments to the com-
mand; other shell (or other) metacharacters in gain-root-cmd are not interpreted or modified by adt-virt-chroot. The actual command
to be run as root, and its arguments, are supplied as additional (separate) arguments to gain-root-cmd.
Root privilege is needed, to successfully run chroot(8), if the chroot to use is specified as an absolute path. The default is not
to take any special action when root will be needed, in which case for an absolute path chroot, adt-virt-chroot must be started as
root.
-d | --debug
Enables debugging output. Probably not hugely interesting.
INPUT, OUTPUT AND EXIT STATUS
The behaviour of adt-virt-chroot is as described by the AutomatedTesting virtualisation regime specification.
SEE ALSO
adt-run(1), adt-virt-null(1), adt-virt-xenlvm(1), /usr/share/doc/autopkgtest/.
AUTHORS AND COPYRIGHT
This manpage is part of autopkgtest, a tool for testing Debian binary packages. autopkgtest is Copyright (C) 2006-2007 Canonical Ltd and
others.
See /usr/share/doc/autopkgtest/CREDITS for the list of contributors and full copying conditions.
autopkgtest 2007 adt-virt-chroot(1)