run as root? newb question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scott Roberts wrote:
> New to linux and was wondering what is the best
> practice for choosing a user and group for running
> applications? Is running an app as root the normal
> thing to do?
no
>  Is running apps as root a bad thing?
yes
>  Huge
> security risk?
yes
>  Sorry for the stupid question but have
> seen different docs saying what to run a directory as.
> The RH docs say if you want to run directory on
> default ports run as root. Thats what I plan to do.
>
>   
This refers to starting the DS, but the DS is configured to run as 
another user/group.  When the DS starts up it opens the ports it 
requires and then changes to the configured user/group in order that 
under normal running conditions it has a lower security profile. 
Starting the DS as root is required to open ports 389 and 636, the 
designated LDAP and LDAPS ports, but please do configure the server to 
switch to a user/group which you have created specifically for the DS.


-- 
Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060915/103732c7/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux