[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] UID variable in csh?





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.