RE: [Bug 987] New: pam account setup uses non-LSB command
"Wichmann, Mats D" <[email protected]>
| Newsgroups | gmane.linux.lsb.test-suite |
|---|---|
| Message-ID | <A06801158AE07847B27A52C1A074BC1D07FB0C2A@fmsmsx404.amr.corp.intel.com> |
In fact, we need chage for both vsx1 and vsx2: chage -m 1 -M 2 -d $yr-$month-$date vsx1; chage -E $yr-$month-$date vsx2 we can use usermod (which conforms to LSB) to replace chage for vsx2, but it has no such features as -m, -M and -d options of chage. we can use passwd for the -m and -M, I think (the -n and -x options should be equivalent), but I also see no replacement for -d and -E, which fiddle with the last change date and the expiry date. It's possible one could do something with using passwd to reset the passwords on these two accounts, fiddling with the date while doing so. But maybe this is not worth doing - it may have to go into the category of "it would be really nice if the tests could be LSB conforming, but...". I updated the bug with similar comments - looking for more feedback.