[gentoo-user] su problems after running emerge world -U

2004-02-09 Thread Anthony Hoppe
I just ran emerge world -U a little while ago.  Now I can't change to
superuser in a console.  What do I do?! *panics*


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] su problems after running emerge world -U

2004-02-09 Thread Barry Marler
On Mon, 09 Feb 2004 06:43:34 -0800
Anthony Hoppe [EMAIL PROTECTED] wrote:

 I just ran emerge world -U a little while ago.  Now I can't change
 to superuser in a console.  What do I do?! *panics*
 

Did you update baselayout? Did you run etc-update and allow /etc/group to be 
overwritten??  Sounds like it, since you have to be a member of the 'wheel' group to 
use su. 

-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA 
USA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] su problems after running emerge world -U

2004-02-09 Thread lgatto
Maybe, after emerging, you run etc-update and replaced your old 
/etc/group with an update where you username is not in the wheel group?
Hope this helps.

Anthony Hoppe wrote:
I just ran emerge world -U a little while ago.  Now I can't change to
superuser in a console.  What do I do?! *panics*
--
Laurent
__
enjoy the penguin


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] su problems after running emerge world -U

2004-02-09 Thread Stephen Liu
Anthony Hoppe wrote:

I just ran emerge world -U a little while ago.  Now I can't change to
superuser in a console.  What do I do?! *panics*
 

Hi Anthony,

I had the same situation as yours.  Please be careful and watch my 
thread 'HELP: Problem in rebooting after running 'emerge -u world'

B.R.
Stephen Liu
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] su problems after running emerge world -U

2004-02-09 Thread Stephen Liu
Hi Barry,

I just ran emerge world -U a little while ago.  Now I can't change
to superuser in a console.  What do I do?! *panics*
Did you update baselayout? Did you run etc-update and allow /etc/group to be overwritten??  Sounds like it, since you have to be a member of the 'wheel' group to use su. 

I think his situation same as my case.  After running

emerge -u world

I started a new konsole window but could not 'su -'.  Then I rebooted 
machine and could not start the Gentoo box

(my thread 'HELP: Problem in rebooting after running 'emerge -u world')

B.R.
Stephen Liu
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] su problems after running emerge world -U

2004-02-09 Thread Stephen Liu
Hi Laurent,

lgatto wrote:

Maybe, after emerging, you run etc-update and replaced your old 
/etc/group with an update where you username is not in the wheel group?
I think Anthony's case is quite similar to mine.  I ran 'emerge -u 
world'.  Immediately after its completion I can't 'su -' on konsole 
window.  Then I rebooted the PC but Gentoo box could not start.

IIRC during 'emerge -u world' I saw on the screen upgrading 
'betagenkernel'  Would it be the cause???

B.R.
Stephen Liu
Hope this helps.

Anthony Hoppe wrote:

I just ran emerge world -U a little while ago.  Now I can't change to
superuser in a console.  What do I do?! *panics*




--
[EMAIL PROTECTED] mailing list


[gentoo-user] su problems

2003-07-02 Thread meka
	 I have 2 users in same group (gid 1001), but one can't login (using su) as 
another user. What to do?

--
[EMAIL PROTECTED] mailing list


RE: [gentoo-user] su problems

2003-07-02 Thread Essien Ita Essien

Gentoo only allows users of the 'wheel' group to 'su', so you'll want to add
the user whom you want to 'su' to the 'wheel' group like so:

#usermod -G wheel username

ofcourse you'll have to run the command as root.


Cheers

Essien

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 4:24 PM
To: [EMAIL PROTECTED]
Subject: [gentoo-user] su problems


 I have 2 users in same group (gid 1001), but one can't login (using su) as
another user. What to do?

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] su problems

2003-07-02 Thread Essien Ita Essien


ehh.. i just tought i should add this.

please check the man files for usermod before doing issuing the usermod
command, if i remember well, either -G or -g removes the user from all other
groups username belongs to that are not listed on the current command, so
for instance if userme is currently in grouptest and you issue

#usermod -G wheel userme

userme will no longer be in group grouptest.

to bypass this, you'll have to do

#usermod -G wheel,grouptest userme

(i'm not absolutely certain of the command syntax and the option that is
affected like this, so please check the man file for usermod before using
it.)

Once again

Cheers

Essien


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 4:24 PM
To: [EMAIL PROTECTED]
Subject: [gentoo-user] su problems


 I have 2 users in same group (gid 1001), but one can't login (using su) as
another user. What to do?

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Su problems

2003-02-21 Thread John P. Marr
bash-2.05b$ ls -l /etc/pam.d
total 88
-rw-r--r--1 root root  227 Feb 19 07:56 chage
-rw-r--r--1 root root  227 Feb 19 07:56 chfn
-rw-r--r--1 root root  227 Feb 19 07:56 chsh
-rw-r--r--1 root root  232 Feb 18 20:39 cups
-rw-r--r--1 root root  380 Feb 18 21:46 gdm
-rw-r--r--1 root root  406 Feb 18 21:46 gdm-autologin
-rw-r--r--1 root root  288 Feb 18 21:46 gdmconfig
-rw-r--r--1 root root  227 Feb 19 07:56 groupadd
-rw-r--r--1 root root  431 Feb 19 07:56 login
-rw-r--r--1 root root  198 Feb 19 07:56 other
-rw-r--r--1 root root  214 Feb 19 07:56 passwd
-rw-r--r--1 root root  457 Feb 19 07:54 rexec
-rw-r--r--1 root root  580 Feb 19 07:54 rlogin
-rw-r--r--1 root root  445 Feb 19 07:54 rsh
-rw-r--r--1 root root  227 Feb 19 07:56 shadow
-rw-r--r--1 root root  294 Dec  4 16:51 sshd
-rw-r--r--1 root root 1247 Feb 19 08:12 su
-rw-r--r--1 root root  491 Feb 19 07:56 system-auth
-rw-r--r--1 root root  227 Feb 19 07:56 useradd
-rw-r--r--1 root root  380 Feb 18 04:46 xdm
-rw-r--r--1 root root   79 Feb 18 23:51 xscreensaver
-rw-r--r--1 root root  284 Feb 18 04:46 xserver

Hope it helps you :)


On Thu, 20 Feb 2003 01:53:51 +0200
Martin Schlemmer [EMAIL PROTECTED] wrote:

 On Wed, 19 Feb 2003 08:16:55 -0500
 John P. Marr [EMAIL PROTECTED] wrote:
 
  I am hoping you guys can give me a hand with a problem I am having.
  
  I have a 1ghz dell inspiron (8000) with gentoo linux on it. It is
  running kernel 2.4.20 with gnome 2.2 on it. 
  
  My problem is that I am unable to su into root from my normal user. I
  have tried everything I can think of to fix this, but it is still
  broken.
  
 
  # ls -l /etc/pam.d/
 
 And paste in reply.
 
 Btw, please CC me.
 
 
 Regards,
 
 -- 
 
 Martin Schlemmer
 Gentoo Linux Developer, Desktop/System Team Developer
 Cape Town, South Africa
 
 
 --
 [EMAIL PROTECTED] mailing list
 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Su problems

2003-02-19 Thread Henti Smith
On Wed, 19 Feb 2003 08:16:55 -0500
John P. Marr [EMAIL PROTECTED] wrote:

 I am hoping you guys can give me a hand with a problem I am having.

hope so.

 I have a 1ghz dell inspiron (8000) with gentoo linux on it. It is running kernel 
2.4.20 with gnome 2.2 on it. 
 My problem is that I am unable to su into root from my normal user. I have tried 
everything I can think of to fix this, but it is still broken.
 I have added my user to the wheel group, both by hand and 'usermod -G'

can you send me a grep wheel /etc/group output ? 

 I have checked and verified correct ownership of /bin/su, and made sure the 
permission is set correctly. I found this info here.
 http://forums.gentoo.org/viewtopic.php?t=23378highlight=authentication+error
 Root can su to normal users, but the error I recieve with all of my normal users is: 
 su: authentication failure
 Sorry.

Make sure your user has a valid shell in /etc/passwd /bin/sh is not valid, I'm not 
sure if this effects su but I knwo that if my user is /bin/sh I cannot ssh into the 
machine
I suspect this is related.

Henti Smith 

--
[EMAIL PROTECTED] mailing list




Re: [gentoo-user] Su problems

2003-02-19 Thread Bruno Lustosa
* Henti Smith [EMAIL PROTECTED] [19-02-2003 11:59]:
  I think valid shell is determined by checking if user's shell is listed
  in /etc/shells.
 
 I still had problems logging on even with /bin/sh in /etc/shells 
 
 *shrug* changing to /bin/bash solved it 

Do you get some kind of message in /var/log/* ?
I think su does log alot of things.

-- 
Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
Network Administrator/Web Programmer | ICQ UIN: 1406477
Rio de Janeiro - Brazil  |



msg01747/pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Su problems

2003-02-19 Thread Andrew
On Wed, 19 Feb 2003 14:25:34 +0100
DESMET Bram (BDSR) [EMAIL PROTECTED] wrote:

 make your user part of the wheel group
 
 regards
 
 Bram

He's already done that. Read the whole email.

Andrew

--
[EMAIL PROTECTED] mailing list