Project

General

Profile

Actions

Bug #6130

open

useradd/groupadd allows to create users/groups with non-alphanumeric names

Added by Alexander Eremin almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
2015-08-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

# useradd "@@@@@ @@" 
UX: useradd: @@@@@ @@ name should be all alphanumeric, '-', '_', or '.'
UX: useradd: @@@@@ @@ name first character should be alphabetic.
UX: useradd: @@@@@ @@ name should have at least one lower case character.
# cat /etc/passwd | grep @@@@
@@@@@:x:101:1::/home/@@@@@:/bin/sh
@@@@@ @@:x:102:1::/home/@@@@@ @@:/bin/sh

No data to display

Actions

Also available in: Atom PDF