[SOLVED] /etc/group or /etc/gshadow are inconsistent, grpck shows " ".

After updating, pacman said
==> Warning: /etc/group or /etc/gshadow are inconsistent.
but when running grpck there was no output.
I would guess this means everything is OK. Is this the case?
In case it matters, these are my /etc/group and /etc/gshadow.
Last edited by trusktr (2013-09-06 07:46:30)

Check these:
https://bbs.archlinux.org/viewtopic.php?id=131484
https://bbs.archlinux.org/viewtopic.php?pid=1064456

Similar Messages

  • My junk, trash, etc. folders are no longer showing up as a menu!!

    When I open my mail window all it says at the top is Important and shows an icon called Messages. I cannot find the way to get back to my email address so that I can access the Trash folder, the Junk folder, the Sent folder, etc. I find this frustrating since it means I have to use my iPhone to edit my mailboxes. Please tell me how to get back to my original page.

    I think you may have lost your Folder Pane.
    Hold down the <alt> button n your keyboard, tap V.
    Release <alt>, select "Layout".
    Is "Folder Pane" selected? If not, click it to set it.

  • /etc/gshadow: lock:!:: or lock::: ?

    After an update, I was notified that my /etc/group and /etc/gshadow were inconsistent. I must have goofed during a manual update at some point, as there area two entries for the lock group.
    In /etc/group, I have duplicate lines like so:
    lock:x:54:
    lock:x:54:
    In /etc/gshadow, I have slightly different entries:
    lock:::
    lock:!::
    For all the googling I can muster, I can't find an up to date /etc/group example to know which one to keep in /etc/gshadow. There's some similar posts but they don't end conclusively. The wiki doesn't really explain what all the group fields mean like it does for user management; nor does it specify how to tell if a group entry should have an empty second field or a "!". My gshadow file has instances of both, so I'm not sure which lock should have.

    @stewie: thanks for the tip.
    encrypted password
    Refer to crypt(3) for details on how this string is interpreted.
    If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, users will not be able to use a unix password to access the group (but group members do not need the password).
    The password is used when an user who is not a member of the group wants to gain the permissions of this group (see newgrp(1)).
    This field may be empty, in which case only the group members can gain the group permissions.
    A password field which starts with a exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked.
    This password supersedes any password specified in /etc/group.
    Having read that, it's not entirely clear how this plays out practically. An example would be awesome. My point is:
    - Empty field: a password can gain access to the group-owned files by those outside the group... but the password field is empty, so what's the password it's talking about a non-group user providing?
    - !: no password can gain access to the file.
    Not being a *nix guru... I'm still left with my question: should the lock group have an empty or locked password field?
    Last edited by jwhendy (2012-11-28 03:18:00)

  • [SOLVED] Today's update of /etc/group, /etc/passwd and /etc/gshadow

    Hello,
    During the regular updates I received an update of /etc/groups. I wonder what I should do here, as there are some differences between the old file and the pacnew one. I suppose that when I use the command to add my user to a group, it gets written into this file. So, just recklessly moving the pacnew file in the place of the old one, will mess up all my groups, won't it?
    Then what should I do? All the entries in the pacnew file are also present in the old one, so I guess I could just delete the pacnew one and keep the old one. Am I right?
    EDIT: The same goes to /etc/passwd and /etc/gshadow.
    Last edited by Unia (2012-10-06 09:51:23)

    teateawhy wrote:
    If you had the uuid user before like me the uuid line in your own files is different from the pacnew file. You have to delete the uuid line near the bottom in your old file. Then insert the new uuid entry including the new number in the place near the top suggested by the pacnew file. Keep the other lines untouched, then save your changes and delete the pacnew files.
    Edit: On a system that has actually been modified from a default install the new files will for sure be different to the old ones.
    Thanks, teateawhy!  I currently have this listed in /etc/passwd:
    uuidd:x:998:998::/:/sbin/nologin
    And this is in the .pacnew file:
    uuidd:x:68:68:uuidd:/:/sbin/nologin
    So, I can just copy the entry from the .pacnew file, overwriting the old entry, right?
    What I don't understand is how the two numbers 998 representing the UID and GID can suddenly change to 68.  Shouldn't they have to correspond with some other reference or list of users/groups...?
    I'm sure it's fine to just replace the entry as you suggested, but I wondered if there was a way to double-check which uid/gid should be used?  It's not that I don't trust you, but I don't fully understand how these group/passwd files work and I'm trying to get my head round it all.
    Cheers,
    esuhl

  • [Solved] Questions about /etc/group and /etc/gshadow

    This morning, package filesystem was upgraded to 2015.02-1 and pacnew files were created for /etc/group and /etc/gshadow. I ran diff against my current files, and the differences seem very minor, to me. I need some guidance to understand whether I should implement the pacnew changes.
    The only significant difference I see in the group file is that in my original version, my username is added to the wheel group. This seems correct, to me.
    For gshadow, there is the same difference for wheel. However, there are several entries where my original entry contains an exclamation point, but the new version does not. For example:
    < proc:!::
    > proc:::
    If I run man /etc/gshadow, it does not give me what I understand as a man page, and gives me what appears to be a listing of the stuff in my /etc/gshadow file, instead. Which does not help me.
    So, like I say, I need some guidance on dealing with these pacnew files.
    Tim
    PS - I now see that "man gshadow" gives me an actual man page. Sorry. I am currently studying it.
    Last edited by ratcheer (2015-02-24 21:37:52)

    After the update to filesystem 2015.02-1 some voices in /etc/gshadow were changed (in the pacnew file) from
    systemd-journal-gateway:!::
    systemd-timesync:!::
    systemd-network:!::
    systemd-bus-proxy:!::
    systemd-resolve:!::
    to
    systemd-journal-gateway:::
    systemd-timesync:::
    systemd-network:::
    systemd-bus-proxy:::
    systemd-resolve:::
    What's the change? Before they had a locked password (the ! sign) and now they haven't?

  • [SOLVED] /etc/passwd and /etc/shadow -- pwck shows missing groups

    I recently found out about the pwck and grpck commands to check for errors/inconsistencies in the passwd, group, shadow and gshadow files...  grpck returns no errors, but pwck returns this:
    user 'avahi': no group 84
    user 'postgres': no group 88
    user 'ntp': no group 87
    pwck: no changes
    These are the relevant lines from /etc/passwd:
    avahi:x:84:84:Avahi daemon:/:/bin/false
    postgres:x:88:88:PostgreSQL user:/var/lib/postgres:/bin/bash
    ntp:x:87:87:Network Time Protocol:/var/lib/ntp:/bin/false
    There are lines for those users in /etc/shadow... but...  I'm not sure what I need to do to fix the problem.
    I think I understand enough, now, to maintain the files in future, but would anyone know I can fix this?
    Last edited by esuhl (2012-10-08 20:22:05)

    2ManyDogs wrote:I don't know how to fix the errors, but I'm really curious about why you decided to run those commands. Were you having a problem you thought might be ralated to groups and/or passwords? What are groups 84, 97, and 88?
    Ha!  Well... when I started using Arch I really didn't know much about Linux and I an update providing some .pacnew files (/etc/group, gshadow, passwd, shadow) and... well...  I don't know what I did, but I think it was probably not what I should have done(!).  I used grpck in the past and got no errors and it suddenly occurred to me today that there should be an equivalent for checking /etc/passwd... so that's why I just ran the commands now.  Everything seems to be working, however...
    I don't have an entry for groups 84, 87 and 88 in my /etc/group file...  Hmmm...
    I tried running this command to find any files associated with that group, but only get the following:
    [root@i7pc tim]# find / -gid 88
    find: `/run/user/1000/gvfs': Permission denied
    find: `/proc/1806/task/1806/fd/5': No such file or directory
    find: `/proc/1806/task/1806/fdinfo/5': No such file or directory
    find: `/proc/1806/fd/5': No such file or directory
    find: `/proc/1806/fdinfo/5': No such file or directory
    I get similar output for the other groups, so... can I just delete them from /etc/passwd and /etc/shadow?
    I notice I have the avahi package installed, however, and group 84 relates to user 'avahi'... so...  surely I need the avahi user...?
    Last edited by esuhl (2012-10-07 23:09:30)

  • Screwed up /etc/group & /etc/gshadow?

    I'm getting some odd errors, as posted here, and a [fail] on boot about checking password integrity. I think I haven't updated my group & gshadow files correctly. here they are:
    /etc/group
    root:x:0:root
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    sys:x:3:root,bin
    adm:x:4:root,daemon
    tty:x:5:
    disk:x:6:root
    lp:x:7:daemon
    mem:x:8:
    kmem:x:9:
    wheel:x:10:root
    ftp:x:11:
    mail:x:12:
    uucp:x:14:
    log:x:19:root
    utmp:x:20:
    locate:x:21:
    rfkill:x:24:
    smmsp:x:25:
    proc:x:26:
    http:x:33:
    games:x:50:
    lock:x:54:
    uuidd:x:68:
    dbus:x:81:
    network:x:90:
    video:x:91:
    audio:x:92:
    optical:x:93:
    floppy:x:94:
    storage:x:95:
    scanner:x:96:
    input:x:97:
    power:x:98:
    nobody:x:99:
    users:x:100:
    systemd-journal:x:190:
    systemd-journal-gateway:x:191:
    systemd-timesync:x:192:
    systemd-network:x:193:
    systemd-bus-proxy:x:194:
    systemd-resolve:x:195:
    systemd-journal-remote:x:999:
    systemd-journal-upload:x:998:
    colord:x:124:
    avahi:x:84:
    chrony:x:183:
    proc:x:26:
    /etc/gshadow
    root:::root
    bin:::root,bin,daemon
    daemon:::root,bin,daemon
    sys:::root,bin
    adm:::root,daemon
    tty:::
    disk:::root
    lp:::daemon
    mem:::
    kmem:::
    wheel:::root
    ftp:::
    mail:::
    uucp:::
    log:::root
    utmp:x::
    locate:::
    rfkill:x::
    smmsp:::
    http:::
    games:::
    lock:::
    uuidd:x::
    dbus:x::
    network:x::
    video:x::
    audio:::
    optical:::
    floppy:x::
    storage:x::
    scanner:x::
    input:x::
    power:x::
    nobody:::
    users:::
    systemd-journal:::
    systemd-journal-gateway:::
    systemd-timesync:::
    systemd-network:::
    systemd-bus-proxy:::
    systemd-resolve:::
    systemd-journal-remote:!!::
    systemd-journal-upload:!!::
    colord:!::
    avahi:!::
    chrony:!::
    proc:!::
    thanks
    Last edited by stozi (2015-05-19 21:05:37)

    ok, didn't want to double-post, but
    Interface 'wlp2s0' is controlled by netctl-auto
    Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1:
    GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PolicyKit1 timed out (g-dbus-error-quark, 20)
    Failed to restart [email protected]: Connection timed out
    Usage: netctl-auto {COMMAND} ...
    [--help|--version]
    Commands:
    list List available profiles (active='*', disabled='!')
    current List currently active profiles
    switch-to [PROFILE] Switch to a profile, enable it if necessary
    enable [PROFILE] Enable a profile for automatic selection
    disable [PROFILE] Disable a profile temporarily for automatic selection
    enable-all Enable all profiles for automatic selection
    disable-all Disable all profiles temporarily for automatic selection
    EDIT: this error appears both on cli and from within in X11.
    btw, when group.pacnew and gshadow.pacnew arrive, how do I know how to merge them with the old ones?
    Last edited by stozi (2015-05-19 17:14:21)

  • [solved] Best way to update /etc/gshadow?

    'pyther' is a member of the 'video' group in /etc/group but not in /etc/gshadow
    'pyther' is a member of the 'audio' group in /etc/group but not in /etc/gshadow
    'somebody' is a member of the 'audio' group in /etc/group but not in /etc/gshadow
    'mpd' is a member of the 'audio' group in /etc/group but not in /etc/gshadow
    'pyther' is a member of the 'optical' group in /etc/group but not in /etc/gshadow
    'hal' is a member of the 'optical' group in /etc/group but not in /etc/gshadow
    'hal' is a member of the 'floppy' group in /etc/group but not in /etc/gshadow
    'pyther' is a member of the 'storage' group in /etc/group but not in /etc/gshadow
    'hal' is a member of the 'storage' group in /etc/group but not in /etc/gshadow
    Somehow my /etc/group file became out of sync with /etc/gshadow file. What is the best way to fix this? Should I hand edit /etc/gshadow or is there an tool that will sync the two up?
    pyther
    Last edited by pyther (2011-02-08 00:26:43)

    Hello sputnick, please read our policy on bumping old threads: https://wiki.archlinux.org/index.php/Fo … Bumping.22
    Closing.

  • HT1418 I have iPod4 and cannot see day-to-day appointments, etc on PC Outlook calendar.  Only repeated items (birthdays, anniversaries, etc.) are visible.  Where is the rest of my data and how do I restore it to the only calendar I have in Outlook?

    I have iPod4 and cannot see day-to-day appointments, etc on PC Outlook calendar.  Only repeated items (birthdays, anniversaries, etc.) are visible.  Where is the rest of my data and how do I restore it to the only calendar I have in Outlook?
    Thanks

    Hello Schimi. The Time Capsule is a kind of product that offer you two possibility:
    - To use the TC as a router or as an external HD.
    The difference between WPA and WPA 2 are:
    - They are two kinds of internet connection.
    WPA uses dynamic key encryption , which means that the key is constantly changing and makes the invasion of a wireless network more difficult than WEP . WPA is considered one of the highest levels of wireless security for your network and is recommended if your devices support this kind of encryption . Newer routers offer WPA2 security . WPA2 is compatible with WPA , but offers higher security level . In fact, it meets the high standards of many government agencies . If the router and computer support WPA2 , this should be your choice.
    If you need any help or if you find some difficult setting up it you can contact Apple Support.
    I am sure that they can help you with that.
    I am sory for the delay. I holpe that you solve your issue.

  • How I set my Q5 so that reminders (for appointments, etc.) are displayed on my home screen?

    How I set my Q5 so that reminders (for appointments, etc.) are displayed on my home screen?
    Solved!
    Go to Solution.

    Swipe down from the top of your homescreen and select Settings>Notifications. Near the bottom you'll see in blue letters Lock Screen Settings. Click that and toggle Lock Screen Notifications to ON. Now whenever you have an appointment in your Calendar, it'll show up that day on your Lock Screen.
    Cheers.  
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • My iPod no longer appears as  folder/file in Itunes when connected.  Library, genius, playlists, etc.  are present, but there is no longer cross reference with the iPod itself.  Help!?

    My iPod no longer appears as  folder/file in Itunes when connected.  Library, genius, playlists, etc.  are present, but there is no longer cross reference with the iPod itself.  Help!?

    I just tried it again and this time a different message showed up "The iPod 'name' cannot be synced. The required folder cannot be found." I have no clue what folder it could be talking about.

  • All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again.

    First Issue:   All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again?  If I have to delete the purchased apps, will they still be in iTunes, or will I have to re-purchase them? 
    Second Issue:   When I synced to my desktop (Windows XP)  All my photos loaded onto my iPad2.  I don't really want all 3000 + pics on my ipad!!  How do I get them off?  Next time I synced, they loaded again!  Now I have so many duplicates!  How do I get rid of the photos and prevent this from happening again?

    If none of your third-party apps are working, but the Apple built-in ones are ok, then try downloading any free app from the store (as that appears to reset something) and then re-try them - the free app can then be deleted. In terms of re-downloading apps then you can do so as long as they are still available in the store, and you use the same iTunes account as you originally used to buy them, then you should be able to re-download them for free : http://support.apple.com/kb/HT2519
    For synced photos, then with the iPad connected to and selected on the left-hand side of your computer's iTunes, then on the Photos tab on the right-hand side you can control which photos are synced to the iPad : http://support.apple.com/kb/HT4236 . If you don't want any photos to be synced then try selecting just an empty folder.

  • I need to minimize the space photos take on my MacBook Pro OSx 10.7.  They are in iPhoto, Aperture, Pictures/Photo Library, etc.  Are they taking space in all of these locations?

    I need to minimize the space photos take on my MacBook Pro OSx 10.7.  They are in iPhoto, Aperture, Pictures/Photo Library, etc.  Are they taking space in all of these locations?

    Are they taking space in all of these locations?
    It depends on how you are using iPhoto and Aperture. 
    iPhoto and Aperture each create their own library files, and the default location for them is in /users/youruseraccount/Pictures
    You can configure iPhoto and Aperture to use the same Library file, in which case your photos are only stored once.  But if you are using iPhoto & Aperture with independent library files, you may in fact be duplicating your storage.
    The second consideration is whether or not you have configured iPhoto and/or Aperture as reference libraries, in which case their library files only reference photos you have stored in other places on your hard drive.  Setting them up as reference libraries does not duplicate the photos inside the library files.

  • There are no apps showing in Privacy Photos, Contacts, etc. HELP!!!

    I'm on iPhone 4, iOS 6. There are no apps showing in Privacy > Photos, Contacts, etc even if I have Twitter, Facebook, Instagram & other photo apps installed. Photos taken from the apps don't get saved to Camera Roll. Apps can't access Photo Library.
    When I try to access my Photo library from within any app, it says "This app does not have access to your photos or videos. You can enable access in Privacy Settings."
    I go to Privacy > Photos and there are no apps there unlike in my friends' iPhones. It just says "Apps that have requested access to your photos will appear here."
    This is the same problem with my Contacts related apps. I have apps like Viber and What's App.
    Similary, there are no apps showing in Privacy > Calendars, Reminders, Bluetooth.

    Oh my gosh. This worked perfectly!!!
    After allowing the changes, I just had to open the apps again (such as Instagram), then the pop-up asking to allow access to Photos appeared!
    And I thought I was going to get rid of my iPhone 4 already because of the issue.

  • How do I unlock my email?  The grouped email page (I have 3 accounts) shows an item as downloading, but never makes any progress.  I also can't get to Mail, Contacts, etc.  under Settings.

    How do I unlock my email in my iPad?  The grouped email page (I have 3 accounts) shows an item as downloading, but never makes any progress.  I also can't get to Mail, Contacts, etc.  under Settings.  Have reset the device numerous times.

    There's a couple of ways to get through to the authorisation controls in the 11.0.x versions.
    The control is still in the Store menu, but first (if you're using iTunes versions 11.0.x) you might need to bring up the menu bar to see the Store menu.
    If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:
    Then you'll find the control in the Store menu:
    Alternatively, if you don't want to bring up the menu bar, it's still possible to get into the authorise controls via nested menus accessible from the wee boxy icon. Here's a screenshot of where to find them:

Maybe you are looking for

  • Reporting on resource attributes

    We have a system with a few resources such as AD, which we pull information from, and push them all into an LDAP resource which will become the central identity repository. However we want to run reports on identities, and we'd like to dump a report

  • Will WLS start 32-bit or 64-bit native library?

    After installing the generic WLS 10.3.4 on HP Itanium platform (64bit), I got both 32-bit and 64-bit native libraries. At runtime, which native library will be used? Is WLS smart enough to pick the right one depending on the JVM I am using? Is it tha

  • Where i will get SAPbobsCOM.dll

    Hi every body     Iam very new to ERP. Recently i have started working on Making Add-On for SBO using .net. I got a bit good femiliery with UI, But iam stucked at DI.    I have instaled SDK.  With that i got only SAPbouiCOM.exe. In many samples which

  • 2011 New Form 941 Table entries missing

    Greetings, We have implemented note 1568184 but the new functionality appears in the existing 941 form.  The note says:  new forms are being released in the standard system - "The Form 941 Federal and Form 941-PR PDF layouts are being released in thi

  • Vendor record not found

    Hello, I want to create oPurchaseDeliveryNotes Documents. oPurchDln.NumAtCard = oPurchOrdr.NumAtCard                 oPurchDln.DocObjectCode = SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes                 oPurchDln.HandWritten = SAPbobsCOM.BoYesNoE