script to get user id reports

view story

http://www.unix.com – Dear Friends, Can Any one provide me script to generate list of username with the gecos field. (cat /etc/passwd | cut -d: -f1,5) Please note i have to run this command from nim server and i have password less ssh access.(ssh hostname command) and i want a file to be generated on nim server. Thanks in advance !!:b: Regards, Moderator's Comments: Duplicate Thread Closed - Continue Here: http://www.unix.com/shell-programmin...orn-shell.html (HowTos)