Gentoo Archives: gentoo-user

From: Daniel Beecham <joshu@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSH fixed; now su doesn't work
Date: Sun, 14 Sep 2008 04:40:34
Message-Id: 1221367233.21982.1.camel@maintainer
In Reply to: Re: [gentoo-user] SSH fixed; now su doesn't work by Michael Sullivan
1 On Sat, 2008-09-13 at 23:36 -0500, Michael Sullivan wrote:
2 > On Sat, 2008-09-13 at 23:27 -0500, Michael Sullivan wrote:
3 > > I can ssh over to the old box now, but my su command doesn't work:
4 > >
5 > >
6 > > michael@bullet ~ $ su -
7 > > su: Authentication failure
8 > >
9 > > >From /var/log/messages:
10 > >
11 > > Sep 13 23:23:07 bullet sshd[24134]: pam_unix(sshd:session): session
12 > > opened for user michael by (uid=0)
13 > > Sep 13 23:23:10 bullet su[24142]: FAILED su for root by michael
14 > > Sep 13 23:23:10 bullet su[24142]: - pts/1 michael:root
15 > >
16 > > At first, I thought I might not be in the wheel group, so I checked:
17 > >
18 > > bullet log # grep wheel /etc/group
19 > > wheel:x:10:root,michael,amy
20 > >
21 > > What have I done wrong this time? (I know somebody's going to gripe at
22 > > me about using the root account this way; don't bother. There are far
23 > > too many tasks I do every day that require root privileges to configure
24 > > them all for sudo...)
25 > >
26 > >
27 >
28 > Please disregard what I said about sudo. I was misinformed. I was told
29 > that every command I wanted to use as a regular user that required root
30 > privileges had to be listed in /etc/sudoers. Now I see that that is not
31 > true. I apologize for my ignorance...
32 >
33 >
34
35 Or you could do sudo -i or sudo -s...
36 But that's not a good solution, up to fix su!
37 (Although, I can't help you. The info you gave us is not much, but I
38 can't help getting any more...)
39 :-)
40
41 --
42 Daniel.