> #login
> # user : user1
> # passwd : ****

Are you giving the 'login' command from a shell? Try 'exec login'.

Quote from 'login' man page:

'login'  is  used to establish a new session with the system.  It is
normally invoked automatically by responding to the login: prompt on the
user“s terminal. login may be  special to the shell and may not be invoked
as a sub-process.  Typically, login is treated by the shell as 'exec login'
which causes the user to exit from the  current  shell.   Attempting  to
execute login from any shell but the login shell will produce an error
message.

Thanks,
Ashfaq


[Non-text portions of this message have been removed]

Reply via email to