Re: FC2 groupadd error: unable to lock group file

From: Joao Pereira (joao.pereira_at_dotinspired.com)
Date: 08/15/04

  • Next message: Robert G. (Doc) Savage: "Re: slightly OT (FC2): RAID 1 rebuild time"
    Date: Sun, 15 Aug 2004 22:40:26 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Hum.. i've had this when running commands and not logged in as root (or
    su)...

    Just a guess..

    Kurt Hansen wrote:

    > Hi,
    >
    > Problem solved. Just want to include it here in case anyone else runs
    > into this and searches for an answer
    >
    > After re-booting the next day, it worked. I'm not sure why. I suspect
    > the lock happened because I first got an error when running groupadd.
    > I suspect it exited abnormally and thus did not release it's lock.
    >
    > Take care,
    >
    > Kurt Hansen
    >
    > Kurt Hansen wrote:
    >
    >> Hello,
    >>
    >> I'm trying to add a group using the groupadd command, e.g.
    >>
    >> # /usr/sbin/groupadd -r newgroup
    >>
    >> but get the error:
    >>
    >> groupadd: unable to lock group file
    >>
    >> I was able to do it on FC1 and earlier Red Hat editions. What am I
    >> doing wrong? I've tried it both as logging in as root and su'ing to
    >> root.
    >>
    >> The "Add user & group" GUI utility works, but I need the command line
    >> because I will be setting up systems remotely that are behind a
    >> firewall that only allows SSH through.
    >>
    >> Thanks!
    >>
    >> Kurt Hansen
    >> khansen@charityweb.net
    >>
    >>
    >
    >
    >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Robert G. (Doc) Savage: "Re: slightly OT (FC2): RAID 1 rebuild time"

    Relevant Pages

    • Re: FC2 groupadd error: unable to lock group file
      ... rebooting naturally killed the program. ... > the lock happened because I first got an error when running groupadd. ... > suspect it exited abnormally and thus did not release it's lock. ... I've tried it both as logging in as root and su'ing to root. ...
      (Fedora)
    • RE: SUDO
      ... I know that sudo is for running commands with root privileges but this idea is about typing "sudo su -" and use one's password and not root's. ...
      (RedHat)
    • Re: Authentication failure??
      ... from having a normal root account with a separate password? ... It is safer than leaving the root prompt open all the time. ... on multi-user systems you may want to know who is running commands with ... and I didn't find out about it until some of my shell scripts ...
      (Ubuntu)
    • Re: [SLE] Renaming on USB cards/Floppies
      ... >something about actually writing too and removing files from a floppy ... >or usb storage device. ... Opened a session of konqueror as root and was able to copy a file ... write to a directory owned by root e.g., I suspect you may have already ...
      (SuSE)
    • Re: eclipse & java 5
      ... even as root I get the same error you got ... If you're having the (what we suspect is a) prelink issue described at, ... Andrew ...
      (Fedora)