Skip to content

Commit

Permalink
manifest: add passwd when users are created
Browse files Browse the repository at this point in the history
org.usbuild.users runs passwd in the os tree using chroot, but this
package wasn't guaranteed to be installed
  • Loading branch information
andremarianiello authored and achilleas-k committed Aug 7, 2024
1 parent cdcabab commit 6ffa68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manifest/os.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (p *OS) getPackageSetChain(Distro) []rpmmd.PackageSet {
// should already have the required packages, but some minimal image
// types, like 'tar' don't, so let's add them for the stage to run and
// to enable user management in the image.
packages = append(packages, "shadow-utils", "pam")
packages = append(packages, "shadow-utils", "pam", "passwd")

}

Expand Down

0 comments on commit 6ffa68c

Please sign in to comment.