You are not logged in.

#1 2004-11-18 20:23:48

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

[fixed] can't su anymore

I've recently moved my ArchLinux onto a new computer.. and I'm very happy with it. There are still some things that need to be fixed until it runs perfectly, but it's mainly ok until now.

After the "transport" was complete, I did a -Syu and I've noticed that I can't run "su" anymore in a konsole - It returns "bad password". Is it something wrong with the "coreutils" package, or something wrong on my system (XOrg config maybe)?

Edit: weird, it seems the coreutils hasn't changed in a while... something must be wrong somewhere else...

Edit2:

Nov 18 23:08:53 server su(pam_unix)[2278]: authentication failure; logname= uid=1000 euid=1000 tty= ruser=mircea rhost=  user=root
Nov 18 23:14:58 server unix_chkpwd[2361]: check pass; user unknown
Nov 18 23:14:58 server su(pam_unix)[2360]: authentication failure; logname= uid=1000 euid=1000 tty= ruser=mircea rhost=  user=root
Nov 18 23:17:23 server unix_chkpwd[2400]: check pass; user unknown
Nov 18 23:17:23 server su(pam_unix)[2399]: authentication failure; logname= uid=1000 euid=1000 tty= ruser=mircea rhost=  user=root
Nov 18 23:22:17 server unix_chkpwd[2526]: check pass; user unknown
Nov 18 23:22:17 server su(pam_unix)[2525]: authentication failure; logname= uid=1000 euid=1000 tty= ruser=mircea rhost=  user=root
Nov 18 23:22:40 server unix_chkpwd[2531]: check pass; user unknown
Nov 18 23:22:40 server su(pam_unix)[2527]: authentication failure; logname= uid=1000 euid=1000 tty= ruser=mircea rhost=  user=root
Nov 18 23:28:48 server sudo(pam_unix)[2643]: authentication failure; logname= uid=0 euid=0 tty=pts/2 ruser= rhost=  user=mircea

from /var/log/auth.log

Offline

#2 2004-11-18 20:50:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [fixed] can't su anymore

has to do with shadow I think...

Offline

#3 2004-11-18 22:48:08

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: [fixed] can't su anymore

You might be right.... unfortunately, I don't have an older version to test it.

Offline

#4 2004-11-19 06:36:29

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: [fixed] can't su anymore

have you installed pam?

Offline

#5 2004-11-20 09:13:50

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: [fixed] can't su anymore

I have pam installed.

The problem is that I can't su anywhere, not even in a tty. Login as root works though. The problem is not with KDE, the problem lays somewhere in the system configs.

& there seems I've done something wrong while transporting my Arch to a new computer. I've used "cp -R" to move everything, BUT "cp -R" does not copy owners, timestamps etc.

Offline

#6 2004-11-20 09:25:01

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: [fixed] can't su anymore

Oh, I got it working, I think it was because of the "cp -R".

I reinstalled (pacman -Sf) "coreutils" and that fixed it. It was most probably a permissions problem.


I might do the "transport" again (everything but NOT /home) to fix these things. After Google-ing a bit.. I found out [1] that "cp -ax" does what I want.

-a = -Rdp (R=Recurside, d=don't follow symbolic links, p=preserve links)
-x = stay on the filesystem (skip /dev, /proc ...)

[1] http://www.linuxgazette.com/issue64/tag/12.html

(I might create a Wiki entry with this tiny bits of information... somewhere soon)

Offline

Board footer

Powered by FluxBB