[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Others  |  Miscellaneous  |  Topic: adduser problem -- unable to lock passwd file
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: adduser problem -- unable to lock passwd file  (Read 1520 times)
0 Members and 1 Guest are viewing this topic.
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« on: May 19, 2005, 06:24:15 AM »

Hi Grp...
I have an problem with my linux system..May be someone can help me..

I wants to add users in my linux system..., previusly my system works fine but now i m tryng to add users then it shows an error like this:

----unable to lock passwd file

So What is this error?? How can i remove this?HuhHuhHuh?
Plzz help me, i m not able to add local users in my linux machine.........
Gaurav
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #1 on: May 19, 2005, 12:59:56 PM »

for this there can be two reasons..

a . The /etc/passwd file is used by another process
or
b. You are not having proper permission to modify it.

To make sure u are having right privilages..

do ..

check first if you are "root" user
Code:

ls -l / |grep etc
and
ls -l /etc |grep passwd

if both are showing user and group ownership as root then u are fine.
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #2 on: May 19, 2005, 11:37:17 PM »

Dear
I have checked that files already there is nothing to do with this.., The files have the owner as well as group root.....


Then what others pb it is...., as i have checked many sites....it's written alll the lines u told , i have checked all, means ownership as well as process id.....

It is written that ... there is a file named passwd.lock , just check the pid of that file...

Kill that pid..
but this is also not the pb in my case...

SO plzz help me what i can do???



Gaurav
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #3 on: May 20, 2005, 07:07:26 AM »

:?
hmm...

You know I was also wondering that why you have asked such question and was sure that we will have to shake our brain.

Ok now I think you should give a filesystem repair then see if you still facing the problem.
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #4 on: May 21, 2005, 03:27:08 AM »

OK Ricky
I will perorm filesystem repair , if   it doesn't work .. then  i will ask u ...

Thxxxxxxxxxxxx
Gaurav
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Kmail problem,, default hostname .. unable to send mail Linux Application taraj 1 1240 Last post March 06, 2004, 06:05:13 PM
by dalek
Mail Server Problem - Unable to open this mailbox Linux Servers Support manishvaghela 0 1593 Last post August 16, 2004, 01:20:09 AM
by manishvaghela
unable to execute binary file Linux Servers Support klakshman03 1 781 Last post April 06, 2005, 09:40:03 AM
by Ricky
unable to mount NTFS file system in linux Other Devices christopher_1 7 2618 Last post June 28, 2005, 05:33:43 AM
by neo
Lock accounts Linux Servers Support rs232 0 481 Last post October 05, 2005, 06:36:17 AM
by rs232
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 08:04:45 PM

Login with username, password and session length
Navigation
Recent Discussions
[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]

[November 28, 2008, 06:47:09 AM]

[November 26, 2008, 11:53:32 AM]

[November 26, 2008, 04:00:22 AM]

[November 25, 2008, 06:44:47 PM]
Members
Total Members: 6252
Latest: rash31
Stats
Total Posts: 8285
Total Topics: 2257
Online Today: 34
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 12
Total: 12
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc