You are not logged in.
Pages: 1
I should be posting in the Newbie forum.... geez.
Here's the problem. If I log in as root, it works. If I log in as a user and type 'su' and enter the root password, it says incorrect password. All I can say is... wtf???
I just moved partitions around using cp, I had my root and home on partitions on separate drives. I repartitioned everything to have root and home all on one partition on one drive. I think this may have caused the problem, but I dont know why. I reran passwd as root, but it didn't seem to help. Any ideas?
Dusty
Offline
sticky bit maybe? Did you copy with cp so as to preserve permissions?
ls -l `which su`
-r-sr-xr-x 1 root root 19912 2004-12-15 22:55 /bin/su
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
yeah, what's the permission on su look like - also there's a setting somewhere that disallows "su" to root... try su'ing to another non-root user
maybe there's some info here: http://bbs.archlinux.org/viewtopic.php?t=7534
Offline
I am only a lowly newbie, but I have experienced this before when playing around with partitions. I do not know what the actual cause is, but I resolved it by logging into root, backing up all /home/olduser and deleting the user, then recreating the old user and replacing the files. It seemed to refresh something and it worked. Hope this helps!!
Cheers
Sitting quietly
Doing nothing
The grass grows
And the flowers bloom
All by themselves
Offline
Just a wild shot...try adding yourself to wheel group.
Offline
have a look at the wiki, or search the forum for su / sudo
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Shit shit, I did copy the files without preserving permissions. I knew there was a reason to use tar instead of cp, but I couldn't remember what it was. *sigh*
Shit shit shit.
Dusty
Offline
cp -a should have done the job too... i guess
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
really? that'll be better than using tar next time!!
I luckily hadn't deleted the original partition, so I have it rescued now, but it cut into my time resources a lot.
Dusty
Offline
Dusty, I moved my Arch install from my slave drive to my main hard drive a few months ago.. (Back in January?) anyways..
I use Midnight Commander, It takes care of all these things by default.
Offline
Pages: 1