4
votes
Accepted
username with "/" gets truncated
You can't log in as a user containing a slash on Ubuntu 22.04; systemd won't let you. This is rather well-documented:
Slashes are not permissible in POSIX user names, so expecting it to work through ...
1
vote
Accepted
Restrict which networks a user is allowed to connect to
You can do this, first for the quest user name figure out their UID by using id command, assuming their username is "guest" you'd run:
id -u guest
Which for instance outputs 1100
Next ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
users × 1574linux × 315
permissions × 270
group × 192
ubuntu × 114
sudo × 103
security × 101
ssh × 98
root × 91
login × 85
password × 83
debian × 75
useradd × 70
centos × 67
bash × 64
files × 59
su × 54
shell × 49
non-root-user × 49
shell-script × 48
home × 44
rhel × 39
accounts × 38
command-line × 33
process × 33