[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Adding users in bulk - Was - Re: Deleting a User - Was -Re:[K12OSN] (no subject)
- From: "Nathan R. Yergler" <nyergler canterburyschool org>
- To: John Baillie <jsbaillie cfl rr com>
- Cc: "k12osn redhat com" <k12osn redhat com>
- Subject: Re: Adding users in bulk - Was - Re: Deleting a User - Was -Re:[K12OSN] (no subject)
- Date: Fri Mar 8 08:27:00 2002
You usually want to use the same tool when linuxconf's involved as it
maintains it's own lists/databases of the system state/configuration.
So the tools warning applies when that tool keeps it's own, independent
system configuration database, as opposed to just reading/writing the
raw files directly.
If your Perl script either a) calls adduser itself or b) modifies the
passwd file directly, you should be able to use userdel without any
problems.
Nathan R. Yergler
Canterbury School
On Thu, 2002-03-07 at 23:18, John Baillie wrote:
> On Thu, 2002-03-07 at 12:29, jkinz ultranet com wrote:
> ----------------snip------------------------------------------------
> >
> > Final Hint - when adding and deleting accounts always use the same toolset to
> > manage them. eg. if using linuxconf to add accounts, also use linuxconf to
> > delete accounts. If using adduser to add accounts, use userdel to delete them.
> >
>
> This is interesting, why do you suggest using the same tools? The reason
> I ask is a friend wrote a perl script for adding 400 of our student
> accounts from a .csv file. He has another script for adding the
> smbpasswd. If what you say is true then I will need to keep track of
> what accounts were created with which tool.
>
> Also has anyone tried createusers from http://www.lfsp.org/users.html
>
> Regards,
> John
>
>
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://listman.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]