Oracle Solaris System Administration (MOSC)

MOSC Banner

Secondary Groups for users

edited Jun 13, 2013 5:39AM in Oracle Solaris System Administration (MOSC) 4 commentsAnswered ✓

I have an interesting situation, I have two users user1 and user2.

user1 is primary group is oinstall, secondary dba

user2 is in the primary group staff, secondary oinstall

I have a script with the following permissions:

 -rwxrwx---  19 user1   oinstall   18432 Feb  4 12:30 script.sh

user1 can execute it, user2 cannot.

If i change the script group owner to staff, user2 can execute, also of i were to change user2's primary group to oinstall he can execute it.

I would think that if user2 is in the group oinstall and the group has execute permissions, user2 should be able to execute, am I missing something?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center