login [ user | -p ]
login
user
-p
Replace user 's login shell with /bin/login . -p is used to preserve environment variables.