Home > Cannot Lock > Cannot Lock Password File Already Locked. Error Password Not Changed

Cannot Lock Password File Already Locked. Error Password Not Changed

Removing obsolete conffile /etc/fonts/conf.avail/29-language-selector-ko-kr.conf ... Why are LEDs in my home unaffected by voltage drop? This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Changed in shadow (Ubuntu): status: Incomplete → Confirmed BackTrack (pmeyer) on 2011-07-18 tags: added: armel Andreas Moog (amoog) on 2011-07-21 description: updated Andreas Moog (amoog) on 2011-07-22 description: updated Brian Murray have a peek here

With an NP account (empty password), roy cannot change its password, but surely root should be able to do it. Kareem khamdy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by khamdy 03-28-2004, 01:53 AM #7 khamdy LQ Newbie Registered: Mar Also I did read man usermod for expiredate 1, but thought I might be opening another "can of worms"? share|improve this answer answered Jan 28 '12 at 22:12 Robin Green 711621 I've been reading many threads with my problem and that was actually the solution. http://superuser.com/questions/296373/cannot-lock-etc-passwd-try-again-later

Join Date: Feb 2004 Last Activity: 7 November 2016, 11:39 AM EST Location: NM Posts: 10,850 Thanks: 453 Thanked 976 Times in 907 Posts It looks like a usermod or useradd How are the functions used in cryptographic hash functions chosen? jlgv Security and Privacy 11 11th December 2005 08:36 AM Current GMT-time: 00:24 (Tuesday, 08-11-2016) All trademarks, and forum posts in this site are property of their respective owner(s). Package postfix which provides mail-transport-agent is not configured yet. ...

I did the following: reboot the system interuppted GRUB selected kernel/boot/vmlinux2.6 ... affects: postfix (Ubuntu) → shadow (Ubuntu) Chris Howard (guru42101) wrote on 2010-03-04: #9 From what I could tell the passwd.lock and shadow.lock files had not been removed. by the way, i´m using rh9... Your account looks locked.

Thanks for the help $avage! Mark - Syminet (mark-syminet) wrote on 2012-08-28: #26 Download full text (3.4 KiB) Just got bit by this one again, clean lucid install. Changed in shadow (Ubuntu Quantal): status: In Progress → Fix Committed assignee: Dmitrijs Ledkovs (xnox) → nobody Dimitri John Ledkov (xnox) wrote on 2012-09-03: #28 Fix uploaded into precise-proposed, waiting in http://www.linuxquestions.org/questions/linux-general-1/sudo-adduser-unable-to-lock-password-file-152089/ lol thanks kareem khamdy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by khamdy 05-19-2004, 05:50 PM #8 hardcode LQ Newbie

Changed in postfix (Ubuntu): status: New → Incomplete importance: Undecided → Medium summary: - package postfix 2.6.5-3 failed to install/upgrade: subprocess installed- post-installation script returned error exit status 1+ useradd: cannot Let's try something. Select Articles, Forum, or Blog. If you'd like to contribute content, let us know.

From what you've already posted, I'm sure you don't have these files: Code: /etc/passwd.lock /etc/shadow.lock /etc/group.lock /etc/gshadow.lock If they exist, they should be deleted and this should solve the problem, but directory I cannot explain what may have caused these errors, but I assume they can easily be corrected from root shell, or are you suggesting the use of expiredate 1 below? That's my guess at least. -G gsibble View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by gsibble 03-01-2004, 10:50 AM #3 khamdy I just started my first real job, and have been asked to organize the office party.

Please help to verify this update as outlined in comment #30 above. http://scriptkeeper.net/cannot-lock/cannot-lock-file-framemaker.html Note that this does not disable the account. This site is not affiliated with Linus Torvalds or The Open Group in any way. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers.

I did the following: Code: mv /etc/passwd.lock /etc/passwd.lock.bak and then repeated it for: group.lock gshadow.lock shadow.lock after doing this, i could add and remove users again. Unix & Linux Stack Exchange works best with JavaScript enabled
Register Help Remember Me? How to make figure bigger in subfigures when width? Check This Out Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started

Run 'ps auxw | grep shadow' to see if anything is using it. If not try single user mode by adding '-s' to the end of your kernel parameters in grub. Why did Michael Corleone not forgive his brother Fredo?

Reply Leave a Reply Cancel reply Name( required ) Email ( required; will not be published ) Website Commenting Policy: Promotion of your products ?

The user may still be able to login using another authentication token (e.g. Last edited by Royalist; 09-07-2012 at 05:18 PM.. Remove advertisements Sponsored Links Royalist View Public Profile Find all posts by Royalist

#2 09-07-2012 jim mcnamara Password Forgot Password? agenol agenol View Public Profile Find all posts by agenol #4 24th January 2006, 02:57 AM glennzo Online Un-Retired Administrator Join Date: Mar 2004 Location: Salem, Mass USA

After this operation, 1,042 kB disk space will be freed. What is with the speech audience? The users who voted to close gave this specific reason:"Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was this contact form Launchpad Janitor (janitor) wrote on 2012-10-15: #37 This bug was fixed in the package shadow - 1: --------------- shadow (1: precise-proposed; urgency=low * debian/passwd.upstart: Add an upstrat job to clear locks

Code: [email protected]:~$ sudo passwd roy -S [sudo] password for roy: roy P 09/10/2012 0 99999 7 -1 However, a user account is still locked. dpkg: error processing ubuntu-standard (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of accountsservice: accountsservice depends on dbus; however: Package dbus is not configured yet. You might also likeCreate User In Linux From Command Line And Its OptionsHow To Manage Sudo Access For Linux UsersExample : Linux Command To Add User To A GroupLinux Lock/Unlock User If one supplier has delayed your project schedule should the other suppliers on the project be alerted to the new timeline?

StĂ©phane Graber (stgraber) on 2012-07-25 Changed in shadow (Ubuntu Precise): milestone: ubuntu-12.04.1 → ubuntu-12.04.2 jhansonxi (jhansonxi) wrote on 2012-08-21: #25 Regarding #17 - I did just experience this problem but with Does anybody know how to solve it? I checked and tried the following (found the suggestions all over the internet): Obviously, I'm using sudo There exists a file /etc/.pwd.lock, but it is empty and removing it doesn't help A recovery will run now (dpkg --configure -a).

Here is a link to the KB article that showed how to stop the agent: Mcafee HIPs agent linux rhel share|improve this question edited Aug 14 '15 at 18:54 asked Aug In that case, when you execute useradd next time, it may show the error “cannot lock /etc/password” or “unable to lock group file”. Reply With Quote 08-Feb-2015,14:53 #2 gm40 View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Sep 2009 Posts 38 Re: locked password file Sorry, the problem is Selinux has a log that might be worth looking through... –thrig Aug 13 '15 at 15:41 1 This does not provide an answer to the question.

group that I deleted. then I wanted to execute 'mount -o remount,rw' which wasn't recognized anymore. Added $avage's advice and all was well. Exiting.

Do you want to continue [Y/n]?