aboutsummaryrefslogtreecommitdiffstats
path: root/mandriva/listhome
blob: 733dbe0849dd3d7bca82f74163bc45d38ce6b4a9 (plain)
1
2
3
4
5
6
7
#!/bin/sh
# Chmouel Boudjnah <chmouel@mandriva.com>
# Description: List the home greather than 501 should be unusefull now, but
# here for backward compatibilities

LC_ALL=C LANG=C LANGUAGE=C \
perl -n -e 'while(my @list=getpwent){print $list[-2], "\n" unless $list[2] <= 999}' < /etc/passwd