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

看板DFBSD_bugs作者時間21年前 (2004/09/26 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
>: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
文章代碼(AID): #11Lg-900 (DFBSD_bugs)
文章代碼(AID): #11Lg-900 (DFBSD_bugs)