How to Start a Shell as Login shell instead of ordinary shell

Hi

I tried with bash --login option. but the output is

siva:~$ bash --login
siva:~$

is there any way to make the shell ask for user id and password ( and login as different user instead of using sudo / su )

Thx in advance
Siva

/etc/passwd has an entry for your login shell. You should not edit /etc/passwd, rather start by reading the man page for passwd for your system. Some systems support something with syntax like

passwd -e /bin/someshell

sorry it did not worked out.

Also,

passwd -e <account>

makes the password expiry of that account.

Thx,
Siva

chsh might work on some systems