adduser: `/usr/sbin/groupadd -g 112 whoopsie' returned error code 10. Log started: 2010-02-23 09:42:52 (Reading database ... 246453 files and directories currently installed.) Preparing to replace libgssapi-krb5-2 1.7dfsg~beta3-1ubuntu0.3 (using .../libgssapi-krb5-2_1.7dfsg~beta3-1ubuntu0.4_i386.deb) ... Antonym for Nourish How to decline a postdoc interview if there is some possible future collaboration? I am not logged in as the root user. his comment is here
sudo recovery-mode share|improve this question edited Sep 25 '14 at 7:46 Oli♦ 174k57437648 asked Dec 1 '11 at 11:07 oadams 43131029 add a comment| 1 Answer 1 active oldest votes up I'm not sure what would be the worst case if for example /etc/passwd is updated but /etc/shadow is not. I've been fighting this all day. Edit bug mail Other bug subscribers Subscribe someone else Related questions shadow in Ubuntu: No password but authentication still needed. http://askubuntu.com/questions/84277/cannot-lock-etc-group-in-recovery-mode
I'm not sure what would be the worst case if for example > /etc/passwd is updated but /etc/shadow is not. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . How can I get my user back in the admin group? Visiting Singapore for attending Conference.
Open Source Communities Comments Helpful 6 Follow Error while adding user or modifying user 'cannot lock /etc/passwd; try again later' Solution Verified - Updated 2014-11-20T13:05:14+00:00 - English No translations currently exist. 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 Package postfix which provides mail-transport-agent is not configured yet. ... Useradd: Cannot Open /etc/passwd Antonym for Nourish Do Morpheus and his crew kill potential Ones?
Installing new version of config file /etc/fonts/conf.avail/69-language-selector-zh-tw.conf ... Adduser Returned Error Code 10. Exiting. Count trailing truths Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? but there is none of the lock file showing under /etc/ please suggest amolmistry View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by https://ubuntuforums.org/showthread.php?t=2209632 Chris Howard (guru42101) wrote on 2010-02-23: #4 Download full text (8.2 KiB) This issue started for me originally with Jetty I think, I didn't have the ability to submit a bug
If you have any questions, please contact customer service. Cannot Lock /etc/shadow Ubuntu The file permissions are the same as on the other computers, fuser displays no processes using the file and lslk also displays no locks. Search this Thread 03-26-2011, 09:29 AM #1 mahmoodn Member Registered: May 2010 Posts: 409 Rep: problem with /etc/passwd Hi, I want to add a user with useradd command, however The update failed and google chrome was removed.
Converting the weight of a potato into a letter grade Hyper Derivative definition. dpkg: error processing whoopsie (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of language-selector-common: language-selector-common depends on dbus; however: Package dbus is not configured Groupadd: Existing Lock File /etc/group.lock Without A Pid Chuck Short (zulcss) on 2010-03-01 affects: postfix (Ubuntu) → ubuntu Monkey (monkey-libre) wrote on 2010-03-01: #7 Thank you for taking the time to report this bug and helping to make Ubuntu Useradd Cannot Lock /etc/passwd Try Again Later In Linux This site is not affiliated with Linus Torvalds or The Open Group in any way.
Having a problem logging in? this content Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Change to root user by issuing the command su - or if you have/use sudo sudo
The time now is 04:59 AM. Adv Reply Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Hyper Derivative definition. weblink To critique or request clarification from an author, leave a comment below their post. - From Review –Jakuje Jan 21 at 14:17 add a comment| Not the answer you're looking for?
A recovery will run now (dpkg --configure -a). Useradd: Existing Lock File /etc/subuid.lock Without A Pid In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find This was from a alternate cd install of 9.10 maybe it's best just to reinstall?
Then please remove any stale lock files by doing: rm -f /etc/passwd.lock /etc/group.lock /etc/gshadow.lock and then re-try your install or upgrade. mascom View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by mascom 03-19-2012, 07:39 AM #6 johansyd LQ Newbie Registered: Mar 2012 Posts: The real issue here is hidden in an error message from adduser: [email protected]:/$ adduser existinguser newgroup adduser: Only root may add a user or group to the system. Existing Lock File /etc/passwd.lock Without A Pid Launchpad Janitor (janitor) wrote on 2012-10-15: #37 This bug was fixed in the package shadow - 1:126.96.36.199+svn3283-3ubuntu5.1 --------------- shadow (1:188.8.131.52+svn3283-3ubuntu5.1) precise-proposed; urgency=low * debian/passwd.upstart: Add an upstrat job to clear locks
Iowa BeansHidden! I *think* it has the same information as the previous post, just less verbose. Compare elements iteratively How Did The Dred Scott Decision Contribute to the Civil War? check over here There was a stray .pwd.lock file in /etc that the following command found: find / -type f -name "*.lock" Once I removed it, the script worked.
The Mcafee HIPs agent was preventing the password and shadow files from being created in the /etc/ directory. So, if you get any such errors, check for any lock files under /etc. # cd /etc # ls –l *.lock If you find any lock files named passwd.lock, shadow.lock, group.lock Nicolas François (nekral-lists) wrote on 2011-08-06: #18 I'm not really worried by the consistency of single files (each one are updated atomically). 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
I've read Cannot lock '/etc/group' in recovery mode but I am not booted into recovery mode and all partitions are mounted read-write. We Acted.