Does "Webmin > System > Users and Groups" do anything besides edit the password file?

I just ran through making .com versions users of an otherwise .org domain:

domain-alias-and-dovecot

And it occurred to me, as this was a cumbersome way to get this done for 27 users, that I might have instead done:

grep the-domain.com /etc/passwd | sed ‘s/.com/.org/1’

And paste that into vipw

then:

grep the-domain.com /etc/shadow | sed ‘s/.com/.org/1’

And paste that into vipw -s

Does the web-interface way do anything that those would miss?

SYSTEM INFORMATION
OS type and version Ubuntu 24.04
Virtualmin version 7.50

Can the Export then import help, export all the users that need duplicating.
The format the export uses looks like a quick way to edit then import.

image

Where’s Export/Import?

Run Batch file and Export Batch file the correct term sorry.

1 Like

Oh yeah, thanks. That would make shorter work of it.

1 Like