Ok thanks now it works! so If I want to remove the user account and all the user files on the system I use userdel -r
Can I also use the rmuser command for this? How do I write a script to do this and run it from a csh shell, in other words what line do I need in the script to tell the system to run it in a Bourne Shell? On Nov 15, 2007 1:28 PM, Cristiano Deana <[EMAIL PROTECTED]> wrote: > On Nov 15, 2007 7:06 PM, Piet Slaghekke <[EMAIL PROTECTED]> wrote: > > > while: Expression Syntax. > > are you using ksh shell? > if not: > # ksh > # while read uid; do userdel $uid; done < userlist.txt > > -- > Cris, member of G.U.F.I > Italian FreeBSD User Group > http://www.gufi.org/