[imp] IMAP Quota Redhat 7.3 extra code

Tilo Lutz TiloLutz@gmx.de
Tue, 4 Jun 2002 18:07:23 +0200


Hi

> Maybe it's better to use "su" instead of sudo
> because you don't need to run "quota" as root.

How exactly are you going to reliably and cross-platform pass the password
to the su command?

I can always grab the password, but I'm not sure how to feed that to any
program (login, su, sudo, etc) in a reliable manner (due to different OS
implementations of the programs).

I hoped the su command is always the same.
I have to enter
"su $user" and in the next line the password.

Tilo