Users and groups in Linux

useradd -g oinstall -G asmadmin,asmdba,asmoper,dba,asmdba grid
usermod -a -G asmadmin oracle
usermod -a -G asmoper oracle
usermod -a -G asmdba oracle
usermod -a -G oinstall oracle
usermod -a -G oinstall grid

$ grep ‘grpup-name-here’ /etc/group
$ grep ‘ftponly’ /etc/group
$ grep -i color ‘ftponly’ /etc/group

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s