Hola!
My system, debian wheezy amd-64, refuses to recognize my password. I am sure I am typing it correctly.*
I was able to , at login time, where grub pauses to ask which kernel tyo uise,*
to choose the maintenance option, dropping me to a shell. There I was able to type
sudo passwd kjetil
which asked to give a new password, which I repeated
then it said password succesfully changed. But no effect,*I can still not login!
What is happeninmg?
Kjetil
--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."
George Orwell (1984)
03-16-2012, 10:23 PM
Greg Madden
I cannot log in to my debian wheezy system!
On Friday 16 March 2012 12:47:06 pm Kjetil brinchmann Halvorsen wrote:
> Hola!
>
> My system, debian wheezy amd-64, refuses to recognize my password. I am
> sure I am typing it correctly.
>
> I was able to , at login time, where grub pauses to ask which kernel tyo
> uise,
> to choose the maintenance option, dropping me to a shell. There I was able
> to type
>
> sudo passwd kjetil
>
> which asked to give a new password, which I repeated
>
> then it said password succesfully changed. But no effect,
> I can still not login!
>
> What is happeninmg?
>
> Kjetil
If you arre logged in to the singler user mode, maintenace shell?, you are root
and do not need to use 'sudo' That said, not sure about your failed login as
user. Maybe try using the 'passwd' command without 'sudo',
--
Peace,
Greg
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201203161523.44011.gomadtroll@gci.net">http://lists.debian.org/201203161523.44011.gomadtroll@gci.net
03-18-2012, 03:36 AM
Kjetil brinchmann Halvorsen
I cannot log in to my debian wheezy system!
Hola!
I- m starting to get desperate! I found lots of instructions on the
web about how to solve this, but none of them works. Example, I
founmd this
In grub press e ton edit options
add to init options
init=/bin/sh
RET
press b to boot
Then mount -o remount,rw /
passwd kjetil
(repeating new password twice)
exec init
and then giving new password.
Does not work, I cannot get into my system
Whats happening=?
Kjetil
On 2012-03-16, Greg Madden <gomadtroll@gci.net> wrote:
>
>
> On Friday 16 March 2012 12:47:06 pm Kjetil brinchmann Halvorsen wrote:
>> Hola!
>>
>> My system, debian wheezy amd-64, refuses to recognize my password. I am
>> sure I am typing it correctly.
>>
>> I was able to , at login time, where grub pauses to ask which kernel tyo
>> uise,
>> to choose the maintenance option, dropping me to a shell. There I was able
>> to type
>>
>> sudo passwd kjetil
>>
>> which asked to give a new password, which I repeated
>>
>> then it said password succesfully changed. But no effect,
>> I can still not login!
>>
>> What is happeninmg?
>>
>> Kjetil
>
> If you arre logged in to the singler user mode, maintenace shell?, you are
> root
> and do not need to use 'sudo' That said, not sure about your failed login as
> user. Maybe try using the 'passwd' command without 'sudo',
> --
> Peace,
>
> Greg
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive: http://lists.debian.org/201203161523.44011.gomadtroll@gci.net
>
>
--
"If you want a picture of the future - imagine a boot stamping on the human
face - forever."
George Orwell (1984)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAH=m5MizvSN_sAr9tcLRicc1YQ5FpPfLYCaq94Fq8HwFpbvav w@mail.gmail.com">http://lists.debian.org/CAH=m5MizvSN_sAr9tcLRicc1YQ5FpPfLYCaq94Fq8HwFpbvav w@mail.gmail.com
03-18-2012, 07:46 AM
Chris Bannister
I cannot log in to my debian wheezy system!
[Please!, don't top post in this mailing list.]
On Sun, Mar 18, 2012 at 12:36:38AM -0400, Kjetil brinchmann Halvorsen wrote:
> Hola!
>
> I- m starting to get desperate! I found lots of instructions on the
> web about how to solve this, but none of them works. Example, I
> founmd this
>
> In grub press e ton edit options
> add to init options
>
> init=/bin/sh
> RET
> press b to boot
> Then mount -o remount,rw /
> passwd kjetil
> (repeating new password twice)
> exec init
Instead of changing your password like that, what I'd do is after "mount
-o remount,rw" I'd "vim /etc/passwd" and take out the x for root:
i.e before:
root:x:0:0:root:/root:/bin/bash
after
root::0:0:root:/root:/bin/bash
save it, (make sure it saved ok.) then reboot.
You should now be able to login as root without needing a password
and investigate from there.
Does that work?
--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120318084604.GE11367@tal">http://lists.debian.org/20120318084604.GE11367@tal
03-18-2012, 09:12 PM
Kjetil brinchmann Halvorsen
I cannot log in to my debian wheezy system!
see below.
On Sun, Mar 18, 2012 at 05:46, Chris Bannister <cbannister@slingshot.co.nz> wrote:
[Please!, don't top post in this mailing list.]
On Sun, Mar 18, 2012 at 12:36:38AM -0400, Kjetil brinchmann Halvorsen wrote:
> Hola!
>
> I- m starting to get desperate! I found lots of instructions on the
> web about how to solve this, but none of them works. *Example, I
> founmd this
>
> In grub press e ton edit options
> add to init options
>
> init=/bin/sh
> RET
> press b to boot
> Then mount -o remount,rw /
> passwd kjetil
> (repeating new password twice)
> exec init
Instead of changing your password like that, what I'd do is after "mount
-o remount,rw" I'd "vim /etc/passwd" and take out the x for root:
i.e before:
root:x:0:0:root:/root:/bin/bash
after
root::0:0:root:/root:/bin/bash
save it, (make sure it saved ok.) then reboot.
You should now be able to login as root without needing a password
and investigate from there.
Does that work?
Thanks. So far not .
Several problems:
¿Whats the point with the line init=/bin/sh**** ?
It does not seem to work, I am dropped into bash
¿shoud I remove the x in /etcv/passwd or in /etc/shadow* or in both?
so far I tried in /etc/passwd
and it does not work.
Kjetil
--
"Religion is excellent stuff for keeping common people quiet."
* -- Napoleon Bonaparte
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org