Quote:
Originally Posted by yogeshtj889
hi robertdaleweir
I am using redhat n centos, I can create groups and users but how to put apps in group can u give me any examples, i have read which link u send me....
|
Hi yogeshtj889
You add a user to group using
Then use
Code:
useradd -G apps firstuser
Then add user ftp to group. Then use
Code:
useradd -G apps ftp
User names (for the applications) are in /etc/shadow and can be seen by
first column.
I found this at
http://www.cyberciti.biz/faq/howto-l...user-to-group/ as I do not have Centos, but it is quite generic. Add all the applications users like 'ftp' etc to the group and that should give your users access.