Home > Cannot Lock > Cannot Lock /etc/passwd Ubuntu 12.04

Cannot Lock /etc/passwd Ubuntu 12.04

The bug link above talks about deleting files group.lock, passwd.lock, and shadow.lock. y (Reading database ... 341177 files and directories currently installed.) Removing jetty ... * Stopping Jetty servlet engine (was reachable on http://box:8080/). 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 useradd: cannot lock /etc/passwd; try again later. have a peek at this web-site

systemd vs sysVinit Linux Cheatsheet Intro to Configure IPsec VPN (Gateway-to-Gateway ) using Strongswan How to Install CentOS 7 Step by Step with Screenshots Linux ntopng - Network Monitoring Tool Installation I would like to change my account back to "Administrator", but now I can't. Barki Mustapha (mustbarki) wrote on 2016-01-08: #43 Download full text (16.6 KiB) [email protected]:~$ sudo apt-get update sudo: unable to resolve host ninja-network [sudo] password for barki: Ign http://dl.google.com stable InRelease Ign The rootfs system is not important here. –arrange Dec 1 '11 at 22:20 1 The remount worked, thanks!

Changed in shadow (Ubuntu Precise): status: New → Triaged importance: Undecided → High Changed in shadow (Ubuntu Quantal): status: Confirmed → Triaged importance: Medium → High Changed in shadow (Ubuntu Precise): Also check the partition for errors or look at logs/SMART data if your HDD is not failing. –arrange Dec 1 '11 at 23:02 add a comment| Your Answer draft saved Thanks again for your multiple responses, it helped keep me think through the problem. –BubbaJ Nov 17 '11 at 15:31 add a comment| up vote 0 down vote Boot into recovery sudo gives you the permission to lock it.

Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] usermod: can't lock /etc/password Having How to react? It doesn't always show up in the mount command's output. –Bratchley Aug 12 '15 at 20:42 Alternatively, you may just try forcibly remounting it rw just to clear that Exiting.

Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Sanity check: are you also root when launching useradd? The OK or FAIL column If I receive written permission to use content from a paper without citing, is it plagiarism? http://askubuntu.com/questions/79933/deleted-myself-from-admin-group-now-getting-error-usermod-cannot-lock-etc-pa That's what was confusing me.

That will definite cause an issue. share|improve this answer edited Apr 15 '15 at 17:19 KronoS 18.1k3492146 answered Apr 15 '15 at 9:06 LI JIM 112 This is a thank you comment to a previous Where can I find a detailed list of fees for cruise bookings? I was also not able rename or copy the .pwd.lock file before attempting to remove, so I never tried to remove it.

Affecting: shadow (Ubuntu) Filed here by: Chris Howard When: 2010-02-18 Confirmed: 2010-09-15 Assigned: 2013-02-22 Started work: 2012-08-31 Completed: 2012-09-24 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi https://ubuntuforums.org/showthread.php?t=1508413 Exiting. If you'd like to contribute content, let us know. Sometimes, you may encounter situations (bugs) where some of these files may not get properly unlocked after the execution of the command.

My root directory had filled up and I had not realized it .... Check This Out This is the data in /var/term.log for the latest update. Please also post /etc/fstab, your drive designation (the uuid one) is atypical. What is the total sum of the cardinalities of all subsets of a set?

Find More Posts by repo 03-26-2011, 09:58 AM #3 mahmoodn Member Registered: May 2010 Posts: 409 Original Poster Rep: Thanks. Unpacking replacement libkrb5support0 ... Preparing to replace linux-firmware 1.25 (using .../linux-firmware_1.26_all.deb) ... Source How to decide between PCA and logistic regression?

asked 3 years ago viewed 141 times active 2 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 1017Check if a program exists from a Bash script28using the Related 14Cannot lock '/etc/group' in recovery mode10When Ubuntu asks for an admin user's password, how does it decide which administrative user to ask for?2Changing groups as nonadmin14I deleted the “/etc/passwd” file Thanks again for your help. –BubbaJ Nov 17 '11 at 15:34 add a comment| up vote 0 down vote You should really delete that lock file using the recovery console, although

but no idea what. –laurent Nov 17 '11 at 14:10 I am unable to execute the sudo command from the command line since my userid is no longer a

Done Building dependency tree Reading state information... Browse other questions tagged sudo recovery-mode or ask your own question. Real numbers which are writable as a differences of two transcendental numbers Antonym for Nourish At delivery time, client criticises the lack of some features that weren't written on my quote. Thanks a lot.

So here's what I did to resolve the issue: Shutdown the computer Boot into Recovery Mode --After BIOS load, hold down Shift key to access the grub menu --Once in grub Contact Us | Privacy | Terms of Service current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. Code: man sudo And you do know that "username" means your username? http://dekovsoft.com/cannot-lock/groupadd-existing-lock-file-etc-group-lock-without-a-pid.html Adding new user `postfix' (UID 114) with group `postfix' ...

Use strace to be sure.