Busybox prompts can't access TTY. Job control turned off

Source: Internet
Author: User

Http://busybox.net/FAQ.html#job_control
Job control will be turned off since your shell can not obtain a controlling terminal. this typically happens when you run your shell on/dev/console. the kernel will not provide a controlling terminal on the/dev/console device. your shocould run your shell on a normal tty such as tty1 or ttys0 and everything will work perfectly. if you really want your shell to run on/dev/console, then you can hack your kernel (if you are into that sortof thing) by changing drivers/Char/tty_io.c to change the lines where it sets "noctty = 1;" to instead set it to "0 ". I recommend you instead run your shell on a real console...

 

When using the init of busybox, you can use it in the inittab:
Tty1: askfirst:-/bin/sh
The format is not correct. Check the format first, mainly inThe preceding ttys0 is used to specify the actual terminal.. If simpleinit. C (user/init/sampleinit. C) in uClinux is used, the format is:
Tty1:/bin/sh

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.