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

Re: mailing list daemons and other questions



i appreciate it

thanx



> >does anyone know a quick and easy way to generate a list of usernames and
> >realnames for a linux box where the users are in a certian group and have
a
> >certain user id number or higher?
>
> cat /etc/passwd | grep :$GID: | awk -F : '$3 >= $lower && $3 <= upper
> {print $1 "\t" $5}'
>
>
> This is the way that I would do it for a quick and easy.  Otherwise I
> would hack up something in Perl to make it come up nice and pretty.  :)
>
> Tighe
>
> --
> Tighe Schlottog Sys Admin at large   /emry\"@"/accessus.net\
>                              ook ook
>
> -----BEGIN GEEK CODE BLOCK-----
> VERSION: 3.1
> GIT/GS d-- s:++ a-- C++++ UL++++$ US++++$ UB+++$ UO+++$ P+++>++++$ L+++>
> ++++$ E--- W- N++ w--- V PS+ PE Y++ PGP++ t+ 5++ X++ R+++ tv+
> b+++ DI++++ D++ G++ e++>+++ h--- r++ y**
> ------END GEEK CODE BLOCK------
>
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
>

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.