- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot add user to a group
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
10-31-2002 01:38 AM
10-31-2002 01:38 AM
I'm having the following message when I try to add a user to certain group:
____
Failed to modify membership for group "dev5". An invalid argument was supplied to an option in the command "/usr/sam/lbin/grpusrs".
____
I have added this user successfully to other groups and the problem group only has 12 other users.
Any Help Appreciated
Michael
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 02:23 AM
10-31-2002 02:23 AM
Re: Cannot add user to a group
in /var/sam/log/samlog you can see the command sam executes.
What argument or option is invalid?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 02:28 AM
10-31-2002 02:28 AM
Re: Cannot add user to a group
The following is from the samlog:
Executing the following command:\C/usr/sam/lbin/grpusrs -m -l "blakeg,dev5dba,dowdalo,fegans,fitzgee,gleesoj,grillsj,hanneyi,hiemstp,hylandf,queenf,twome
yc,burrowl" dev5\C
@!@2@1036056074@0
Command completed with exit status 3.
@!@16@1036056074@0
Failed to modify group attributes for group dev5.
@!@8@1036056074@0
Exiting Task Manager with task ug_modgrp_4d.
@!@16@1036056074@0
Failed to modify membership for group "dev5". An invalid argument was suppli
ed to an option in the command "/usr/sam/lbin/grpusrs".^A
@!@8@1036056215@0
Exiting Task Manager with task UG_MODIFY_GROUP.
@!@129@1036056221@0
Does this help?
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 03:17 AM
10-31-2002 03:17 AM
Solutionyou can try the command by hand:
/usr/sam/lbin/grpusrs -m -l "blakeg,dev5dba,dowdalo,fegans,fitzgee,gleesoj,grillsj,hanneyi,hiemstp,hylandf,queenf,twomeyc,burrowl" dev5
I'm worry about the blank line in this command between "twome" and "yc".
Is this one user with a carriage return or are this two users ?
You told us that the group has 12 members but there are 13 (or 14 ?) members in the commandline ?
Are there any special signs in /etc/group? You can control it with vi and "set list"
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 03:36 AM
10-31-2002 03:36 AM
Re: Cannot add user to a group
Thanks for your help. When I ran it manually, it told me that one of the users did not exist and so when I took out that user everything worked OK.
Regards
Michael