[K12OSN] deleting a 1000 users
Michael Wescott
wescott_mike at emc.com
Wed Jun 9 19:05:46 UTC 2004
chobbs at silvervalley.k12.ca.us wrote:
> cat delstu6.txt | xargs -n 1 userdel -r
jam at mcquil.com wrote:
> cat delstu6.txt | while read x
> do
> userdel -r $x
> done
Glenn Arnold wrote:
> Jim's method keeps saying that the user did not
> exist just like my webmin batch process. Chris method worked.
That's odd. I'd've expected each to act the same, unless
.... Take a close look at delstu6.txt. I'll bet that there
are carriage returns (^M) or other whitespace at the end of
some lines.
--
Mike Wescott
Wescott_Mike at EMC.COM
More information about the K12OSN
mailing list