View previous topic :: View next topic |
Author |
Message |
Leafy-dono n00b
Joined: 04 Nov 2002 Posts: 22 Location: Rockanje, The Netherlands
|
Posted: Tue Sep 16, 2003 11:09 am Post subject: Su problems |
|
|
Ok, before I get flamed for posting a thing that has problably come up millions of times before, I want to mention that I indeed have used the search but su is a 2 letter word, and I think the search requires a minimum of 3, hence I haven't been able to find a solution yet.
This happened when I tried to run k3bsetup using kdesu. I got an error saying the password was invalid, so I tried again, made sure the password was correct, but nothing.
Then I tried a normal command line su, guess what, same error
Code: | max@Mitsuki max $ su
Password:
su: Authentication failure
Sorry. |
But when I look at /etc/group I AM in fact registered to the wheel:
Code: | root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin,adm
adm::4:root,adm,daemon
tty::5:
disk::6:root,adm
lp::7:lp
mem::8:
kmem::9:
wheel::10:root,max
floppy::11:root
mail::12:mail,postfix
news::13:news
uucp::14:uucp
man::15:man
cron::16:cron
console::17:
audio::18:max
cdrom::19:
dialout::20:root
ftp::21:
sshd::22:
at::25:at
tape::26:root
video::27:root
squid::31:squid
gdm::32:gdm
xfs::33:xfs
games::35:user
named::40:named
mysql:x:60:
postgres::70:
cdrw::80:
apache::81:
nut::84:
usb::85:
vpopmail:x:89:
users::100:games,max
nofiles:x:200:
qmail:x:201:
postfix:x:207:
postdrop:x:208:
smmsp:x:209:smmsp
slocate::245:
portage::250:portage,wheel,max
utmp:x:406:
nogroup::65533:
nobody::65534: |
And a "groups max" gives the following:
Code: | max@Mitsuki max $ groups max
max : users wheel audio portage |
An even stranger thing is that something like or does work.
Code: | max@Mitsuki max $ su
Password:
su: Authentication failure
Sorry.
max@Mitsuki max $ sudo su
root@Mitsuki max # |
This however does not solve my problem.
Can anyone help me out with this? |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Tue Sep 16, 2003 11:47 am Post subject: |
|
|
What output do you get when you issue and type in the ROOT's password not the USER's password...
HTH
regards _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
Leafy-dono n00b
Joined: 04 Nov 2002 Posts: 22 Location: Rockanje, The Netherlands
|
Posted: Tue Sep 16, 2003 2:09 pm Post subject: |
|
|
silverter wrote: | What output do you get when you issue and type in the ROOT's password not the USER's password...
HTH
regards |
It's basicly the same output Code: | max@Mitsuki max $ su - root
Password:
su: Authentication failure
Sorry.
max@Mitsuki max $ |
And ofcourse I'm typing in the root password |
|
Back to top |
|
|
cederberg Guru
Joined: 23 Jan 2003 Posts: 349 Location: Stockholm / Sweden
|
Posted: Tue Sep 16, 2003 2:15 pm Post subject: |
|
|
Leafy-dono wrote: | And ofcourse I'm typing in the root password :) |
Ok, dumb question: are you sure you can login with the root password? I mean, have you tested it on the console or something? |
|
Back to top |
|
|
ank Apprentice
Joined: 06 Aug 2003 Posts: 185 Location: Maribor, Slovenia
|
Posted: Tue Sep 16, 2003 2:36 pm Post subject: |
|
|
Are you in wheel group?
Type group to see. |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Tue Sep 16, 2003 3:26 pm Post subject: |
|
|
ank wrote: | Are you in wheel group?
Type group to see. |
He is in the wheel group, read his first post !!!! _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
Leafy-dono n00b
Joined: 04 Nov 2002 Posts: 22 Location: Rockanje, The Netherlands
|
Posted: Tue Sep 16, 2003 5:01 pm Post subject: |
|
|
cederberg wrote: | Leafy-dono wrote: | And ofcourse I'm typing in the root password |
Ok, dumb question: are you sure you can login with the root password? I mean, have you tested it on the console or something? |
I can login as root aswell
Wether I SSH from any computer to this one, or wether I just login as root, it's no problem, just when it comes to su or su - it denies me. |
|
Back to top |
|
|
cederberg Guru
Joined: 23 Jan 2003 Posts: 349 Location: Stockholm / Sweden
|
Posted: Tue Sep 16, 2003 10:15 pm Post subject: |
|
|
Leafy-dono wrote: | I can login as root aswell
Wether I SSH from any computer to this one, or wether I just login as root, it's no problem, just when it comes to su or su - it denies me. |
I see, the root user really works... So, next dumb question:
You're not having a /etc/security/suauth.allow file or something weird in /etc/pam.d/su?
You can read "man pam" for more information (if you dare)...
EDIT: Maybe this thread contains some relevant information. |
|
Back to top |
|
|
Leafy-dono n00b
Joined: 04 Nov 2002 Posts: 22 Location: Rockanje, The Netherlands
|
Posted: Thu Sep 18, 2003 6:43 pm Post subject: |
|
|
cederberg wrote: | Leafy-dono wrote: | I can login as root aswell
Wether I SSH from any computer to this one, or wether I just login as root, it's no problem, just when it comes to su or su - it denies me. |
I see, the root user really works... So, next dumb question:
You're not having a /etc/security/suauth.allow file or something weird in /etc/pam.d/su?
You can read "man pam" for more information (if you dare)...
EDIT: Maybe this thread contains some relevant information. |
Thanks!
That link looks promising. I infact compiled this system from a stage 1 tarball using gcc 3.3.1-r2 as my compiler. Someone in that thread mentioned it was broken (WHY isn't it masked ), so I'm recompiling gcc to the latest 3.2 version and after that I'm gonna run an emerge -e world, as suggested there.
I"ll post my results when it finishes (ough to take a while indeed ) |
|
Back to top |
|
|
Leafy-dono n00b
Joined: 04 Nov 2002 Posts: 22 Location: Rockanje, The Netherlands
|
Posted: Thu Sep 18, 2003 6:44 pm Post subject: |
|
|
[EDIT]Sorry, double post[/EDIT] |
|
Back to top |
|
|
|