From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215468.tru64-unix-managers.marc@archive.invalid> From: Hicham JAOUHARI Date: Tue, 04 May 1999 18:35:37 +0000 To: tru64-unix-managers Subject: Summary: The password and group files are currently locked by another X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215468 Thanks to Kris Chandrasekhar, Cristian Ramirez, Kevin Jones for answering my question in seconds after it posted on my incoming. the solution of my problem is to delete: /etc/.AM_is_running && /etc/.ptmp particular thank to Ronald D. Bowman for his pointer: the archives for the list can be searched via the following: http://www-archive.ornl.gov:8000/ (simple search) http://www-archive.ornl.gov:8000/archive/power.htm (more detailed) Hicham JAOUHARI wrote: > Hello Managers, > I have this error when i try to add users by command line or from > GUI. > > # adduser > > Enter a login name for the new user (for example, john): user > Enter a UID for (user) [438]: > Enter a full name for (user): USER1 > Enter a login group for (user) [users]: math > > Enter another group that (user) should be a member of. > ( only if none): > Enter a parent directory for (user) [/usr/users]: /usr/users/mat > The shells are: > > /dev/null /usr/bin/csh /usr/bin/posix/sh /bin/csh > /usr/bin/sh /usr/bin/ksh /bin/sh /bin/ksh > > Enter a login shell for (user) [/bin/sh]: /dev/null > > Adding new user... > > The password and group files are currently locked by another user. > Please try again later. > Error, exiting useradd /usr/sbin/adduser. Check /etc/passwd. > /*-------------------------------------------------------------------- > > when i try > -------------------------------------------------------------------*/ > # useradd > > The password and group files are currently locked by another user. > Please try again later. > > /*--------------------- > ----------------------------------------------*/ > > How can i unlock the passwd to add users? > any idea will be appreciate. > > Regards, > Hicham JAOUHARI