[ uunet!sprint.sprint.com!JOHN.B.MONSON writes: ]
> My log file is not working at all. Current configuration:
>
> perl 4.036
> MD = 1.93
> Sun 4.1.3
> working director MD /xtra/majordomo/Log
> drwxrwxr-x 2 daemon 512 Jul 26 16:37 Log
>
> /xtra/majordomo/Log/log
> -rwsr-sr-x 1 daemon 2 Aug 1 20:53 log
'Log' usually isn't a directory. How do you have $log configured in your
majordomo.cf file?
> as root:
> TEST# ./wrapper test
> euid is: 1
> egid is: 40 1
> ruid is: 1
> rgid is: 40 1
> TEST# su majordom
> TEST% ./wrapper test
> euid is: 1
> egid is: 40 0 40
> ruid is: 1
> rgid is: 40 0 40
Don't run test as either root or the expected uid (majordom); run it as
any other user. Only then can you verify that it's changing the uid/gid
as it should. Wrapper must be installed setuid root, e.g.:
-r-sr-x--- root daemon ... wrapper
^ ^^^^
--
Dave Wolfe *Not a spokesman for Motorola* (512) 891-3246
Motorola MMTG 6501 Wm. Cannon Dr. W. OE112 Austin TX 78735-8598
References:
|
|