You are not logged in.

#1 2005-07-14 20:27:01

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

problems with su on X

Umm,  i have a odd problem. I have just converted my / partition into reiser4, and when i try to get root powers in X, from aterm or eterm, su doesn't accept my password, but when i did it in a tty, i can do it without problems :S :S :S

what the hell happen? :S


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#2 2005-07-14 20:33:02

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: problems with su on X

Sounds like maybe you didn't preserve permissions when you copied the files over?

Dusty

Offline

#3 2005-07-14 20:42:30

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: problems with su on X

i did it with cp -a for keepig the permissions
:S


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#4 2005-07-14 20:55:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: problems with su on X

I think that should've worked.

Let me get the problem straight... you can log in as root from the console? You cannot su root from a terminal? You can log in as a user and then su root from a console?

Dusty

Offline

#5 2005-07-14 21:14:16

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: problems with su on X

Dusty wrote:

you can log in as root from the console?

True

Dusty wrote:

You cannot su root from a terminal?

True. i cant do it sad

Dusty wrote:

You can log in as a user and then su root from a console?

False. I cant do it

I have added my user to whell group and i relogin but i have the same problem.
In the logs i get:

Jul 14 17:08:06 localhost su(pam_unix)[3250]: authentication failure; logname=celeron uid=1000 euid=1000 tty= ruser=celeron rhost=  user=root

irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#6 2005-07-14 21:18:17

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: problems with su on X

What are your permissions on /bin/su?:

dusty:~ $ ls -l /bin/su
-r-sr-xr-x  1 root root 19912 2004-12-15 23:55 /bin/su

Offline

#7 2005-07-14 21:50:13

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: problems with su on X

i have the same stuff sad

-r-sr-xr-x   1 root    root      10756 2005-06-26 10:49 su

Also, i have reinstalled pam, but nothing sad


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#8 2005-07-14 21:56:18

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: problems with su on X

so it doesn't sound like a permissions problem.

Check... maybe /var/log/auth and related files in /var/log.

Try logging in as root. su to a normal user account. This allowed? It doesn't require a password, so should be.

Try resetting your root password when you log in as root.

Dusty

Offline

#9 2005-07-15 00:39:26

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: problems with su on X

i have already tried reset root's password and nothing sad. And the only thing that i found in the logs is :

Jul 14 20:42:16 localhost su(pam_unix)[2391]: authentication failure; logname= uid=1000 euid=1000 tty= ruser=celeron rhost=  user=root

i am puzzled  :?:  :?:


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#10 2005-07-15 02:25:52

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: problems with su on X

pacman -S coreutils pam

reinstall them.

just out of interest, another package, heimdal, provides another su in /usr/bin/su, so if the above doesnt work

pacman -S heimdal

Offline

#11 2005-07-15 02:30:48

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: problems with su on X

i assume you properly created the nodes in /dev when you moved over to reiser4. lets see, you must manually create null, initctl and zero.

Offline

#12 2005-07-15 03:09:27

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: problems with su on X

iphitus wrote:

pacman -S coreutils pam

reinstall them.

just out of interest, another package, heimdal, provides another su in /usr/bin/su, so if the above doesnt work

pacman -S heimdal

thx, i reinstalled coreutils and voila wink
PD: thx4everybody


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#13 2005-07-15 03:14:04

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: problems with su on X

iBertus wrote:

i assume you properly created the nodes in /dev when you moved over to reiser4. lets see, you must manually create null, initctl and zero.

jeje i had this problem because i had forgotten make the nodes and i couldnt mount the partitions, but this wasn't the reason for my last problem tongue


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

Board footer

Powered by FluxBB