[ale] UID variable in csh?

John Wells jb at sourceillustrated.com
Wed Oct 30 12:05:44 EST 2002


Joe,

This is on Solaris. Sorry about neglecting the OT convention ;-).

John

Joe Steele said:
>
>
> On Wed, 30 Oct 2002, John Wells wrote:
>
>> It would be that simple, but it's an NIS managed box and I don't want
>> to simply cat the yp/passwd file as it's location is likely to change.
>>
>> The perl seems to work fine, though, as does your C solution.  I was
>> just hoping there was a csh var available, as I'm not guaranteed perl
>> will be installed on destination boxes and packaging a c executable
>> involved a tad bit more overhead.
>>
>
> Isn't it the case that csh is just a symbolic link to tcsh on most linux
> systems?
>
> In tcsh, you have the $uid variable available.
>
> --Joe




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list