On Sat, Nov 02, 2002 at 08:57:04AM +0000, Brian Candler wrote:
> Under FreeBSD, there is a '-m' option to su which makes the login happen as
> _your_ shell rather than the account's shell. I don't know about other OSes.
>
> Otherwise, write a C program which just calls
> setgid(n);
> setuid(m);
> execl("/path/to/authdaemond", "authdaemond", "start", 0);
Yes! It works. Thank you. You help me a lot!
--
Peter "Hanus" Hanusiak
E-mail: [EMAIL PROTECTED]
HomePage: http://www.hanusiak.sk
Phone: +421905504772
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users