The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Inherit Group File Permission april UNIX for Dummies Questions & Answers 1 04-28-2008 03:13 AM
how to add permission of directory to a group ahjiefreak UNIX for Dummies Questions & Answers 2 02-29-2008 12:20 AM
permission, owner and group pascalbout Shell Programming and Scripting 2 01-14-2006 08:47 AM
group permission thumper UNIX for Dummies Questions & Answers 6 02-17-2005 01:03 PM
how to define permission of unix group mncapara UNIX for Dummies Questions & Answers 3 10-16-2002 06:00 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-28-2004
Registered User
 

Join Date: Apr 2004
Location: East Coast
Posts: 6
Group permission not working

Please forgive me, but I am not a Unix expert. I'm supporting SAP r/3 and we are trying to run an external command from SAP to read a file at the unix level. When we perform the more command on the following two files, we are succesful in reading the bws file, but unsucessful in reading the bws1 file.

The user running the more command is sidadm. sidadm is defined in both the sapdata and siddata group. Any idea why we cannot read the second file?

-rw-r----- 1 txfer sapdata 9 Apr 23 20:16 bws
-rw-r----- 1 txfer siddata 9 Apr 23 20:21 bws1

If we change the owner of bws1 to sidadm, we can read the file. If we change the group to sapdata, we can read the file. Is it possible for a group to have 'corrupt' data in it?
Reply With Quote
Forum Sponsor
  #2  
Old 04-29-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
We don't have a lot of AIX members around I guess. But I'll take a shot in the dark based on general unix knowledge.

My best guess is that you're wrong in saying that user is a member of both groups. Try running the "groups" command (if AIX has one). It should display your group memberships.
Reply With Quote
  #3  
Old 04-30-2004
Registered User
 

Join Date: Apr 2004
Location: East Coast
Posts: 6
Thanks for reply, but still not working

Thank you for responding. I checked both groups and the user id defined in both. The only difference I notice in the groups is that the Administrator List is defined as ROOT in the group that is NOT working, and blank in the group that is working. Do you know if this has any relevance?
Reply With Quote
  #4  
Old 04-30-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
I don't know what an administrator list is, so I can't comment on that.

What technique did you use to "check both groups"? Did you try the "groups" command? What happened when you ran it?
Reply With Quote
  #5  
Old 04-30-2004
Registered User
 

Join Date: Apr 2004
Location: East Coast
Posts: 6
When I run the groups command on both groups I get the following message:
The specified user is not known.
Check the /etc/passwd file for all known users.

I used SMIT to view the groups. Thanks.
Reply With Quote
  #6  
Old 04-30-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
You don't use "groups" like that.

Sign on as the user in question.

Type "groups".

What do you see?
Reply With Quote
  #7  
Old 04-30-2004
Registered User
 

Join Date: Oct 2002
Posts: 676
I know it may be different in AIX, but in Solaris you dont need to sign on as the user in question. You can just type groups username.

Code:
NAME
     groups - print group membership of user

SYNOPSIS
     groups [ user ... ]
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0