[Pkg-shadow-devel] su new option: auth via file handle

U.Mutlu for-gmane at mutluit.com
Thu Nov 5 04:14:17 UTC 2015


Hi,
I think su should have the following new option:
  --fh   file handle for reading the pw from

This would allow a calling application (can also be a shell script)
to pass the file handle of for example a temp in-memory file to su,
su would just do an fgets to read it from that fh.

That way the auth is more secure than via keyboard, and it allows
automation without interaction.

What do you think?




More information about the Pkg-shadow-devel mailing list