You are not logged in.

#1 2011-02-07 13:51:36

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

[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)


Website - Blog - arch-home
Arch User since March 2005

Offline

#2 2011-02-07 14:01:55

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [solved] Best way to update /etc/gshadow?

man grpconv

Offline

#3 2011-02-07 15:56:13

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [solved] Best way to update /etc/gshadow?

Did you do mv /etc/gshadow.pacnew /etc/gshadow or similar?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2011-02-08 00:25:18

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [solved] Best way to update /etc/gshadow?

@Rameses de Noree - Cheers, that looks like it did the trick!

@Mr.Elendig, thinking about it, I probably did one night when I was half asleep!


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2012-03-05 19:48:33

sputnick
Member
From: Near Paris
Registered: 2009-05-27
Posts: 40

Re: [solved] Best way to update /etc/gshadow?

To solve this, I created a gpasswd wrapper :

#!/bin/bash

/usr/bin/gpasswd "$@"
exec /usr/sbin/grpunconv

Offline

#6 2012-03-05 20:07:20

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] Best way to update /etc/gshadow?

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


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB