In CentOS7 how to allow email address with adduser command?

KoreMike

In ubuntu it is possible to use the following:

sudo adduser --force-badname [email protected]

This allows adding an email address as a username. The --force-badname option doesn't work in CentOS 7.

Is there a way to achieve this in CentOS 7?

Mark McKinstry

This is not possible on CentOS 7 using the useradd or adduser command. This following patch prevents it and there's no --force-badname option: https://git.centos.org/blob/rpms!shadow-utils.git/c7/SOURCES!shadow-4.1.5.1-goodname.patch

You can achieve this by adding the user john.smithATSYMBOLexample.com and using vipw to do s/ATSYMBOL/@/ . It appears vipw doesn't check validity of usernames.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

bash: adduser: command not found on centOS

From Dev

bash: adduser: command not found on centOS

From Dev

How to use adduser command with options

From Dev

How can I allow email address input to accept multiple email addresses in Angular

From Dev

How to allow signing-up through multiple authentication-providers, while sharing the same email-address?

From Dev

Faillog command on CentOS7

From Dev

How to extract expression matching an email address in a text file using R or Command Line?

From Dev

How to find and add a public key to my gpg keyring from command line using email address?

From Java

How to validate an email address in JavaScript

From Dev

How to retrieve the sender email address

From Dev

How to link a button to an email address

From Dev

How to validate an email address in Go

From Dev

How can hide the email address

From Dev

How to index email address and then find

From Dev

How to Retrieve Subscriber email address?

From Java

Configure Microsoft.AspNet.Identity to allow email address as username

From Dev

Allow only specific email address' domain to register through JQuery (preferably)

From Dev

setting password for a user with adduser command

From Dev

Bash Centos7 "which" command

From Dev

nc command and iptables on CentOS7

From Dev

Possible to install "members" command on centos7?

From Dev

how to allow email as well as username to login into account?

From Dev

unable to view postfix email from centos 7 command line, why not?

From Dev

How to allow all traffic to 1 IP address

From Dev

how to get ip address of centos 7 vm?

From Dev

Generate SSH key on windows via command to specify email address

From Dev

Does postfix using mail command report if an email was unable to be sent to an address?

From Dev

Errors with Setting Username and Email Address in Git Using Windows Command Prompt

From Dev

Windows 7, how to configure/allow remote cmd access to specific PC/IP address from the local network?

Related Related

  1. 1

    bash: adduser: command not found on centOS

  2. 2

    bash: adduser: command not found on centOS

  3. 3

    How to use adduser command with options

  4. 4

    How can I allow email address input to accept multiple email addresses in Angular

  5. 5

    How to allow signing-up through multiple authentication-providers, while sharing the same email-address?

  6. 6

    Faillog command on CentOS7

  7. 7

    How to extract expression matching an email address in a text file using R or Command Line?

  8. 8

    How to find and add a public key to my gpg keyring from command line using email address?

  9. 9

    How to validate an email address in JavaScript

  10. 10

    How to retrieve the sender email address

  11. 11

    How to link a button to an email address

  12. 12

    How to validate an email address in Go

  13. 13

    How can hide the email address

  14. 14

    How to index email address and then find

  15. 15

    How to Retrieve Subscriber email address?

  16. 16

    Configure Microsoft.AspNet.Identity to allow email address as username

  17. 17

    Allow only specific email address' domain to register through JQuery (preferably)

  18. 18

    setting password for a user with adduser command

  19. 19

    Bash Centos7 "which" command

  20. 20

    nc command and iptables on CentOS7

  21. 21

    Possible to install "members" command on centos7?

  22. 22

    how to allow email as well as username to login into account?

  23. 23

    unable to view postfix email from centos 7 command line, why not?

  24. 24

    How to allow all traffic to 1 IP address

  25. 25

    how to get ip address of centos 7 vm?

  26. 26

    Generate SSH key on windows via command to specify email address

  27. 27

    Does postfix using mail command report if an email was unable to be sent to an address?

  28. 28

    Errors with Setting Username and Email Address in Git Using Windows Command Prompt

  29. 29

    Windows 7, how to configure/allow remote cmd access to specific PC/IP address from the local network?

HotTag

Archive