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

batch add users to group



Hello,

I would like to add some users to a group in batch format.
Something along these lines:

adduser `awk F: '&3 >= 1000 {print $1}' /etc/passwd` groupname

but this obviously doesn't work.
I used to know of a command but I forgot it.

Any help would be great thanks!!

Mike


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: