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

Re: home directories...



Bradley Bell <bradleyb@u.washington.edu> writes:

> Yes, the idea is that it should work no matter where the home
> directories are.  I guess I'll probably go the awk route, but I
> thought there might be a more standard way of doing it.

If you're willing to use perl, check "man perlfunc" and search for
getpwent.  You might want to avoid mucking with /etc/passwd directly
unless you have to.

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930


Reply to: