[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't mount or su

Am Die, 2002-12-17 um 04.02 schrieb Vikki Roemer:
> On Tue, Dec 17, 2002 at 12:14:10AM +0100, Matthias Hentges wrote:
> > Am Mon, 2002-12-16 um 19.46 schrieb Vikki Roemer:
> > > 
> > > As for not being allowed to su to root, that's odd, too.  What
> > > happens is, I'll type in su, it'll prompt me for a password, I'll type
> > > it in (correctly), and then it'll tell me "su: Authentication failure
> > > Sorry."  I can't figure out what the problem is there, either.
> > > 
> > > Up until a few weeks ago, I didn't have any trouble mounting the
> > > floppy or su'ing.  Does anybody have any idea what the problem might
> > > be?
> > > 
> > 
> > You may want to try a strace of su:
> > 
> > $ strace su
> > 
> > Most of the times you will find your answer with strace.
> > 
> Man, that's a cool program!  I ought to run that more often. :)
> Ok, anyway, I ran the program with both user accounts (to see if I
> could figure anything out from the differences (after running 'diff'
> on the output file, of course)) and have the full output in a file in
> each account, and I also have a diff of the 2 files; so now my
> question is, how do I decipher this?  I mean, granted, I do know a
> little programming, but a) C is the newest language that I've learned,
> and I'm coming to the conclusion that just because I can write some
> programs, that does not mean that I have any particularly great coding
> skills (yet), and b) this stuff is *really* raw-- I'm having trouble
> muddling through it.

Well don't ask me! lol. I don't even speak C...
Strace is nice to check if some lib is missing or some file is lost
(or if some device can not be opened etc).

> Alright, now for the questions-- 1, is the diff any good, do you
> think?  I'm not finding any significant differences between the
> files.  2, I'm kind of reluctant to post the files; granted, I can
> chop out the passwords (that's the obvious one), but is there anything
> else I should edit out of the files before posting them?

Dunno :) Change your root pass to "yaddayadda" before strace'ing.

>   And 3, what
> do you want me to post?  All 3 files, just the one from the account
> that's giving me problems, just the diff, or some other combination?
> Sorry for being a pain about this stuff, but I'm kinda paranoid.

The strace of the "faulty" su should be enough.


Matthias Hentges
[www.hentges.net] -> PGP + HTML are welcome
ICQ: 97 26 97 4   -> No files, no URLs

My OS: Debian Woody: Geek by Nature, Linux by Choice

Reply to: