add user to the group
I recently had two groups (oinstall and dba), how can I add the root user to these groups????
thanks |
/etc/groups
|
I am there but how????
sorry I am new with Linux ........... ............ .......... piranha:x:60: netdump:x:34: oinstall:x:500: dba:x:501:oracle oper:x:502: I am not sure how to add them in here??? |
My question would be, why would you need to add the root user to these groups? root has access to everything no matter, so adding them to these groups unless its required by a service on the server or host, I don't see the point.
Though adding users to these groups would make more sense, to those who would need access to files and directories owned by the groups in question.. But to add users to these groups manually, you'd simply add them to each group.. like this: Code:
piranha:x:60: |
thanks,
the reason I add root to these group b/c I wrote a shell to startup/shutdown the database automatically for Oracle |
All times are GMT -5. The time now is 11:05 PM. |