diff options
author | pmikus <pmikus@cisco.com> | 2021-04-08 12:12:30 +0000 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2021-04-08 12:12:30 +0000 |
commit | 2c1809bfabcef9d74e9a7da58a694a320733a64f (patch) | |
tree | 819298cbf828a4e0aafcc344257dddb5cc5a0a68 /resources/tools/disk-image-builder/nested/image-patches/02-users | |
parent | d653bff621c44d0af1f4dcb786e9830362cdac38 (diff) |
Remove obsolete image builder
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I6cb73a6b9fbbdec2d7127f2457cbe21d12cd3e64
Diffstat (limited to 'resources/tools/disk-image-builder/nested/image-patches/02-users')
-rwxr-xr-x | resources/tools/disk-image-builder/nested/image-patches/02-users | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/resources/tools/disk-image-builder/nested/image-patches/02-users b/resources/tools/disk-image-builder/nested/image-patches/02-users deleted file mode 100755 index 9b7db0969a..0000000000 --- a/resources/tools/disk-image-builder/nested/image-patches/02-users +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -e - -patch etc/sudoers <<"_EOF" -97a98,100 -> -> csit ALL=(root) NOPASSWD:ALL -> cisco ALL=(root) NOPASSWD:ALL -_EOF - -patch etc/passwd <<"_EOF" -10a11,12 -> csit:x:1001:1001:CSIT user:/tmp:/bin/sh -> cisco:x:1002:1002:Cisco user:/tmp:/bin/sh -_EOF - -patch etc/shadow <<"_EOF" -1c1 -< root::10933:0:99999:7::: ---- -> root:5pcUkhKEiBBfw:16892:0:99999:7::: -10a11,12 -> csit:5pcUkhKEiBBfw:16892:0:99999:7::: -> cisco:5piAVSAyGsbaI:16892:0:99999:7::: -_EOF - -patch etc/group <<"_EOF" -27a28,29 -> csit:x:1001: -> cisco:x:1002: -_EOF - -patch etc/ssh/sshd_config <<"_EOF" -44c44 -< #PermitRootLogin prohibit-password ---- -> PermitRootLogin yes -_EOF |