[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Determining user ID
From: |
Martin, Jason H |
Subject: |
RE: Determining user ID |
Date: |
Wed, 21 Dec 2005 11:25:17 -0800 |
PrepModule happens as soon as it is reached. You are thinking of
actionsequence-based modules that happen after all class definitions.
It would probably be useful to have the username defined as a class as
well as a variable containing the username.
-Jason Martin
> -----Original Message-----
> From:
> help-cfengine-bounces+jason.h.martin=cingular.com@gnu.org
> [mailto:help-cfengine-bounces+jason.h.martin=cingular.com@gnu.
> org] On Behalf Of Christopher Browne
> Sent: Wednesday, December 21, 2005 7:47 AM
> To: help-cfengine@gnu.org
> Subject: Re: Determining user ID
>
>
> Jason Martin <jhmartin@toger.us> writes:
> > Write a module to do that and call it via PrepModule.
>
> Huh??? That seems just dramatic overkill. Furthermore, that
> seems to run *after* classes are defined, not before,
> therefore making it useless for the purpose of defining classes.
>
> It seems entirely surprising that there isn't a class to
> represent the user running cfagent.
>
> That's a Useful Bit Of Information for any of the cases where
> it is not being run by root.
> --
> output = ("cbbrowne" "@" "acm.org") http://cbbrowne.com/info/sgml.html
> You don't *run* programs on Ultrix.
> - Mark Moraes
> Right, you chase them.
> - Rayan Zachariassen
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-> cfengine
>
- RE: Determining user ID,
Martin, Jason H <=