Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] SSH fixed; now su doesn't work [SOLVED, sort of] Michael Sullivan <michael@××××××××××××.com>
Re: [gentoo-user] SSH fixed; now su doesn't work Daniel Beecham <joshu@××××××.org>