Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 09-20-2019, 01:48 PM   #1
LQ Newbie
Registered: Sep 2019
Posts: 1

Rep: Reputation: Disabled
no job control on this shell

I am trying to reset root password of my ubuntu 12.04.When Grub menu open I am clicking 'e' button and add rw init=/bin/bash instead of ro splash quite handoff.After doing this, root shell is opening but can not insert anything with keyboard .There is error a no job control in this shell.
Old 09-21-2019, 08:22 AM   #2
Senior Member
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 3,905

Rep: Reputation: 1094Reputation: 1094Reputation: 1094Reputation: 1094Reputation: 1094Reputation: 1094Reputation: 1094Reputation: 1094
It's complicated (to be honest, more complicated than I understand ). You find explanations on the internet why a shell might issue this message, for example

In your situation, the problem should be solved with a Bourne Shell instead of Bash. Find out where it resides, perhaps /bin/sh, and use init=/bin/sh.

EDIT: I am currently working on a Xubuntu system, where /bin/sh is a symbolic link to /bin/dash. dash also features job control, but it's size is about a tenth of bash. Perhaps it's better suited than bash. Right now, I can't see how to install the Bourne shell on Ubuntu.

Last edited by berndbausch; 09-21-2019 at 08:27 AM.
Old 09-21-2019, 08:39 AM   #3
Senior Member
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782
but why do you want to do this?

the simplest solution would be to select recovery option in grub

an alternative is to boot a liveCD/DVD/USB
mount root partition
chroot and then run passwd

Since your Ubuntu 12.04 is old, ( expired in 2017 )
you should upgrade it
and the best way is a fresh install

you will want to backup data.
2 members found this post helpful.


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
bash: no job control in this shell Altair314 Linux - Newbie 5 08-26-2018 12:49 PM
Change Control at the Bash Shell? Version Control of Bash History gdizzle Linux - Enterprise 2 04-26-2015 06:56 PM
tc traffic control tc traffic control Linux QoS control tool(noob help) inv|s|ble Linux - General 1 07-26-2007 12:12 PM
[Shell] Job control in a script probabil1ty Programming 2 12-30-2006 03:34 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:32 AM.

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