Debian exim/dovecot email server with Saltstack – Users

My user accounts are system accounts too. This probably isn’t the best way to do it but it has the merit of simplicity. There aren’t many users on this system so managing users this way is easy. More users would need a different management system


# Admin account
    - fullname: System Admin
    - password: $12345
    - shell: /bin/bash
    - groups:
        - sudo

# Sets up the user accounts
    - fullname: Joe Blogs
    - password: $67890
    - shell: /bin/false
    - enforce_password: False

Only myadmin has a normal shell; blogsj. Other users will get /bin/false as a shell which makes it harder to log in directly. The passwords are generated by openssl passwd -1

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.