> > Unless the system is using shadowed passwords.
> Why? Doesn`t it just put an x in the password field? What`s the problem?
I don't know what the hell I was thinking. Sorry...
> > Is there no system call for this?
> You should have a look at the man pages of getlogin and getpwuid [...]
This looks like the 'correct' way to go about it.
Thanks,
Derek
- [expert] Determining current user in C Ivan J. Wagner
- RE: [expert] Determining current user in C Ian Douglas
- RE: [expert] Determining current user in C Derek Simkowiak
- RE: [expert] Determining current user in C Ian Douglas
- RE: [expert] Determining current user in C Davor Cengija
- Re: [expert] Determining current user in C Fabien Deschodt
- Re: [expert] Determining current user in ... Derek Simkowiak
- Re: [expert] Determining current user in ... Ivan J. Wagner
- RE: [expert] Determining current user in C Alex V Flinsch
- Re: [expert] Determining current user in C Christopher Cox
