Thursday, January 24, 2008

group file and shadow file

I manually modify /etc/group file, so the shadow file does not up-to-date. The will be fine when I use this server, but if I edit user/group information by GUI tool, it will pop up complain message. There are some commands to solve this problem pwconv, pwunconv, grpconv, and grpunconv. From man page, you can totally know how to use it.
FYI:
pwconv creates shadow from passwd and an optionally existing shadow.

pwunconv creates passwd from passwd and shadow and then removes shadow.

grpconv creates gshadow from group and an optionally existing gshadow.

grpunconv creates group from group and gshadow and then removes

No comments: