AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  cannot add users to a group

    Posted 01/21/09 01:23 PM

    Originally posted by: SystemAdmin


    I want to add some users to a group on an AIX 5.3 machine.

    I can see these users by command id, lsuser, or smitty, but when I try to add the users to a group using chgrpmem, I got the error:

    chgrpmem -m + user1 group1
    3004-687 User "user1" does not exist.

    I noticed one specialty about the user is that its REGISTRY attribute is DCE, and I cannot find the user in /etc/passwd. I am not sure if this causes the problem.

    I would like to know how to fix the problem, or how to troubleshoot this kind of problems.

    Thanks.
    #AIX-Forum


  • 2.  Re: cannot add users to a group

    Posted 01/21/09 02:11 PM

    Originally posted by: SystemAdmin


    Well

    if this user is new, you can try firt set its password.

    1. passwd user1

    This will include the user to /etc/passwd, and then you can try again.

    So. chprgmeme depend of some files:

    /usr/bin/chgrpmem Specifies the path to the chgrpmem command.
    /etc/passwd Contains the basic attributes of users.
    /etc/group Contains the basic attributes of groups.
    /etc/security/group Contains the extended attributes of groups.
    I hope that this help you.
    #AIX-Forum