globelblade / mobileterminal

Automatically exported from code.google.com/p/mobileterminal
1 stars 3 forks source link

Terminal should call login instead of /bin/sh #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Terminal.app should probably execute /bin/login -f root instead of /bin/sh
this will properly setup the env vars, and run the .bashrc scripts on startup.

Alternatively you could just call login without arguments and force a
login.   And a possible third alternative is log them in as user mobile and
make you su to gain root access therefore secure against evildooers :)

Original issue reported on code.google.com by nricc...@gmail.com on 3 Aug 2007 at 11:33

GoogleCodeExporter commented 9 years ago

Original comment by DylanR...@gmail.com on 4 Aug 2007 at 2:19

GoogleCodeExporter commented 9 years ago
The current SVN revision calls /bin/login

/bin/login -f root won't work for me, asks for a password.

I'm worried that this isn't user friendly enough. Some people don't know about 
the root:dottie thing.

Original comment by DylanR...@gmail.com on 4 Aug 2007 at 3:04

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by DylanR...@gmail.com on 4 Aug 2007 at 5:34