|
From: Linda K. <lin...@hp...> - 2015-04-03 19:34:28
|
On 4/2/2015 11:45 AM, Cyril Hrubis wrote: > Hi! > Since SLES12 switched to shadow utils the option --stdin for passwd is > no longer recognized. I've did a bit research and it looks like > > echo "$USER:$PASSWORD" | chpasswd > > is a suitable replacement. Can we replace the the occurences of > passwd --stdin in utils/run.bash with chpasswd or do we need to switch > between passwd --stdin and chpasswd depending on distro/version we run > on? That seems to work with RHEL6.x, which is probably the oldest distro release that the test suite currently supports, so I don't think we'd need to special case it. I assume it works with SLES11 too? -- ljk > |