Jim Meyering wrote: > Ludwig Nussel wrote: >> Jim Meyering wrote: >>> - tests would be most welcome, but I won't insist on those >> >> Hmm, I'm not sure that's feasible. Tests would need to run as >> root and they'd likely have to modify /etc/pam.d. > > root-only tests are not a problem. > There are already quite a few. For examples, > see the scripts under tests/ that use "require_root_". > However, as you imply, if the only way to test is > by changing the likes of /etc/pam.d, then it's easy: > automated tests are not an option ;-)
maybe in a temporary chroot (unless that's overkill)? -- Have a nice day, Berny