The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Monkcast #12: IBM HW group OEMs Solaris to chagrin of SW group & a ... - ZDNet.com bl iBot UNIX and Linux RSS News 0 08-17-2007 05:30 PM
Change a users primary group after login terrym UNIX for Advanced & Expert Users 3 02-09-2007 03:03 AM
Change Group vilves SUN Solaris 1 05-08-2006 09:56 PM
entry in /etc/group too long - problem using sudo with %group poli SUN Solaris 4 12-21-2004 09:50 AM
Can't change owner and group of a linux file bache_gowda UNIX for Dummies Questions & Answers 7 06-26-2003 11:08 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-29-2008
adzuanamir adzuanamir is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 40
Change Group

Hi...

-bash-3.00$ id -a
uid=1004(oracle) gid=101(oinstall) groups=101(oinstall),100(dba)


How to change gid from oinstall group to dba group??
  #2 (permalink)  
Old 07-29-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,311
Not sure on which OS you are, but usually you can just edit the /etc/passwd and the /etc/group to your needs.
  #3 (permalink)  
Old 07-29-2008
adzuanamir adzuanamir is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 40
Hi

I'm using Solaris 10

I'm afraid if i simply change the group, it will effect my oracle database
  #4 (permalink)  
Old 07-29-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,311
As long as oracle will be in the group dba, all will be ok, I think. If you just want to change the primary group, to dba, I see no problem. If you create a file or directory, it will have the users primary group, so you should know if that's what you want. To make sure everything is still accessable, you can keep oracle in the group orainstall.

On Solaris, I think you can just go on and edit the /etc/passwd and /etc/group. There is also some administration interface that you could use instead which's name I can't recall
  #5 (permalink)  
Old 07-30-2008
adzuanamir adzuanamir is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 40
Tq zaxxon

It's better if i stick with oinstall group.
  #6 (permalink)  
Old 07-31-2008
jegaraman jegaraman is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 82
Hi,

I think u can change the group

by using chgrp command

chgrp oinstall dba

Regards,
JeganR
Closed Thread

Bookmarks

« ulimit | ssh key »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0