How to create an email user

This is a method to create an email-only user who cannot log in with ssh. I confirmed it on ubuntu 20.10.

Limit users who can log in to taro and hanako

/etc/ssh/sshd_config


(abridgement)
AllowUsers taro hanako

Create an email user

sudo adduser --uid 1511 scott

Verification

  1. Send the email to the user who created it [email protected]
  1. Confirm receipt of email
  1. Confirm that you cannot log in with ssh

ssh [email protected]




Recommended Posts

How to create an email user
How to create an NVIDIA Docker environment
How to create an OCF compliant resource agent
How to create an article from the command line
[Blender x Python] How to create an original object
How to create an image uploader in Bottle (Python)
How to create a Conda package
How to create your own Transform
How to create a virtual bridge
How to create / delete symbolic links
How to create a Dockerfile (basic)
[Python Kivy] How to create an exe file with pyinstaller
How to create an ISO file (CD image) on Linux
How to create a config file
How to create a heatmap with an arbitrary domain in Python
How to use FastAPI ① Tutorial --User Guide
How to create a clone from Github
How to create a git clone folder
How to use FastAPI ② Advanced --User Guide
python3 How to install an external module
How to create * .spec files for pyinstaller.
How to convert Python to an exe file
How to create a repository from media
I want to create an Ubuntu chrome User Profile with Colab only
[For beginners] How to create an Alexa custom skill and link your account with Cognito's user pool
How to create sample CSV data with hypothesis
How to make an embedded Linux device driver (11)
How to create large files at high speed
How to create a Python virtual environment (venv)
How to make an embedded Linux device driver (8)
How to make an embedded Linux device driver (1)
How to make an embedded Linux device driver (4)
How to create a function object from a string
How to create explanatory variables and objective functions
How to create a JSON file in Python
How to make an embedded Linux device driver (7)
How to make an embedded Linux device driver (2)
How to crop an image with Python + OpenCV
How to get help in an interactive shell
How to make an embedded Linux device driver (3)
How to read an array with Python's ConfigParser
How to create data to put in CNN (Chainer)
Create an AWS GPU instance to train StyleNet
How to create a shortcut command for LINUX
[Blender x Python] How to make an animation
[Note] How to create a Ruby development environment
How to make an embedded Linux device driver (6)
How to create a Kivy 1-line input box
How to create a multi-platform app with kivy
Try to create an HTTP server using Node.js
How to create a Rest Api in Django
How to make an embedded Linux device driver (5)
How to hide user input in PySimple GUI
How to make an embedded Linux device driver (10)
How to make an embedded Linux device driver (9)
[Note] How to create a Mac development environment
How to create random numbers with NumPy's random module
Read the Python-Markdown source: How to create a parser
How to use xml.etree.ElementTree
How to use Python-shell
How to use tf.data