LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   The right group for a user account (https://www.linuxquestions.org/questions/linux-security-4/the-right-group-for-a-user-account-315577/)

hspc 04-21-2005 12:40 AM

The right group for a user account
 
(new to linux)
Hi

I have redhat 9.0 .. I knew that using the root account for regular usage is not not recommended for security issues..
So I created another user but I need some help defining the right group for this user..
This user account should be able to develop programs , PHP/MySQL sites..Also download and install software and other regular operations..
I opened the redhat user manager but I found many groups do I can't choose the most suitable groups.

Any ideas or links are appreciated.

reddazz 04-21-2005 02:41 AM

In Redhat and its derivatives, when you create a user, they are given their own group (private group) which is the same as the users username. You can then add them to additional groups of your choice if required. Installing software has to be done as root, and you can use the "su" or "su -" command to do this whilst logged in as a normal user. For webdevelopment you can configure apache to allow users to store pages in ~/public_html and you can store your pages in there and they will be accessible using http://localhost/~username/pagename .


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