Re: FC2 groupadd error: unable to lock group file

From: Kurt Hansen (khansen_at_charityweb.net)
Date: 08/15/04

  • Next message: Robert G. (Doc) Savage: "Re: Fedora 2 won't boot"
    Date: Sun, 15 Aug 2004 17:35:58 -0400
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    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: Fedora 2 won't boot"

    Relevant Pages

    • Re: Why Disable Root ssh login?
      ... Think of a username and password as a lock and a key. ... Disabling direct root login helps put an extra layer around it. ... Its better to use SSH key pairing and authenticate using all 3, ...
      (Debian-User)
    • Re: security for a home system
      ... useless since physical access to the box means that they can get root ... You can make that tricky with a Master lock using the lock loop on the case ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: New FU9 x86-32 install on spare box, how to switch to kde?
      ... temporary PackageKit process, and you should simply wait for it to ... Removing the resources yum uses to tell if there's a lock ... You'll probably need to be root to kill any back-side PackageKit stuff ...
      (Fedora)
    • Re: Linux 2.6.16.16
      ... Information whether it's a DoS or a root exploit is helpful, ... qualified person doing risk management will anyways lookup the CVE. ... It is insane to be giving lease_initthe task of freeing the lock it is ... Also fix a slab leak in __setleasedue to an uninitialised return value. ...
      (Linux-Kernel)
    • Re: Possible system breach due to an improper command
      ... As stated in anther thread this is a very silly use of chmod. ... lock you out of your own home directory and will ... try to lock the directoy one level up as well. ... ]Well, the next thing I know I am out of my locked shell and in root, ...
      (comp.unix.admin)