AIX: Error changing "groups" on mkuser or useradd command

root's picture

This problem is rather rare. And especially because it is rare, when it comes, you scratch your had a bit.
See some solutions below.

The error:

gzaix# mkuser lame
3004-691 Error changing "groups".

The solution (rather the cause):

This error can appear due to errors in /etc/group file so look especially for:
* missing : - for example, a group without users should have the line ended with :
* blank line - yes, if you have empty line in /etc/group file, you can get this error also.

Will add others if appear ;)

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content

root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root