Unable to identify tty name error on new install
Hi. Just installed slackware 13.0 32bits using the usb-based netinstall. Did a minimal cli install and unchecked bash (since I wanted to use tcsh on this particular OS). But now on first boot it tells me that it shows an error message indicating "unable to identify tty name" and won't let me login (I'm using the root account since I haven't yet set up additional users). My question is, is the error happening because I unselected bash during installation? If so, is there any config file that I can modify to get it to recognize tcsh and let me log in? or if that isn't the problem, where do I set then the tty name?
|
Do you get this error after you try to login?
/etc/passwd contains the name of the shell that is executed when a user logs in. It is set to /bin/bash by default. |
I had already edited my slackware /etc/passwd (using nano from my ubuntu partition)
it looks like this: Code:
root:x:0:0::/root:/bin/tcsh Code:
Ghost-Rider@CrackBox-X64:/Slack/bin$ ls |
All boot scripts need bash so you need bash.
|
You can always install tcsh and set it as the default shell for any of your users (the `adduser` script asks you for your default shell when adding users), but the startup scripts in /etc/rc.d/ require bash. You should definitely install bash (you can boot with a USB installer, mount your root partition, and install bash using the --root option of installpkg) and make sure that /bin/sh points to /bin/bash. If you want to omit bash then you would need to modify any startup scripts to make them 100% POSIX-compliant so you could use something like ash, or rewrite them to use tcsh. The easiest solution is still to install bash and just set tcsh as your default shell for each user.
|
All times are GMT -5. The time now is 05:37 AM. |