Home > Unable To > Useradd Cannot Lock /etc/passwd Try Again Later In Linux

Useradd Cannot Lock /etc/passwd Try Again Later In Linux

Contents

Just starting out and have a question? If the program is > no longer running, you can remove them. > > To see if the process still exists: > > kill -s 0 `cat /etc/passwd.lock` > > (That Reply J says: July 13, 2015 at 2:46 am I know this is old, but I thought I'd share my experience. So an "ls -al" wouldn't show a .swp file, and even if it did...that does NOT address the lock file symptom. Check This Out

sakshi.garg23 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sakshi.garg23 02-06-2014, 07:10 AM #2 myatthu Member Registered: Jan 2014 Distribution: CentOS, We Acted. Find More Posts by myatthu 02-07-2014, 12:47 AM #5 chrism01 LQ Guru Registered: Aug 2004 Location: Sydney Distribution: Centos 6.8, Centos 5.10 Posts: 17,241 Rep: Possibly they've been set Contact Us | Privacy | Terms of Service Naveen's Blog Skip to content HomeAbout me ← Receiving Error code 2 while starting OracleDbConsole service onWindows How to check if your oracle

Useradd Cannot Lock /etc/passwd Try Again Later In Linux

I'll look at the logs tomorrow to see what happend. there should be some lock files... Red Hat Account Number: Red Hat Account Account Details Newsletter and Contact Preferences User Management Account Maintenance Customer Portal My Profile Notifications Help For your security, if you’re on a public sakshi.garg23 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sakshi.garg23 02-07-2014, 01:23 AM #7 sakshi.garg23 LQ Newbie Registered: Feb 2014 Posts:

are you using NIS ? Remove it (or move it to /tmp as a safety measure) Run an 'ls -la /var/lock' to look for any lock files. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Authentication Token Manipulation Error PCMag Digital Group AdChoices unused

Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log Useradd Unable To Lock Password File In Linux Find all posts by PxT « Previous Thread | Next Thread » Thread Tools Show Printable Version Email this Page Subscribe to this Thread Display Modes Linear Mode Switch to See pwconv(1M). http://www.linuxquestions.org/questions/linux-newbie-8/rhel5-not-able-to-delete-add-user-unable-to-lock-group-password-file-4175493924/ Comment gets deleted.

You can then remove it. myatthu View Public Profile View LQ Blog View Review Entries View HCL Entries Visit myatthu's homepage! for this i have checked for lock files but i have not find any lock files now iam unable to change my passwd file also can any one give me a You might see .swp An "ls -al" in which directory?

Useradd Unable To Lock Password File In Linux

Current Customers and Partners Log in for full access Log In New to Red Hat? navigate to these guys Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Useradd Cannot Lock /etc/passwd Try Again Later In Linux sakshi.garg23 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sakshi.garg23 02-07-2014, 05:30 AM #10 myatthu Member Registered: Jan 2014 Distribution: CentOS, Usermod Unable To Lock Password File Find More Posts by myatthu 02-07-2014, 07:38 AM #13 sakshi.garg23 LQ Newbie Registered: Feb 2014 Posts: 12 Original Poster Rep: [[email protected] ~]$ mount /dev/sda1 on / type ext3 (rw)

Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... his comment is here No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Windows or Linux ? Below is the detailed commands and outputs.: [[email protected] ~]$ su - Password: [[email protected] ~]# useradd -g admin bijayinee useradd: unable to lock password file [[email protected] ~]# userdel -r nishant userdel: unable Passwd: Authentication Token Lock Busy

All product names are trademarks of their respective companies. If so, they may be 'locking' it manually. Again, remove or move them. this contact form Toolbox.com is not affiliated with or endorsed by any company listed at this site.

Home | Invite Peers | More Linux Groups Your account is ready. We Acted. TB0ne View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by TB0ne Page 1 of 3 1 23 > Thread Tools Show Printable Version

redhat linux loginpromt [ Redhat-l ] useradd problem Not Able to Change Root Password in IBM AIX 6.1 Blog Articles Ransomware hits the iPhone City of San Francisco System Admin locks

Like this:Like Loading... but the server didnt had /etc/passwd.lock file😦 The issue was due to the /root which was 100 % utilized. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. sakshi.garg23 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sakshi.garg23 02-07-2014, 01:53 AM #8 myatthu Member Registered: Jan 2014 Distribution: CentOS,

Gary Romo replied Feb 12, 2008 type faillog as root on the system. You're now being signed in. So what's the point? navigate here The time now is 07:06 PM.

Reply Ankita Mohan July 8, 2014 at 7:11 pm I had the same issue once . USER_1844559 replied Jan 9, 2010 i think password file is lock firdt check file attrib #lsttar /etc/passwd --------i-------------/etc/passwd #chattr -i /etc/passwd i think it's work Top Best Answer 0 Mark this