RE: [gentoo-user] su: Permission denied!
-Original Message- From: JurLan Sterling Chavis wrote: Please correct me if I'm wrong but I believe I read that you need to be a member of the wheel group before you can use su. You're right :) That wasn't what happened in my case. I could use su, it just wouldn't let me su to root. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: Permission denied!
On Saturday 10 January 2004 08:26, Sterling Chavis wrote: Please correct me if I'm wrong but I believe I read that you need to be a member of the wheel group before you can use su. You're right :) -- Kind Regards JurLan Sysinfo: Bliksem running Gentoo Linux Kernel: 2.4.22-gentoo-r2 Compiled: Mon Dec 22 00:24:07 CET 2003 On: i686 Pentium II (Deschutes) GenuineIntel GNU/Linux gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: Permission denied!
Yes, you do need to be a member of wheel. My guess is that he let etc-update update his /etc/group file. Sterling Chavis wrote: Please correct me if I'm wrong but I believe I read that you need to be a member of the wheel group before you can use su. On Fri, 2004-01-09 at 10:27, [EMAIL PROTECTED] wrote: What did you do with etc-update? If you updated things like /etc/group or /etc/passwd then you will have a problem. From: Roger [EMAIL PROTECTED] Date: 2004/01/09 Fri AM 10:39:11 EST To: [EMAIL PROTECTED] Subject: [gentoo-user] su: Permission denied! -- [EMAIL PROTECTED] mailing list
[gentoo-user] su: Permission denied!
Hi, I am learning how to admin my gentoo box. Now I have a problem with 'su'. It is working some hours ago. But after I type 'etc-update',I quit, because I was a little confused. After that, when I type 'su', System reply su: Permission denied! Sorry what's wrong? PLS help me. Roger -- ~~~ China Cell Phone Rental http://www.pandaphone.com Start with Gentoo,Start with Freedom ~~~ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: Permission denied!
Roger wrote: Hi, I am learning how to admin my gentoo box. Now I have a problem with 'su'. It is working some hours ago. But after I type 'etc-update',I quit, because I was a little confused. After that, when I type 'su', System reply su: Permission denied! Sorry what's wrong? you must be in the 'wheel' group! edit the file /etc/group. Look for a line similar like 'wheel::10:root' and add your account name: wheel::10:root,youraccount' -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: Permission denied!
On 23:39 Fri 09 Jan , Roger wrote: I am learning how to admin my gentoo box. Now I have a problem with 'su'. It is working some hours ago. But after I type 'etc-update',I quit, because I was a little confused. After that, when I type 'su', System reply su: Permission denied! Did your add your user to the wheel group? Only member of the wheel group can su. -- Bill Roberts -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: Permission denied!
Peter Eis wrote: Roger wrote: Hi, I am learning how to admin my gentoo box. Now I have a problem with 'su'. It is working some hours ago. But after I type 'etc-update',I quit, because I was a little confused. After that, when I type 'su', System reply su: Permission denied! Sorry what's wrong? you must be in the 'wheel' group! edit the file /etc/group. Look for a line similar like 'wheel::10:root' and add your account name: wheel::10:root,youraccount' Yes, I don't think etc-update should allow complete replacement of /etc/group! It should have logic to merge new groups into it, or note them for manual entry ... but it should NOT allow replacement (remove option 1 for critical files). Tom Veldhouse -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: Permission denied!
What did you do with etc-update? If you updated things like /etc/group or /etc/passwd then you will have a problem. From: Roger [EMAIL PROTECTED] Date: 2004/01/09 Fri AM 10:39:11 EST To: [EMAIL PROTECTED] Subject: [gentoo-user] su: Permission denied! Hi, I am learning how to admin my gentoo box. Now I have a problem with 'su'. It is working some hours ago. But after I type 'etc-update',I quit, because I was a little confused. After that, when I type 'su', System reply su: Permission denied! Sorry what's wrong? PLS help me. Roger -- ~~~ China Cell Phone Rental http://www.pandaphone.com Start with Gentoo,Start with Freedom ~~~ -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] su: permission denied
As someone pointed out to me earlier, you have to be part of the wheel group to su. You might want to check that, although I don't see how the command below removed you from the wheel group. -Nathan -Original Message- From: Joel Konkle-Parker Ok, I have no idea what happened here, but all of a sudden I lost the ability to 'su' into root. I did an `su` and logged in as root, emerged some stuff, and did a `usermod -G games joeljkp` to add myself to the 'games' group. I then did `exit` to get back to my account. Now when I type `su`, I get an error that says `su: permission denied`. I've tried over and over again, with the correct password, and nothing. I can switch to tty1 and login as root to begin with, with the exact same password, and it lets me in. Log in as myself, `su`, same password, and 'permission denied'. What's going on here? -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] su: permission denied
Read the man of usermod, the -G flag is used to SET (not append) all additional groups for a user. So as you didn't specify wheel in the -G flag wheel was removed even though you were originally a member of wheel. I did an `su` and logged in as root, emerged some stuff, and did a `usermod -G games joeljkp` to add myself to the 'games' group. I then -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: permission denied
Man group points out that the -G option will add you to that group but remove you from all others you might be a member of. On Mon, 24 Nov 2003 08:51:39 -0600 Van Eps, Nathan D. (James Tower) [EMAIL PROTECTED] wrote: As someone pointed out to me earlier, you have to be part of the wheel group to su. You might want to check that, although I don't see how the command below removed you from the wheel group. -Nathan -Original Message- From: Joel Konkle-Parker Ok, I have no idea what happened here, but all of a sudden I lost the ability to 'su' into root. -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] su: permission denied
Thanks. I should have worded my reply I don't know if rather than I don't see how. Plus I should check replies before I bother. :) Sorry all. -Nathan -Original Message- From: brett holcomb Man group points out that the -G option will add you to that group but remove you from all others you might be a member of. On Mon, 24 Nov 2003 08:51:39 -0600 Van Eps, Nathan D. wrote: As someone pointed out to me earlier, you have to be part of the wheel group to su. You might want to check that, although I don't see how the command below removed you from the wheel group. -Original Message- From: Joel Konkle-Parker Ok, I have no idea what happened here, but all of a sudden I lost the ability to 'su' into root. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: permission denied
You're welcome. No problem - now you are a little more knowledgable G. On Mon, 24 Nov 2003 10:06:14 -0600 Van Eps, Nathan D. (James Tower) [EMAIL PROTECTED] wrote: Thanks. I should have worded my reply I don't know if rather than I don't see how. Plus I should check replies before I bother. :) Sorry all. -Nathan -Original Message- From: brett holcomb Man group points out that the -G option will add you to that group but remove you from all others you might be a member of. On Mon, 24 Nov 2003 08:51:39 -0600 Van Eps, Nathan D. wrote: As someone pointed out to me earlier, you have to be part of the wheel group to su. You might want to check that, although I don't see how the command below removed you from the wheel group. -Original Message- From: Joel Konkle-Parker Ok, I have no idea what happened here, but all of a sudden I lost the ability to 'su' into root. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: permission denied
On Fri, 21 Nov 2003, Joel Konkle-Parker wrote: Cool, that did it. Any kind of GUI out there or command that will show all the groups I belong to? grep username /etc/group -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: permission denied
On Fri, 2003-11-21 at 21:53, Daniel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I did an `su` and logged in as root, emerged some stuff, and did a `usermod -G games joeljkp` to add myself to the 'games' group. I then did `exit` to get back to my account. Are you still part of the wheel group - you should be. with the -G flag to usermod, you need to also list all other groups you should be a member of. -G games,wheel,users,portage etc.. signature.asc Description: This is a digitally signed message part
[gentoo-user] su: permission denied
Ok, I have no idea what happened here, but all of a sudden I lost the ability to 'su' into root. I did an `su` and logged in as root, emerged some stuff, and did a `usermod -G games joeljkp` to add myself to the 'games' group. I then did `exit` to get back to my account. Now when I type `su`, I get an error that says `su: permission denied`. I've tried over and over again, with the correct password, and nothing. I can switch to tty1 and login as root to begin with, with the exact same password, and it lets me in. Log in as myself, `su`, same password, and 'permission denied'. What's going on here? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [+1 662-518-1636] E-mail[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: [gentoo-user] su: permission denied
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I did an `su` and logged in as root, emerged some stuff, and did a `usermod -G games joeljkp` to add myself to the 'games' group. I then did `exit` to get back to my account. Are you still part of the wheel group - you should be. - -- Daniel Black - -- Proudly a Gentoo Linux User. GnuPG/PGP signed and encrypted email preferred http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x32A64DC8 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/vs+oTDSbtjKmTcgRAtZ2AJ9OGn/NGcCNdIwqG4TQKUJ7rRGaLQCfXBZu zqUlc+qpvNzyWjDmi0/oVos= =4GDG -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] su: permission denied
Title: RE: [gentoo-user] su: permission denied you bumped yourself from the 'wheel' group and replaced with 'games'. You need to run with '-g' option instead of '-G'. hth -Original Message- From: Joel Konkle-Parker [mailto:[EMAIL PROTECTED]] Sent: Friday, November 21, 2003 6:56 PM To: [EMAIL PROTECTED] Subject: [gentoo-user] su: permission denied Ok, I have no idea what happened here, but all of a sudden I lost the ability to 'su' into root. I did an `su` and logged in as root, emerged some stuff, and did a `usermod -G games joeljkp` to add myself to the 'games' group. I then did `exit` to get back to my account. Now when I type `su`, I get an error that says `su: permission denied`. I've tried over and over again, with the correct password, and nothing. I can switch to tty1 and login as root to begin with, with the exact same password, and it lets me in. Log in as myself, `su`, same password, and 'permission denied'. What's going on here? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [+1 662-518-1636] E-mail [EMAIL PROTECTED]
Re: [gentoo-user] su: permission denied
Sumeet Singh Parmar wrote: you bumped yourself from the 'wheel' group and replaced with 'games'. You need to run with '-g' option instead of '-G'. Cool, that did it. Any kind of GUI out there or command that will show all the groups I belong to? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [+1 662-518-1636] E-mail[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: [gentoo-user] su: permission denied
Try man id for one On Friday 21 November 2003 22:18, you wrote: Sumeet Singh Parmar wrote: you bumped yourself from the 'wheel' group and replaced with 'games'. You need to run with '-g' option instead of '-G'. Cool, that did it. Any kind of GUI out there or command that will show all the groups I belong to? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: permission denied
On Fri, 21 Nov 2003 22:18:51 -0500 Joel Konkle-Parker [EMAIL PROTECTED] wrote: | Cool, that did it. Any kind of GUI out there or command that will show | all the groups I belong to? groups or for pretty graphical front-end: xmessage `groups` -- Ciaran McCreesh Mail:ciaranm at gentoo.org Web: http://dev.gentoo.org/~ciaranm -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] su: permission denied
groups command will tell you what groups you belong to. groups user will tell you what groups user belongs to. On Sat, 22 Nov 2003 11:18 am, Joel Konkle-Parker wrote: Sumeet Singh Parmar wrote: you bumped yourself from the 'wheel' group and replaced with 'games'. You need to run with '-g' option instead of '-G'. Cool, that did it. Any kind of GUI out there or command that will show all the groups I belong to? -- GNU/Linux: Secure, Stable, Free Michael [EMAIL PROTECTED] pgp0.pgp Description: signature