Sponsored Content
Operating Systems AIX How to open port 1001 on AIX 6.1 Post 302561766 by unxscorob on Wednesday 5th of October 2011 07:28:24 AM
Old 10-05-2011
ports from 1024 and lower are root privileged ports, and you will need root authority to bind to these ports. we typically setup sudo for the account and the specific command line being used for these circumstances. hth
 

10 More Discussions You Might Find Interesting

1. Programming

open an port on freebsd

i have made some thing with leds on it. i put it directly on the printer port. in dos and windows i can send data to it with outp(0x378,123); and then have some leds on and some leds off. i found out that it is possible linux with same assembly (after searching much.). but i want to have those led... (0 Replies)
Discussion started by: jurrien
0 Replies

2. Solaris

Solaris 8 to many open port

hi all, My OS is solaris 8 with core system installation only. so far everything works fine. by i do some testing from my xp pc as client to nmap and scan opening port to my solaris. the result as below: Initiating SYN Stealth Scan against 10.10.10.10 at 16:25 Discovered open port 21/tcp on... (3 Replies)
Discussion started by: hezry79
3 Replies

3. Linux

open port

How can I open a port on linux machine ??? (5 Replies)
Discussion started by: mm00123
5 Replies

4. AIX

How to open a port in AIX

Hi Guys, i am trying to open a port in AIX. but i am not able to get the command for this. AIX is not having the iptables file present. So please any body can tell me how to open a port in AIX... Thanks sanju (2 Replies)
Discussion started by: sanju_d1231
2 Replies

5. IP Networking

Unknown open port: "6881/tcp open bittorrent-tracker" found with nmap

Hi. I ran nmap on my server, and I get the following: Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT Interesting ports on -------- (-----): Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 6881/tcp open bittorrent-tracker The... (0 Replies)
Discussion started by: Rledley
0 Replies

6. Solaris

how to open a specific port

Hi All, Can anyone let me know that how to open a specific port in Solaris 10. I just wanted to know if there are some certain commands to open a port (like ftp, telnet). It would be also better if someone can tell me if there is another firewall service in Solaris 10 except ipfilter. ... (6 Replies)
Discussion started by: naw_deepak
6 Replies

7. UNIX for Dummies Questions & Answers

Linux - How to Open a Port

Hi, I would like to open a specific port for use with a bespoke application. Before everyone points me to other threads - I read a few but couldn't find any specific to my problem. Iptables / firewall is disabled SELinux is also disabled I would just like to assign this port to this... (0 Replies)
Discussion started by: mcclunyboy
0 Replies

8. Red Hat

Open port with iptables

Hi, What iptables command do I need to run in order to open up the following port for incomming traffic on the following server: # telnet 127.0.0.1 1521 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection... (3 Replies)
Discussion started by: Duffs22
3 Replies

9. IP Networking

Tcp ip port open but no such process (merged: Release A Port)

i want to kill a tcp connection by killing its pid with netstat -an i got the tcp ip connection on port 5914 but when i type ps -a or ps-e there is not such process running on port 5914 is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies

10. AIX

NAGIOS Service not able to open port on AIX 7.1

I have an AIX 7.1 LPAR where Nagios agent was installed for monitoring. The issue is that when I start the nagios service (ncpa_listener), it starts but does not open the 5693 port it requires for communication. On all other LPARs the service opens the port and is listening. I tried reinstalling... (4 Replies)
Discussion started by: wibhore
4 Replies
privbind(1)															       privbind(1)

NAME
privbind - allow an unprivileged application to bind with reserved ports. SYNOPSIS
privbind -u user [ -g group] [ -n num] [ -l path] command [ arguments ... ] DESCRIPTION
Normally in Linux, only a superuser process can bind an Internet domain socket with a reserved port (port numbers less than 1024). Accord- ingly, server processes are typically run with superuser privileges, which can be dropped after binding the reserved port. privbind can execute an application as an unprivileged user with just one extra privilege: it can bind to reserved ports. privbind is useful in several situations. It can be used when the application is not trusted enough; It can be used when the server is written in a language without the setuid(2) feature (e.g., Java(TM)); It can also be used to run applications which don't manipulate their own user id and need to be able to bind to a reserved port without needing any other root privileges. OPTIONS
-u The -u option is mandatory, and specifies under which user to run the given command. The user can be specified using either a user- name or a numeric user id. It should be an unprivileged (non-root) user. -g Specifies the group to switch to when running the given command. If this option is missing, then the given user's default group is used. -n privbind's default behaviour is to allow the application to call bind(2) with reserved ports an unlimited number of times. In order to do that (see "HOW IT WORKS" below), the privbind helper process needs to wait for the application to exit before it terminates. The -n num option tells privbind that it can assume that only num binds need to be given elevated privileges. After this number of bind(2) calls have been executed, privbind's helper process will exit, leaving behind only the unprivileged application running. -l Mostly for internal use during build. Gives the explicit path to the LD_PRELOAD library. -h Shows a short help screen, and exits. EXIT STATUS
Using technical jargon, privbind execs command as its main process, running itself in the background (as a child of the application's process). The practical upshot of this, in layman's terms, is that the user never sees privbind's exit status. When running privbind, the process will exit whenever, and with whatever exit status, command does. The above point should be particularly noted when using privbind to run daemons. SECURITY CONSIDERATIONS
privbind has no SUID parts, and runs within the confines of a single process. This serves to minimize the security implications of using it. It is strongly advised that privbind not be made SUID, as this would allow any user that can run it to run any process as any other (non-root) user. At the moment privbind detects such a situation and warns about it, but will continue with the execution. HOW IT WORKS
In a nutshell, privbind works by starting two processes. One drops privileges and runs (exec(2)) the command, the other remains as root. Privbind makes sure to keep a unix domain socket connecting the two processes. Privbind uses LD_PRELOAD to intercept every call to bind(2) made by the program. Calls that can be completed non-privileged are done so. Calls that require root privileges are forwarded to the root process, that carry them out on the program's behalf. A more detailed explanation is available in the README file. BUGS
privbind currently uses "SOCK_SEQPACKET" for communication between privileged and non-privileged processes. This socket type is only imple- mented on Linux kernel 2.6.4 and later, which makes privbind none portable to older Linux kernels and many other non-Linux platforms. VERSION
The version of privbind described by this manual page is 1.0 (June 12, 2007) COPYRIGHT
Copyright (C) 2006-2007, Shachar Shemesh plus others. See the AUTHORS file. privbind was written by Shachar Shemesh, with contributions from Amos Shapira and Nadav Har'El. privbind is free software, released under the GNU General Public License (GPL). See the COPYING file for more information and the exact license terms. The latest version of this software can be found in http://sourceforge.net/projects/privbind Java is a registered trademark of Sun Microsystems. SEE ALSO
su(1), sudo(8), capabilities(7), bind(2), setuid(2), ld.so(8), unix(7) Privbind 0.1 22 May 2007 privbind(1)
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy