LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-17-2013, 06:06 AM   #1
nagayush
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
Lightbulb Use of Standard Ports with a non root ID


Hi

I have a server on which some services are running with a root ID (on port 80 and 443). Now, I wish to harden the server and use a non root ID for running these services. I wanted to ask if these services can be run on standard ports (1-1024) with non-root IDs; and if no, then what are the possible options I have.
 
Old 07-17-2013, 08:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
usually a service like apache can start as root, and then change the user after start to be owned by a "nobody" or "apache" user etc. Under apache this is defined by the User option inside httpd.conf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard Web/Mail/FTP/DNS Server Ports Mojojo Linux - Networking 5 09-03-2011 02:47 PM
What are standard root password control applications? pinga123 Linux - Newbie 2 11-29-2010 04:12 AM
standard root pass on gentoo fresh install? JohnntB Linux - Newbie 2 10-28-2007 03:15 AM
Can I Modify The Telnet Server To Listen To Non-Standard Ports? windisch Linux - Security 7 11-16-2004 02:47 PM
Ftp service on non-standard ports kasnol Linux - Networking 5 06-19-2003 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration