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

RE: [K12OSN] deleting a 1000 users



Hi Bert,

Yes I know you can remove it with Webmin, but for some reason when I did
with webmin I would get the message the user does not exist.  I did have
some errors in my passwd file though which might been causing the
problem.

-Glenn

-----Original Message-----
From: Bert Rolston [mailto:bert rolston clear net nz] 
Sent: Wednesday, June 09, 2004 7:42 PM
To: Support list for opensource software in schools.
Subject: Re: [K12OSN] deleting a 1000 users

Hi Glenn,

If you used webmin to batch create then you can use webmin to remove.

Simply modify your list as per the webmin help and you will be able to
use it to remove users. 

Cheers,
Bert

On Thu, 2004-06-10 at 03:47, Glenn Arnold wrote:
> I set up a 1000 users with webmin with the batch process.  Now I am
> trying to delete the accounts and for some reason webmin would only
> delete 100 of the accounts the reset it would say that user does not
> exist.  I have seen posted on this group on how to automate user
> deletion using userdel, but when I try it I get the following usage
> error "usage: userdel [-r] name".  Below is what I get when I try
this.
> The users I want to delete is in delstu6.txt file.   What am I doing
> wrong with this script?
> 
> Thanks
> -Glenn
> 
> 
>  [root server garnold]# for x in 'cat delstu6.txt'
> > do userdel -r $x
> > done
> usage: userdel [-r] name
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-- 
==================================
Bert Rolston Computer Support Ltd.
Mobile - 027 264 0851
================================== 
Specialising in system support
alternative solutions and
Linux operating system
==================================



_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>



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