You are not logged in.

#1 2025-04-18 14:08:50

jc@arch
Member
Registered: 2021-06-04
Posts: 6

[SOLVED]2 files for /etc/group

Hi everyone, noob here.
why i've got 2 files for /etc/group ?

jc@Arch: /etc $ ls -laH | grep group
-rw-r--r-- 1 root   root      892 18 avril 15:47 group
-rw-r--r-- 1 root   root      957 18 avril 09:57 group-

These are backup files when you use a dedicated program to modify them as 'useradd' or 'groupadd'.

Last edited by jc@arch (2025-04-18 15:37:32)

Offline

#2 2025-04-18 15:34:40

mpan
Member
Registered: 2012-08-01
Posts: 1,593
Website

Re: [SOLVED]2 files for /etc/group

Hello.

The files with dash at the end are backups. That also includes “passwd-”, “shadow-”, and “gshadow-”. They’re created by tools that modify the originals.


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2025-04-18 15:38:02

jc@arch
Member
Registered: 2021-06-04
Posts: 6

Re: [SOLVED]2 files for /etc/group

lol thanks

Offline

Board footer

Powered by FluxBB