search for: subgid

Displaying 8 results from an estimated 8 matches for "subgid".

Did you mean: sub_id
2019 Oct 09
3
What is /etc/subuid ?
...sbin/useradd -g [username] -u 4500 -c "User Name, email at domain" >> [username] >> >> And the file /etc/subuid changed and user was added into it: >> >> [username]:100000:65536 > > I'm not sure what else it's used for, but /etc/subuid and /etc/subgid > are used by podman for rootless containers (i.e. you can run a > container without any root permissions). subuid/subgid is used to map > a range of UID/GIDs to the process namespace inside the kernel. > > Some details here: > > https://access.redhat.com/documentation/en-us...
2019 Oct 09
4
What is /etc/subuid ?
Dear Experts, Could someone enlighten me about the following file: /etc/subuid ? This file appears to be owned by "setup" package. This is CentOS 7 system, and until now these files if existed were never changed. Today I have added user quite routine way, by doing /usr/sbin/groupadd -g 4500 [username] /usr/sbin/useradd -g [username] -u 4500 -c "User Name, email at domain"
2019 Oct 09
0
What is /etc/subuid ?
...g 4500 [username] > /usr/sbin/useradd -g [username] -u 4500 -c "User Name, email at domain" > [username] > > And the file /etc/subuid changed and user was added into it: > > [username]:100000:65536 I'm not sure what else it's used for, but /etc/subuid and /etc/subgid are used by podman for rootless containers (i.e. you can run a container without any root permissions). subuid/subgid is used to map a range of UID/GIDs to the process namespace inside the kernel. Some details here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_ho...
2019 Oct 09
0
What is /etc/subuid ?
...-c "User Name, email at domain" > >> [username] > >> > >> And the file /etc/subuid changed and user was added into it: > >> > >> [username]:100000:65536 > > > > I'm not sure what else it's used for, but /etc/subuid and /etc/subgid > > are used by podman for rootless containers (i.e. you can run a > > container without any root permissions). subuid/subgid is used to map > > a range of UID/GIDs to the process namespace inside the kernel. > > > > Some details here: > > > > https://acce...
2016 Dec 14
0
[PATCH v2 4/4] sysprep: Add new operation for removing /etc/passwd- and other backup files (RHBZ#1401320).
...301 USA. + *) + +open Printf + +open Sysprep_operation +open Common_gettext.Gettext + +module G = Guestfs + +let files = List.sort compare [ + "/etc/group-"; + "/etc/gshadow-"; + "/etc/passwd-"; + "/etc/shadow-"; + "/etc/subuid-"; + "/etc/subgid-"; +] +let files_as_pod = String.concat "\n" (List.map ((^) " ") files) + +let passwd_backups_perform (g : Guestfs.guestfs) root side_effects = + let typ = g#inspect_get_type root in + if typ = "linux" then + List.iter g#rm_f files + +let op = { + defaults w...
2016 Dec 14
4
[PATCH 0/4] sysprep: Remove various backup files.
https://bugzilla.redhat.com/show_bug.cgi?id=1401320 This series contains two new operations. The second -- and least controversial -- is "passwd-backups" which removes files such as /etc/passwd-, /etc/shadow- and so on. The first one ("backup-files") searches the whole guest filesystem for any regular file which looks like an editor backup file, such as "*~" and
2016 Dec 14
5
[PATCH v3 0/5] sysprep: Remove various backup files.
v3: - Split out test for "unix-like" guest OSes into separate commit. - Add guestfish --format=qcow2 to the test (x2). Rich.
2016 Dec 14
6
[PATCH v2 0/4] sysprep: Remove various backup files.
In v2: - The backup-files operation now operates on a conservative whitelist of filesystems, so it won't touch anything in /usr. Consequently it also runs much more quickly, about 4 seconds on the barebones virt-builder fedora-25 image. - Call Gc.compact () in visit_tests. - Added documentation to fnmatch.mli.