Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-04-2010, 03:23 AM   #1
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
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?
Old 10-04-2010, 12:37 PM   #2
Registered: Jul 2007
Location: Belgium
Distribution: slackware64 14.2, slackware 13.1
Posts: 371

Rep: Reputation: 54
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.
Old 10-04-2010, 05:55 PM   #3
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Original Poster
Rep: Reputation: 30
I had already edited my slackware /etc/passwd (using nano from my ubuntu partition)
it looks like this:
rpc:x:32:32:RPC portmap user:/:/bin/false
apache:x:80:80:User for Apache:/srv/httpd:/bin/false
messagebus:x:81:81:User for D-BUS:/var/run/dbus:/bin/false
haldaemon:x:82:82:User for HAL:/var/run/hald:/bin/false
And this is my slackware's /bin directory (mounted in my ubuntu partition under /Slack):
Ghost-Rider@CrackBox-X64:/Slack/bin$ ls
[              egrep       Mail           readlink   touch
arch           env         md5sum         red        tr
awk            expand      mkdir          rm         true
base64         expr        mkfifo         rmdir      truncate
basename       factor      mknod          rpm        tsort
bunzip2        false       mktemp-gnu     runcon     tty
bzcat          fgrep       more           rzip       umount
bzip2          fmt         mount          sed        uname
bzip2recover   fold        mt-GNU         seq        uncompress
cat            free        mv             setterm    unexpand
chcon          gawk        nail           sh         uniq
chgrp          gawk-3.1.6  netstat        sha1sum    unlink
chmod          getopt      nice           sha224sum  users
chown          ginstall    nisdomainname  sha256sum  usleep
chroot         grep        nl             sha384sum  vdir
cksum          groups      nohup          sha512sum  wc
comm           gunzip      ntfs-3g        shred      which
compress       gzexe       ntfs-3g.probe  shuf       who
cp             gzip        ntfscat        sleep      whoami
cpio           head        ntfscluster    sort       xz
csh            hostid      ntfscmp        split      yes
csplit         hostname    ntfsfix        stat       ypdomainname
cut            id          ntfsinfo       stty       zcat
date           install     ntfsls         su         zcmp
dd             ipmask      od             sulogin    zdiff
df             join        paste          sum        zegrep
dialog         kill        pathchk        sync       zfgrep
dir            killall     ping           tac        zforce
dircolors      link        ping6          tail       zgrep
dirname        ln          pinky          tar        zless
dmesg          loadkeys    pr             tar-1.13   zmore
dnsdomainname  login       printenv       tar-1.22   znew
domainname     logname     printf         tcsh
du             ls          ps             tee
echo           lsmod       ptx            test
ed             mail        pwd            timeout
It should work, but it's still not working, duno why.
Old 10-04-2010, 10:17 PM   #4
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 218

Rep: Reputation: 168Reputation: 168
All boot scripts need bash so you need bash.
Old 10-04-2010, 10:34 PM   #5
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838Reputation: 838
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i identify tty device vijaya_svk Linux - Newbie 1 01-04-2009 07:37 PM
Unable to identify and configure Network Card mnassar Linux - Networking 6 10-22-2007 02:41 AM
error "unable to load tty" after adding HDD to Ubuntu mrlankey0486 Linux - Hardware 3 04-27-2006 09:31 PM
Webmin error - unable to identify operating system LittleAngel Linux - Software 2 05-15-2004 05:21 PM
Unable to install RH9. Can't identify cause! then Linux - General 5 02-09-2004 10:31 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration