User creation in localhost

Hello!
Is there a way to create users (editors) in a localhost environment without sending emails to a mail server for passwords?
Otherwise i have to make this host accessible externally via

set web.host=0.0.0.0

and enter the following settings (smtp)

Is that right?
Regards