To what end? Do you want both john.smith and jsmith to have the same permissions?
–
Tyler KJul 9 '10 at 4:29

Look into postfix aliases then (Or whatever mail server you're using). You don't need to mess around with OS level users to have a mail alias. If you want to share what mail server you're using, we can get you an actual answer with what you need to do.
–
csgeekJul 13 '14 at 15:38

Yes yes, what I actually need is an email alias (but I have never heard of them before as I am just starting my Linux admin career). I need a user login as jsmith and have john.smith@example.com email address.
–
IvanJul 9 '10 at 4:50

What you looking for is an email alias, not an alias for the user name. Each user in Linux has one and only one name. However, setting up an email server is an entirely different matter. You can set up as many email accounts, with as many aliases to those accounts, as you like. Specifics of doing that are dependent on what your email package is.

If you REALLY want to do this. Keep in mind that it's not natively supported nor is it a supported feature.

This is my suggestion:

create a new user and set his $HOME to point to the same directory, then use
acl to make him the owner of that folder as well.

something along these lines:

given that user1 exists and userAlias is the new user I'm creating.

sudo useradd userAlias
sudo setfacl -m u:userAlias:rwx -R /home/user1

so now userAlias can create files in user1's $HOME. This isn't a perfect solution.. you might have to run a cron to fix the permissions (ie make sure that all files have user and userAlias as the user).

You still have the problem of passwords not being in sync and other silliness to watch out for... but it's theoretically feasible with some ugly hacks.

note: facl is not always standard in all distributions and all kernels. It's been supported by the Linux kernel for ages.. but has been mostly ignored for a long time.