IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New .forward groups
I'm attempting to automate some activity based on email arrival.
We have our permissions tightly tied down via groups, and the various directory access blocks are based on group membership.

Since a process that does automation might need to access lots of different directories grouped on different groups, that process has to be run by a user with membership to multiple groups.

Which works fine from an internactive run.

But when triggered via .forward, group membership ONLY is in the primary group, ignoring all secondary groups.

How can I grant secondary group membership when running via .forward?
New The problem stems from the...
.forward being run by a program the switches users to the one it applies to. It only runs with the primary rights of this user.

If you need to get ALL the groups, you need to change the "su" to and "su -". Personally, I've never done it, so I don't know how to do it.

I am betting someone has, but searching for this particular thing would strain even the best of any Google-Fu *ANYONE* has to offer.

forward is a messy messy messy search term. "forward looking" "going forward"... and so on.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New Yeah, I picked up on that
I've worked around it.

I currently have a perl script that does moth of my automation buy watching drop directories and "doing stuff" as needed.

It allows setting of the user to run as and executes the program via:
su -c "Command to run" User_To_Run_As

This allows full group(s) access.

I was hoping to avoid the setup portion (10 lines or so of a config file) but I bit the bullet.
     .forward groups - (crazy) - (2)
         The problem stems from the... - (folkert) - (1)
             Yeah, I picked up on that - (crazy)

I suggest a new strategy: let the Wookie win.
59 ms