search for: subuid

Displaying 9 results from an estimated 9 matches for "subuid".

Did you mean: subid
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, e...
2019 Oct 09
3
What is /etc/subuid ?
On 2019-10-09 14:58, Jonathan Billings wrote: > On Wed, Oct 09, 2019 at 02:47:19PM -0500, Valeri Galtsev wrote: >> 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] >> /u...
2019 Oct 09
0
What is /etc/subuid ?
On Wed, Oct 09, 2019 at 02:47:19PM -0500, Valeri Galtsev wrote: > 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 [userna...
2019 Oct 09
0
What is /etc/subuid ?
...Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote: > > > > On 2019-10-09 14:58, Jonathan Billings wrote: > > On Wed, Oct 09, 2019 at 02:47:19PM -0500, Valeri Galtsev wrote: > >> 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...
2019 Oct 09
0
What is /etc/subuid ?
On 2019-10-09 15:47, Valeri Galtsev wrote: > 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 [userna...
2016 Dec 14
0
[PATCH v2 4/4] sysprep: Add new operation for removing /etc/passwd- and other backup files (RHBZ#1401320).
...fth Floor, Boston, MA 02110-1301 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 file...
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.