0

I want to create user accounts to new users on our shared computer, but I found the user profile doesn't have the email address field. Can I add the email address field and require new users to fill it out?

More details: I used

sudo adduser <username>

to create new accounts to new users. Then it asked for the Full Name, Phone, Home-Phone and Other fields for their user profiles. No field called email. I'd like to use the email field in the future to automatically email all users for computer updates and so on.

Thanks.

muru
  • 193,181
  • 53
  • 473
  • 722
Xiaodong Qi
  • 2,562
  • 3
  • 16
  • 21
  • 1
    I believe the *"other"* field can be used for that - see [GECOS field: Format](https://en.wikipedia.org/wiki/Gecos_field#Format) – steeldriver Jul 09 '17 at 23:24
  • Usually the user account is an email address as well (`@`), and you set up an MTA to deliver emails locally, which they can then forward or read locally as they wish. https://askubuntu.com/questions/192572/how-do-i-read-local-email-in-thunderbird – muru Jul 10 '17 at 01:29
  • @muru Is that possible to send emails to their remote email address? If there is not such a way, I'll use *Other* as the email address field for now, as steeldriver said. – Xiaodong Qi Jul 12 '17 at 19:59
  • 1
    @XiaodongQi you use aliases: https://askubuntu.com/a/2268/158442 – muru Jul 13 '17 at 00:23
  • @muru With that, possibly I can write a script to declare "other" as the aliases of usernames for all users and automate the emailing jobs. Thanks. – Xiaodong Qi Jul 13 '17 at 00:43

0 Answers0