November 25, 2024, 01:27:54 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: problem in adding users  (Read 4872 times)

Offline klakshman03

  • Tux Awared
  • **
  • Posts: 35
problem in adding users
« on: September 06, 2005, 06:09:49 AM »
hi linux grp....
   i am trying to add users in my [redhat 9linux]  based server.but it is giving an error like "USERADD:UNABLE TO LOCK PASSWORD FILE"

thus pls tell me what shall i do to add users in my server





laxmaN..

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
problem in adding users
« Reply #1 on: September 06, 2005, 08:49:26 AM »
This type of error also came to me, but i don't remember  exactly what I did to resolve this....

May be its permission problem

or check the pid in each lock files i.e passwd.lock & kill  that pid , After that may be it will work but not sure, may be others can help u better

Gaurav

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
problem in adding users
« Reply #2 on: September 07, 2005, 01:13:42 PM »
Hi !!!


I think password file is locked just try this command to unclock

chattr -i /etc/passwd


Let me know it worked or not ??


Sathish.

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
Info needed
« Reply #3 on: September 26, 2005, 12:10:52 PM »
Are you using command prompt
 or using
 redhat-config-users
 Send me so I will reply
 Regards
 Linux user