Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
[opensuse] how to add users non interactively?
is there a convenient way to add a couple of user accounts in a non interactive way?

I'd like to have a scrpipt that does something like

useradd user1 --p pass1 -G group1, group2
useradd user2 --p pass2 -G group2, group3

I'd rather have those passwords unencrypted in the batch file as I can make sure noone will see it.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >