You are not logged in.
Pages: 1
When I run
$ /usr/bin/login foo
$ /usr/bin/login linux
There's a short delay and I'm back at the same prompt. I thought this command would attempt to log me as a different user. But my UID is unchanged.
Offline
Login is primarily used by getty. If you want to log in as a different user, use `su`.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1