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
- [SLUG] How to get the user name of the invoker of a sh scri... Michael Lake
- Re: [SLUG] How to get the user name of the invoker of ... Tony Green
- Re: [SLUG] How to get the user name of the invoker of ... Matthew Dalton
- Re: [SLUG] How to get the user name of the invoker of ... John Clarke
- Re: [SLUG] How to get the user name of the invoker of ... Michael Lake
- Re: [SLUG] How to get the user name of the invoker of ... Peter Hardy
- Re: [SLUG] How to get the user name of the invoker of ... Steve Kowalik