Michael Lake wrote:
> 
> So what I want is a unix command to tell me the current
> user of that script ie who invoked it.
> An apropos uid showed there were functions like getuid but
> they arent suitable for calling up in a sh script.
> 

Does 'whoami' do the job?

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to