ubuntu 12.10 cannot type anything after entering recovery mode, root
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
|
#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
|
#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
|
#3 |
k wil try n wil let u know. thank u very much
Revision history for this message
|
#4 |
tried!!
authetication manupulation error
Revision history for this message
|
#5 |
authentication manupulation error
Revision history for this message
|
#6 |
Run:
mount -o remount,rw /
Try again, you get that because the file system is read only
Revision history for this message
|
#7 |
where should i run dat. in same - root shell?
Revision history for this message
|
#8 |
should i type exactly d same command?
Revision history for this message
|
#9 |
tried mount -o remount,rw/
same prob persist!!!!
Revision history for this message
|
#10 |
uffff its not working. even dat remount command is not working........ uffffff... what to do now?????
Revision history for this message
|
#11 |
prob not solved yet....
dont wanna run whole reboot process of installing os again!!!
sombody pl help...
Revision history for this message
|
#12 |
Instructions for resetting a password
There are a few methods (mostly similar) take a look at these any should work
http://
https:/
http://
http://
Revision history for this message
|
#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
|
#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
|
#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
|
#16 |
sory for let response.
it says no file or directory
Revision history for this message
|
#17 |
note the space between cat and /etc/passwd
Revision history for this message
|
#18 |
fed up.
gonna reinstall....
should i?
Revision history for this message
|
#19 |
yes, there was problem in my input. no space.
now followin is outpu
root:x:
daemon:
bin:x:2:
sys:x:3:
sync:x:
games:x:
man:x:6:
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:
news:x:
uucp:x:
proxy:x:
www-data:
backup:
list:x:
irc:x:39:
gnats:x:41:41:Gnats Bug-Reporting System (admin)
nobody:
libuuid:
syslog:
colord:
messagebus:
lightdm:
avahi-autoipd:
avahi:x:
usbmux:
kernoops:
pulse:x:
rtkit:x:
speech-
hplip:x:112:7:HPLIP system user,,,
saned:x:
janarth:
whoopsie:
guest-zH7jlr:
uid=1000(janarth) gid=1000(janarth) groups=
Revision history for this message
|
#20 |
wht does abouve output mean???
wht should i do. sry for troublin u all for long.
Revision history for this message
|
#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:
The second bit tells us your privileges
uid=1000(janarth) gid=1000(janarth) groups=
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
|
#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
|
#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
|
#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
|
#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
|
#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
|
#27 |
Can you give us the output of the commands I requested please?
lsb_release -a; uname - a; id
Revision history for this message
|
#28 |
janarth@
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=
this is what the output was, after running above given command in ctrl+alt+t
Revision history for this message
|
#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://
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.