DragonFly BSD
DragonFly bugs List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: FYI: pw group del -n <groupname starting with number> fails


From: "Martin P. Hellwig" <mhellwig@xxxxxxxxx>
Date: Sun, 26 Sep 2004 13:50:55 +0200


:Hi list,
:
:While I was scripting together a batch user add script , I noticed that :when a groupname starts with 1 or more numerics , deleting with pw group :del -n fails.
:However deleting the group using the ID works (pw group del -g <groupID>).
:
:A workaround for this odd behaviour would be:
:pw group del -g `grep GROUPNAME </etc/group | cut -f 3 -d:`
:
:I thought you might want to know.


Ok, I believe I have fixed this problem.

-Matt



Yes the problem has been fixed, thanks!

--
mph



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