/ Etc / group ve / etc / gshadow nasıl otomatik olarak eşitlenir?


14

Koşu grpckgruplarını kontrol etmek, ben bu hataları bakın:

 'twinky' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'dipsy' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'laalaa' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'po' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'noonoo' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'dipsy' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 ...

... ve birkaçı. Bunun nasıl olduğundan emin değilim ve onu temizlemek istiyorum. Manuel olarak düzenleyebileceğimi biliyorum /etc/gshadow, ancak yazım hatalarını ve manuel emeği önlemek için işletim sisteminin yapmasına izin vermeyi tercih ederim.

Bir grubu otomatik olarak gshadow ile uzlaştırabilecek bir şey var mı? Belki böyle bir şey (bunu telafi etmek):

# grpfix foo

İnsanı grupla ilgili çeşitli komutlarda denedim ve etrafta dolaştım, ancak şu ana kadar cevabı bulamadım.

Yanıtlar:


Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.