[Bug 523896] Re: useradd: cannot lock /etc/passwd; try again later.

Fernando Giraldo 523896 at bugs.launchpad.net
Wed Jul 11 19:24:45 UTC 2012


verify that you are de root user command whoami else login with sudo su and
try the process for remove files


2012/7/11 nick s <n123q45 at yahoo.com>

> i dont have permission to remove the files
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (988995).
> https://bugs.launchpad.net/bugs/523896
>
> Title:
>   useradd: cannot lock /etc/passwd; try again later.
>
> Status in “shadow” package in Ubuntu:
>   Triaged
> Status in “shadow” source package in Precise:
>   Triaged
> Status in “shadow” source package in Quantal:
>   Triaged
>
> Bug description:
>   Binary package hint: postfix
>
>   Ubuntu 9.10, via Update Manager.
>
>   SOLUTION:
>
>   Look for /etc/group.lock, /etc/passwd.lock and /etc/shadow.lock files
>   and remove them.
>
>   Be careful to only remove the files ending in 'lock' or else you might
>   damage your system.
>
>   Please do not add comments just containing "Me too", instead please
> provide any information that could indicate why the files were locked:
>    * the list of locked files:
>       ls /etc/passwd.lock /etc/shadow.lock /etc/group.lock
> /etc/gshadow.lock
>
>    * check the /var/log/auth.log for any message that could indicate the
>   failure of any other tool (prior to the failure which reported the
>   locked file)
>
>    * any abnormal operation on the machine (reset, shutdown while the
>   computer is still running)
>
>   ProblemType: Package
>   Architecture: i386
>   Date: Thu Feb 18 09:49:47 2010
>   DistroRelease: Ubuntu 9.10
>   ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
>   InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
>   NonfreeKernelModules: fglrx
>   Package: postfix 2.6.5-3
>   ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
>   SourcePackage: postfix
>   Title: package postfix 2.6.5-3 failed to install/upgrade: subprocess
> installed post-installation script returned error exit status 1
>   Uname: Linux 2.6.31-19-generic i686
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/523896/+subscriptions
>


--


*GNU/LINUX #553303*

Se libre usa software libre!!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/523896

Title:
  useradd: cannot lock /etc/passwd; try again later.

Status in “shadow” package in Ubuntu:
  Triaged
Status in “shadow” source package in Precise:
  Triaged
Status in “shadow” source package in Quantal:
  Triaged

Bug description:
  Binary package hint: postfix

  Ubuntu 9.10, via Update Manager.

  SOLUTION:

  Look for /etc/group.lock, /etc/passwd.lock and /etc/shadow.lock files
  and remove them.

  Be careful to only remove the files ending in 'lock' or else you might
  damage your system.

  Please do not add comments just containing "Me too", instead please provide any information that could indicate why the files were locked:
   * the list of locked files:
      ls /etc/passwd.lock /etc/shadow.lock /etc/group.lock /etc/gshadow.lock

   * check the /var/log/auth.log for any message that could indicate the
  failure of any other tool (prior to the failure which reported the
  locked file)

   * any abnormal operation on the machine (reset, shutdown while the
  computer is still running)

  ProblemType: Package
  Architecture: i386
  Date: Thu Feb 18 09:49:47 2010
  DistroRelease: Ubuntu 9.10
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  NonfreeKernelModules: fglrx
  Package: postfix 2.6.5-3
  ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
  SourcePackage: postfix
  Title: package postfix 2.6.5-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  Uname: Linux 2.6.31-19-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/523896/+subscriptions




More information about the foundations-bugs mailing list