Re: User lists

From: Matthew <matthew@dont-contact.us>
Date: Wed, 31 May 2000 19:05:50 +0100 (BST)

On Wed, 31 May 2000, Gustavo Palacios wrote:

> Hi everybody
> I searching for a cgi or other script that extracts the userid of the
> passwd file because I need to get a list of users in a special group to
> give to them access to squid, i put the same group to them.
> user1:x:455:150:name:/home:/dev/null
> user2:x:456:150:name:/home:/dev/null
> I was traing with grep and cat but i canīt get the excat lenght of the
> uid for each one.

cat passwd | cut -d':' -f1
Received on Wed May 31 2000 - 13:09:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:39 MST