- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- group permissions denied
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 02:29 AM
04-08-2003 02:29 AM
I have users which are in the 'primary' group users. 'Primary' group is defined in SAM.
I have added user to a second group catia.
And a directory with rwx permissions for group catia.
But user can't create a file in this dir.
What's wrong?
With rwx permissions for world it's ok!
HP-UX 10.20
NIS domain
NFS dirs
Volkmar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 02:35 AM
04-08-2003 02:35 AM
Re: group permissions denied
Have you su'd to that user and double checked there groups ?
admin
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 02:38 AM
04-08-2003 02:38 AM
Re: group permissions denied
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 02:43 AM
04-08-2003 02:43 AM
Re: group permissions denied
# group
NOTHING!! 8-((
Hi Pete,
yet made yppush
Volkmar
Back in 20 min.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 03:39 AM
04-08-2003 03:39 AM
Re: group permissions denied
check /etc/group
# groups user
# grep user /etc/group
# ypcat group | grep user
Did you add a local user or a user on the NIS master plus local user ?
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 03:57 AM
04-08-2003 03:57 AM
Re: group permissions denied
where should I do this server? client?
I've tested 5 workstations now - no with this logingroup link - but two clients shows all groups right, two shows only one group (the primary) for ex. the NIS server, one shows nothing (here I changed the group file last week - I deleted the lokal groups and users and set the '+' in the last line for NIS client).
Newest: I've rebooted one client which showed all groups - now I can't login anymore (beside rlogin with root)!
ypwhich shows: cad19 - but this is only a client (and the backup server), not the primary NIS server. How can I direct it to the primary server?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:02 AM
04-08-2003 04:02 AM
Re: group permissions denied
id username
2. see groups command
groups username.
3. we had similar problems earlier in a NIS environment with secondary groups. what we did was to use the newgrp and then try accessing such files.
newgrp
4. curiously, this problems was reported when a person uses Exceed (in XDCMP broadcast) to login to the machine. If he does telnet or a rlogin, he never had this problem. couldn't investigate further at that moment. need to check if this problem still persists, or if there was some patch installed which fixed this issue.
regards
balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:04 AM
04-08-2003 04:04 AM
Re: group permissions denied
'groups user' shows all groups
'groups' only shows one group
HELP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:10 AM
04-08-2003 04:10 AM
Re: group permissions denied
# grep user /etc/group
and
# ypcat group | grep user
shows all groups.
Hi Balaji,
I also used Exceed supplementing the groups.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:16 AM
04-08-2003 04:16 AM
Re: group permissions denied
Just a quick one,
how long is your line in group file on your nis master ?
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:16 AM
04-08-2003 04:16 AM
Re: group permissions denied
in /etc/group
add the user to the secondary group you mentioned above.
e.g.
...
catia::104:newuser
...
then check using command:
id newuser
should give:
e.g.
uid=128(newuser) gid=20(users) groups=104(catia)
hope this helps!
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:47 AM
04-08-2003 04:47 AM
Re: group permissions denied
primary group is about 150 letter, the other 54.
Yogeeraj,
I've reconfigurated second group at the server itself - nothing changed at the server. Only primary group is shown.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:52 AM
04-08-2003 04:52 AM
Re: group permissions denied
'groups'
users
'groups user'
users catia engdat
'id user'
uid=257(user) gid=22(users)
No write permissions for dir.
???
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:56 AM
04-08-2003 04:56 AM
Re: group permissions denied
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 05:02 AM
04-08-2003 05:02 AM
Re: group permissions denied
yes, creating is allowed now.
But still:
'groups'
users
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 05:32 AM
04-08-2003 05:32 AM
Re: group permissions denied
was so stupid. should have read the man pages. never did.
see if this helps.
+++++++++++++++++++++++
groups(1)
NAME
groups - show group memberships
SYNOPSIS
groups [-p] [-g] [-l] [user]
DESCRIPTION
groups shows the groups to which the caller or the optionally
specified user belong. If invoked with no arguments, groups prints
the current access list returned by getgroups() (see getgroups(2)).
Each user belongs to a group specified in the password file
/etc/passwd and possibly to other groups as specified in the files
/etc/group and /etc/logingroup. A user is granted the permissions of
those groups specified in /etc/passwd and /etc/logingroup at login
time. The permissions of the groups specified in /etc/group are
normally available only with the use of newgrp (see newgrp(1)). If a
user name is specified with no options, groups prints the union of all
these groups.
++++++++++++++++++
and i dont think /etc/logingroup is default supported by NIS.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 07:14 AM
04-08-2003 07:14 AM
Re: group permissions denied
Olav was right.
And thanks Balaji for refering groups.
I read it myself but I thought there must be something else. But I irritated myself: the only clients where 'groups' give all groups without the logingroup file were UX11 clients.
For 10.20 the logingroup file must exist at the client.
Thanks again
Volkmar