FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-16-2012, 07:47 PM
Kjetil brinchmann Halvorsen
 
Default I cannot log in to my debian wheezy system!

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)
 
Old 03-16-2012, 10:23 PM
Greg Madden
 
Default 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
 
Old 03-18-2012, 03:36 AM
Kjetil brinchmann Halvorsen
 
Default 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
 
Old 03-18-2012, 07:46 AM
Chris Bannister
 
Default 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
 
Old 03-18-2012, 09:12 PM
Kjetil brinchmann Halvorsen
 
Default 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

Archive: http://lists.debian.org/20120318084604.GE11367@tal





--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)
 
Old 03-19-2012, 12:39 AM
Kjetil brinchmann Halvorsen
 
Default I cannot log in to my debian wheezy system!

see below.

On Sun, Mar 18, 2012 at 19:12, Kjetil brinchmann Halvorsen <kjetil1001@gmail.com> wrote:

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.


* ** This is _very_ strange.** When I start maintenance mode, I am allowed to change the password. While in the shell, without running X, I can the do

login kjetil
giving my passwd, and can enter the account.

I can do sudo startx
wh8ich now starts X (for me, xfce), but it is started as root! which is not nwhat I want, I need to be running xfce as "kjetil.


Then logging out, restarting, trying to logging on as usual --- agaiun, do not work!

???

Kjetil


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

Archive: http://lists.debian.org/20120318084604.GE11367@tal





--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)






--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)
 
Old 03-19-2012, 01:14 AM
Kjetil brinchmann Halvorsen
 
Default I cannot log in to my debian wheezy system!

see below:

On Sun, Mar 18, 2012 at 22:39, Kjetil brinchmann Halvorsen <kjetil1001@gmail.com> wrote:

see below.

On Sun, Mar 18, 2012 at 19:12, Kjetil brinchmann Halvorsen <kjetil1001@gmail.com> wrote:


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.


* ** This is _very_ strange.** When I start maintenance mode, I am allowed to change the password. While in the shell, without running X, I can the do


login kjetil
giving my passwd, and can enter the account.

I can do sudo startx
wh8ich now starts X (for me, xfce), but it is started as root! which is not nwhat I want, I need to be running xfce as "kjetil.



Then logging out, restarting, trying to logging on as usual --- agaiun, do not work!

???

***** Problem finally diaghnosed and solved:* Problem source

was a syntax error in file $HOME/.profile
*

Kjetil


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

Archive: http://lists.debian.org/20120318084604.GE11367@tal





--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)






--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)






--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)
 

Thread Tools




All times are GMT. The time now is 12:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org