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

Re: Q



> does anybody knows of a unix command that
> checks if a there is such a user on the system ?
> 
> i meen that I'll ask if there is a username 'yossi' or 'moshe'
> on this host, and I'll get an answer
> 
> ( do not tell me 'finger', this requires a daemon )

	grep "^yossi" /etc/passwd

or (under NIS/YP):
	ypmatch yossi passwd

-- 
Eli Marmor