Software :: Allow Non Root Users To Bind To Ports Less Than 1024?

Aug 2, 2011

Have a program, erlang, that needs to bind to a port lower than 1024, as a non-root user. How do you allow that on a system?

View 1 Replies


ADVERTISEMENT

Fedora Networking :: Root Can Not Bind Socket On Lower Ports (<1024)?

May 9, 2010

I am encountering a wierd problem in FC12. When I try to lunch a program that listens to a lower port such as 80 or any one that is less than 1024, I always get "Permission denied" error message (I am running it as root!).Then I try starting httpd service daemon that listens to 80, no errors, the daemon started and listend to 80.PS: I checked selinux, it has been disabled.Do you have any knowledge on this case? BTW, the kernel version is:2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux

View 5 Replies View Related

Security :: SELinux Allow Non Root User Bind To Port <1024?

Oct 24, 2010

My understanding is SELinux adds type enforcement to standard Linux. This means that both the standard Linux and enhanced SELinux access controls must be satisfied to access an object. Which means that thing that is prevented to do in the normal standard Linux will be also prevented in the SELinux System? Does SELinux make it possible to run a non-root software to bind to a port < 1024? something that standard Linux won't allow? If not, what other suggestions do you have for allowing a program to run as non-root but able to bind to privileged ports? I know all about using the port re-direction such as ipchains, iptables.

View 4 Replies View Related

General :: Listing All Ports Less Then 1024 On Current Machine Which Are In Listening State

Oct 23, 2010

I'm trying to list all ports less then 1024 on my current machine which are open in the listening state, one port per line

View 1 Replies View Related

Security :: Drop Inbound Traffic To Port 80 (http) From Source Ports Less Than 1024?

Feb 1, 2011

I'm simply trying to make a little restriction on www packets under two rules:

1. Allow inbound/outbound www packets (works!)

2. DROP inbound traffic to port 80 from source ports less than 1024. (DOES NOT WORK!)

Now, technically, when i use hping to test my rules, hping3 192.168.100.100 -S -p80 -s 1023 I should NOT receive any packets. However, i still receive packets, which means my rule that says less than 1024 does not work. (see below)

And this is my iptables rules in shell-script so far:

#!/bin/sh
DEFAULT_NIC=eth0
SERVER_IP="192.168.100.100"
ALLOWED_WWW_PORT=80
IPT="/sbin/iptables"

[Code].....

View 1 Replies View Related

Red Hat / Fedora :: History Of All Sudo Users And All Root Users In F13?

Jan 18, 2011

How can i see history of all sudo users and all root users in fedora 13 ? history command only shows one users history ?

View 5 Replies View Related

General :: [rpc.mountd] How To Bind Mountd On Two Ports

Jun 23, 2011

i want bind mountd on two different porti m working on /etc/sysconfig/nfsi have tried MOUNTD_PORT= but it's usefull for bind only one port, with RPCMOUNTDOPTS= and the switch -t 2 i can duplicate the threads but the switch -p always works on one port

View 3 Replies View Related

Networking :: Creating Domain Name In Bind Exposing Bind To Internal Network

Sep 3, 2009

I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.

View 1 Replies View Related

Server :: What Is Bind Vs Bind-chroot Vs Caching-nameserver?

Jul 8, 2011

what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?

View 7 Replies View Related

Debian :: Run An Installation With Other Users Not Root

Mar 3, 2011

I have downloaded a package when i have logged in with a user that is not root. I download the package and it is under the folder "Downloads". When i try to unzip the package it sägs that the user does not have the priveliges to run the command. When i change to the root with the command "su -" i cannot see the package to unzip it from the root user prompt. What shuold i do?

View 7 Replies View Related

OpenSUSE :: No Sound For Users, Just Root?

Apr 1, 2010

I am having trouble with flash player. Well first I had some trouble with my router and rebooted linux. Then, flash wouldn't play sound anymore. I updated flash etc but still no sound. Then I tried as root administrator and flash sound works fine there.

So I checked the sound preferences from the Control Center and found out, all output devices are set to autodetect instead to one of the output devices I have. But when I switched to the user account to change the preferences accordingly, no sound was played at all.. Also, when I want to use the loudspeaker icon at the bottom to reach the volume control in the user account, I get an error message stating there was some connection refused.

Deneck

View 9 Replies View Related

Ubuntu :: Root Can't Run Users And Groups

Dec 30, 2010

I'm running 10.10 64-bit and have configured it for root graphical login for administration of the system. When I log in as root, I can run all menu items in System -> Administration with the exception of Users and Groups. When I try running this, the application starts, but I only get an animated spinning disk that doesn't stop, can't modify the users properties and I can't close the application unless I go to System -> Administration -> System Monitor -> Processes tab , highlight users-admin and click End Process.

View 6 Replies View Related

Software :: Logging Into One Of Non-root Users 'qt4'?

Feb 10, 2011

Feb 10 (today) user qt4 extracts from cd /var/log/secure grep -i 'feb 10' secure Something wrong with pam or selinux? I have not fooled with pam or selinux in decades The secure file seems to report problems I do regular yum update s from secure: above

secure:Feb 10 08:00:20 localhost pam: gdm-password[2396]: pam_unix(gdm-passwordession): session opened for user qt4 by (uid=0)
secure:Feb 10 08:00:48 localhost polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.37, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)

[code]....

I can login to qt4 from another user via "su - qt4" I would be shot if I inserted the inserted secure file

View 3 Replies View Related

Red Hat :: No New Mail Alerts For Non-root Users?

Mar 3, 2011

I'm seeing a problem on RHEL5, whereby all users can receive mail (/var/spool/mail/<user>), but only root gets a new mail alert when logging in.

The relevant bash variables ($MAIL, $MAILCHECK) seem to be set for all users.

View 6 Replies View Related

Hardware :: No USB-ports Work, 4 "root Hub":s Discovered?

Mar 12, 2011

In short: A fresh installation of LinuxMint9/LXDE on a pretty old Compaq Presario S4300. Issuing "lsusb" shows 4 "Linux Foundation root hub" but none of the totally 6 ports works (4 back, 2 in front - why 4 hubs? Should be 3?). They did work in Windows, in Mint I have tried connecting a scanner (HP ScanJet 3300), a printer (HP LaserJet 1000) and 2 different memory sticks (one formatted ext3), lsusb still shows nothing more than those 4 root hubs?Both the scanner and printer should be supported - even if not lsusb should show something. This is on a clients computer, a small shop that wants to try Linux. I can't sit there for hours trying totroubleshoot, when I go there next time I must know what to do - they are trying Linux, wants to know if it's any good

View 1 Replies View Related

Debian :: Adding New Users Restricted To Root

May 22, 2010

I am running an updated Lenny. Just discovered that as user I am able to add new users via gui:
System > Administration > Users and Groups.
I was under the impression adding new users was restricted to root. Is this is a bug, and if so who do I report this to?

View 1 Replies View Related

Debian Installation :: Different Locales For Root And Users

Mar 30, 2015

I've just installed a Debian wheezy and I'm experiencing some issues regarding the "locales". No matter what I've tried (ran "dpkg-reconfigure locales" and restarted my session, edited "/etc/default/locale" then ran "locale-gen") to update the locales, running "locale" in a root shell or as a regular user returns different results.

In a root shell, the result is the right one (similar to "/etc/default/locale").

I do not understand why locales values are different in one case or another.

As a side question, what is the correct syntax for /etc/default/locale ? Is it case sensitive (I've encountered "en_US.utf8" and "en_US.UTF-8") ? Are double quotes mandatory (encountered values with or without double quotes) ?

user@pc ~ cat /etc/default/locale

Code: Select all#  File generated by update-locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=en_GB.UTF-8

[Code] ....

View 4 Replies View Related

Debian :: Why Only Root Has Internet Connection And Other Users Don't

Jan 12, 2016

When launching any program (iceweasel, ssh, dropbox) that requires internet connection as a normal user it does not connect.

However if I try launching them as root it does. Sometimes, I have to manually disable/enable wifi and then reboot in order to access Internet, sometimes it works and sometimes it does not.

I have Code: Select all3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64 GNU/Linux

My resolv.conf has the following permissions

Code: Select allsudo ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 26 Jan 12 05:03 /etc/resolv.conf
My Code: Select allsudo lspci is
Code: Select all00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)

[Code] .....

View 9 Replies View Related

Ubuntu Networking :: 10.04 LDAP Users Cannot SU To Root

Jun 14, 2010

I have an Openldap server and many 9.10 servers using it to check for possible ssh users. No problems there. Just brought up my first 10.04 server and went through the same procedure to allow ldap users to ssh in, works great. The problem is that ldap users cannot su to root on the 10.04 server. Only locally defined users can su to root, though they cannot su to ldap users. The local root user can su to anyone. Quick overview of how I installed ldap login:

Code:
# apt-get install libnss-ldap
# echo "session required pam_mkhomedir.so skel=/etc/skel/" >> /etc/pam.d/common-session
And added ldap to the end of these lines in /etc/nsswitch.conf:

Code:
passwd: compat ldap
group: compat ldap
shadow: compat ldap

This process has worked without a hitch on 9.10 dozens of times. So my question is, why are ldap and local users now incapable of using su across authentication mechanisms? For reference these are the error messages in /var/log/auth.log when trying to su to root from an ldap user:

Code:
Jun 14 16:17:07 server unix_chkpwd[6560]: check pass; user unknownJun 14 16:17:07 server unix_chkpwd[6560]: password check failed for user (root)
Jun 14 16:17:07 server su[6559]: pam_unix(su:auth): authentication failure; logname=ldapuser uid=2000 euid=2000 tty=/dev/pts/5 ruser=ldapuser rhost= user=root
Jun 14 16:17:09 server su[6559]: pam_authenticate: Authentication failure
Jun 14 16:17:09 server su[6559]: FAILED su for root by ldapuser
And the auth.log for trying to su to an ldap user from a local one:

Code:
Jun 14 17:18:18 server su[8473]: pam_unix(su:auth): authentication failure; logname=localuser uid=1000 euid=1000 tty=/dev/pts/0 ruser=localuser rhost= user=ldapuser
Jun 14 17:18:18 server su[8473]: Successful su for ldapuser by localuserJun 14 17:18:18 server su[8473]: + /dev/pts/0 localuser:ldapuser
Jun 14 17:18:18 server su[8473]: bad group ID `2000' for user `ldapuser': Operation not permitted

View 2 Replies View Related

Ubuntu :: Wireless Internet For Non Root Users?

May 27, 2010

I've been intrested in linux for the past few months. I'm using Ubuntu 9.x version on my laptop. I'm able to connect to wireless internet as a root user. However when I login as a non root user, I'm not able to connect to wifi. The NetworkManager program doesn't load at all. I've checked the permissions of /usr/sbin/NetworkManager file, it was 755. I did some googling and tried setting 'set user id' for it, resulting in 4755 perm. But still, I can't open up the NetworkManager utility to connect to the WiFi. But I've no problem logging as a root user. I just don't want to connect to Internet as a root user.

View 1 Replies View Related

General :: How Can The Non-root Users Change Their Password

Jul 31, 2010

regarding the file permissions of /etc/passwd in fact it has permissions like rw-r--r--so it says others have only read only permissions but my questions is if others has read only permissions on /etc/passwd file.how they are able to change their password i.e others are able to change their passwords then how it is possible.

View 3 Replies View Related

Debian :: Accessing Windows Volumes From Non Root Users?

Mar 25, 2010

How to access Windows volumes from non-root users?

View 4 Replies View Related

Ubuntu :: Set Java Path For All Users - Including Root

Jan 27, 2010

I am trying to set my java path so that it is in effect for all users including the root user. I set the path correctly in /etc/profile and that works for my personal user, but when i try to run the same commands using sudo, i get messages saying that it can't find the java path.

View 3 Replies View Related

Ubuntu :: Sftp Sending Users To Root Directory?

Dec 3, 2010

I have an ftp server and normal login works fine as well as ftps but for some reason sftp sends all my accounts to the root directory of the entire server (not good). Been searching around but can't find a fix.

View 6 Replies View Related

Ubuntu Installation :: Let Non-root Users Install Apps?

Apr 7, 2011

I'm going to set up an Ubuntu computer for my family. They asked for it, I didn't push them. But I know that they don't like passwords.

So my plan is to make an admin account which is in the sudoers group and then make induvidual accounts for the users. But I also want them to be able to install apps.

So I wonder if it is possible to set the computer so that they can use the software center. What is the best method to do this? The apps mustn't be installed system-wide.

View 4 Replies View Related

General :: Root List / Edit Crontabs Of Other Users?

Aug 18, 2010

how can root list/edit crontabs of other users?

View 2 Replies View Related

General :: Slackware 13.1 Automount Hal Error For Non Root Users

Oct 23, 2010

I just installed slackware 13.1. And I get the following error with a normal user when I connect my memory stick:

Failed to mount "Crucial". Rejected send message, 1 matched rules; type="method_call", sender=":1.211" (uid=1000 pid=2275 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1723 comm="/usr/sbin/hald)).

When run the command groups the user is member of the following groups: users floppy audio video cdrom plugdev power scanner

What else I need to change so the USB works?

View 2 Replies View Related

Red Hat :: Root And Users Unable To Login In Command Mode

Jul 24, 2009

Error message in /var/log/messages
login(pam_unix)[26769]:session opened for user root by LOGIN(uid=0)
login[26769]: Module is unknown
init: open(/dev/pts/0): No such file or directory

I have created a new user also but I couldn't login to the system. But I could login to the system as root and also with same new username password through putty from another machine.

View 1 Replies View Related

Hardware :: Multiserial Ports Identification / How Many Ports Are There

Dec 17, 2010

I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.

View 3 Replies View Related

Fedora :: Disable Shutdown Button Or Option For Non Root Users?

Sep 9, 2009

i am using fedora 7. i want that, users other than root should not be able to shutdown the system, i had already changed the mode of /sbin/shutdown to -rwxr-w--(750)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved