ubuntu 12.10 cannot type anything after entering recovery mode, root

Asked by sangharsh

i have ubutu 12.10. i changed log in settings of administrator and password set to none. now i can access the account for cernatin things. as i got to know from online sources i tried recovery mode option. reached till root then typed passwd <user name> i cannt type anything then. so password doesnt change. what should i do know. please help. i new user.

Question information

Language:
English (United Kingdom) Edit question
Status:
Answered
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Warren Hill (warren-hill) said :
#1

Try again. There is no feedback when you enter a password but it should be accepted: just type and press enter when done.

Note passwords are case sensitive

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

This is also the case with sudo in a regular desktop in the terminal. The input is accepted, just type as ifit was being received.

Revision history for this message
sangharsh (sangharshbyss) said :
#3

k wil try n wil let u know. thank u very much

Revision history for this message
sangharsh (sangharshbyss) said :
#4

tried!!
authetication manupulation error

Revision history for this message
sangharsh (sangharshbyss) said :
#5

authentication manupulation error

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Run:

mount -o remount,rw /

Try again, you get that because the file system is read only

Revision history for this message
sangharsh (sangharshbyss) said :
#7

where should i run dat. in same - root shell?

Revision history for this message
sangharsh (sangharshbyss) said :
#8

should i type exactly d same command?

Revision history for this message
sangharsh (sangharshbyss) said :
#9

tried mount -o remount,rw/
same prob persist!!!!

Revision history for this message
sangharsh (sangharshbyss) said :
#10

uffff its not working. even dat remount command is not working........ uffffff... what to do now?????

Revision history for this message
sangharsh (sangharshbyss) said :
#11

prob not solved yet................................
dont wanna run whole reboot process of installing os again!!!
sombody pl help...

Revision history for this message
Warren Hill (warren-hill) said :
#12
Revision history for this message
sangharsh (sangharshbyss) said :
#13

k............... theres a good news...........
remounting worked.
changed password. but stil cannt access with new passwd!!!!
wht now.
(even tried naveenbuntu....)
pl help
thanks to warren hill and actionparsnip

Revision history for this message
sangharsh (sangharshbyss) said :
#14

i entered in root shell after changing the password again!
this time (it was 1st time) system asked root password. i typed the passwd i changed. it accepted!! but not working with admin log in!!1 pl help

Revision history for this message
Warren Hill (warren-hill) said :
#15

Open a terminal (CTRL+ALT+T) Enter the following commands and let us know the output

cat /etc/passwd; id

Revision history for this message
sangharsh (sangharshbyss) said :
#16

sory for let response.
it says no file or directory

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#17

note the space between cat and /etc/passwd

Revision history for this message
sangharsh (sangharshbyss) said :
#18

fed up.

gonna reinstall....
should i?

Revision history for this message
sangharsh (sangharshbyss) said :
#19

yes, there was problem in my input. no space.
now followin is outpu

root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
syslog:x:101:103::/home/syslog:/bin/false
colord:x:102:105:colord colour management daemon,,,:/var/lib/colord:/bin/false
messagebus:x:103:107::/var/run/dbus:/bin/false
lightdm:x:104:108:Light Display Manager:/var/lib/lightdm:/bin/false
avahi-autoipd:x:105:112:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
avahi:x:106:113:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
usbmux:x:107:46:usbmux daemon,,,:/home/usbmux:/bin/false
kernoops:x:108:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
pulse:x:109:119:PulseAudio daemon,,,:/var/run/pulse:/bin/false
rtkit:x:110:122:RealtimeKit,,,:/proc:/bin/false
speech-dispatcher:x:111:29:Speech Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh
hplip:x:112:7:HPLIP system user,,,:/var/run/hplip:/bin/false
saned:x:113:123::/home/saned:/bin/false
janarth:x:1000:1000:janarth,,,:/home/janarth:/bin/bash
whoopsie:x:114:125::/nonexistent:/bin/false
guest-zH7jlr:x:115:126:Guest,,,:/tmp/guest-zH7jlr:/bin/bash
uid=1000(janarth) gid=1000(janarth) groups=1000(janarth),4(adm),20(dialout),24(cdrom),46(plugdev),109(nopasswdlogin),116(lpadmin),118(admin),124(sambashare)

Revision history for this message
sangharsh (sangharshbyss) said :
#20

wht does abouve output mean???
wht should i do. sry for troublin u all for long.

Revision history for this message
Warren Hill (warren-hill) said :
#21

There are two bits to all this the first bit lets us know what users are allowed on the system. Most are programs there is only one user

The important line here is

janarth:x:1000:1000:janarth,,,:/home/janarth:/bin/bash

The second bit tells us your privileges

uid=1000(janarth) gid=1000(janarth) groups=1000(janarth),4(adm),20(dialout),24(cdrom),46(plugdev),109(nopasswdlogin),116(lpadmin),118(admin),124(sambashare)

The problem appears to be that you are not a member of the 'sudo' group and therefore not an administrator on the system.

We can fix that however go back into a recovery console as you would if you were changing the password. You can change the password if you want but there should be no need to. However you do need to run this command

usermod -a -G sudo janarth

reboot and all should be OK

Revision history for this message
sangharsh (sangharshbyss) said :
#22

i ran dat command twice!!
once
usermod -a -G sudo janarth
(output : there were few commands)
den-
usermod -a-G sudo janarth
(output : their were lots of commands!!)
but still cannt login with new passwd or even cannt create new user account.
wht next den??

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#23

The word is 'then' not 'den'

if you use proper English words rather than some street talk you will appear smarter. It also doesn't confuse non-native Englsh speakers. The word 'then' is ONE extra letter. Not much extra effort and you are not charged by the letter here

Revision history for this message
sangharsh (sangharshbyss) said :
#24

@ actionparnsnip :
i am sorry for misusing language and the rough use. thanks for the help till now and hence forth.........
cuminning back to my problem. what should i do furthur. please do help.
thanking you for the cooperation and spending time on solving the problem.
(sorry if there is any spelling mistake. i am not too good at it.)

Revision history for this message
Warren Hill (warren-hill) said :
#25

Don't worry too much about typing errors. Andrew is correct that correct spelling does make it easier for others to understand particularly if people trying to follow but we all mistype occasionally.

You can certainly re-install if you want to depends on what you have to lose. If you do decide to reinstall make sure you give the first user at least a password. I would recommend all users have a password.

If you decide not to reinstall can you give us the output of the following commands now

lsb_release -a; uname - a; id

And we will try and assist further

Revision history for this message
sangharsh (sangharshbyss) said :
#26

to all of you who are helping me to solve this-
 if assisting me furthur is eating your time unnecessarily then i think i should stop. but still i am not ready to reinstall because solving this problem will take me more inside ubuntu. may be i also can contribute to others when needed. its upgrading my knowladge. thanks for the help. i dont know how can i help you. but i would like to know it from your side.

Revision history for this message
Warren Hill (warren-hill) said :
#27

Can you give us the output of the commands I requested please?

lsb_release -a; uname - a; id

Revision history for this message
sangharsh (sangharshbyss) said :
#28

janarth@janarth-Lenovo-G570:~$ lsb_release -a; uname - a; id
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
uname: extra operand `-'
Try `uname --help' for more information.
uid=1000(janarth) gid=1000(janarth) groups=1000(janarth),4(adm),20(dialout),24(cdrom),46(plugdev),109(nopasswdlogin),116(lpadmin),118(admin),124(sambashare)

this is what the output was, after running above given command in ctrl+alt+t

Revision history for this message
Warren Hill (warren-hill) said :
#29

You are still not being shown as part of sudo and this is why you can't change things

You may want to reinstall if its easy. If not

Open a terminal and give us the output of the command

-------------------------------
cat /etc/group
------------------------------

Does it include sudo?

If yes then you need to go to a recovery console as shown here

http://www.psychocats.net/ubuntu/resetpassword

make the file system read-write with

-----------------------------
mount -o rw,remount /
------------------------------

Add your self to sudo group with

-----------------------------
usermod -a -G sudo janarth
------------------------------

Job done. If this doesn't work we need to know what the error messages say

Can you help with this problem?

Provide an answer of your own, or ask sangharsh for more information if necessary.

To post a message you must log in.