[1]+ Stopped sudo bash
bash: mypassword: command not found
[1]+ Stopped sudo bash
me@mycomp:~$
...with a result that I can't start it. But I guess you got the point. Quick workaround is ...
me@mycomp:~$ sudo bash
me@mycomp:~$ [sudo] password for me:
root@mycomp:~$ exit
me@mycomp:~$ sudo bash &
[2] 12299
me@mycomp:~$
Ian,
In your example you do not log in
it is like this now...
me@mycomp:~$ sudo bash &
[1] 12101
me@mycomp:~$ [sudo] password for me:
mypassword!!!!
[1]+ Stopped sudo bash
bash: mypassword: command not found
[1]+ Stopped sudo bash
me@mycomp:~$
...with a result that I can't start it. But I guess you got the point. Quick workaround is ...
me@mycomp:~$ sudo bash
me@mycomp:~$ [sudo] password for me:
root@mycomp:~$ exit
me@mycomp:~$ sudo bash &
[2] 12299
me@mycomp:~$
cheers,
Bastiaan