URN Logo
UNIX Resources » Linux » Linux Forum » General Linux Discussions » Page.3 » can't use su, "Permission Denied"
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
can't use su, "Permission Denied"
Subject: can't use su, "Permission Denied"
Author: Pandora Xero    Posted: 2005-09-24 19:19:00    Length: 550 byte(s)
[Original] [Print] [Top]
I seem to be having complications on my Gentoo System. i cannot use su
as anything other than root...here's the console output...

xero@localhost ~ $ su
Password:                   #typed the correct password
su: Permission denied
Sorry.

i can login as root just fine, so i don't see any reason why this
shouldn't work ...do i need to be in a certain UID range or be in a
certain group to su?

all help appreciated
--Xero

[Original] [Print] [Top]
Subject: can't use su, "Permission Denied"
Author: Walter A. Lüthi    Posted: 2005-09-25 02:32:28    Length: 613 byte(s)
[Original] [Print] [Top]
Pandora Xero wrote:
QUOTE
i can login as root just fine, so i don't see any reason why this
shouldn't work ...do i need to be in a certain UID range or be in a
certain group to su?

Yes, you need to be a member of the 'wheel' group.

gpasswd -a [yourusername] wheel

should do the trick - you need to be root to do this, of course

Hope this helps,
Walter

[Original] [Print] [Top]
Subject: can't use su, "Permission Denied"
Author: Pandora Xero    Posted: 2005-09-25 08:25:59    Length: 532 byte(s)
[Original] [Print] [Top]
Walter A. Lüthi wrote:
**Snip**
QUOTE

Yes, you need to be a member of the 'wheel' group.

gpasswd -a [yourusername] wheel

should do the trick - you need to be root to do this, of course

Hope this helps,
Walter

this solved my problem. much thanks, Walter.

--Xero

[Original] [Print] [Top]
Subject: can't use su, "Permission Denied"
Author: Walter A. Lüthi    Posted: 2005-09-26 10:13:22    Length: 297 byte(s)
[Original] [Print] [Top]
Pandora Xero wrote:
QUOTE
this solved my problem. much thanks, Walter.

You're welcome!

[Original] [Print] [Top]
Subject: can't use su, "Permission Denied"
Author: Rajko M.    Posted: 2005-10-01 21:27:08    Length: 999 byte(s)
[Original] [Print] [Top]
Pandora Xero wrote:

QUOTE
I seem to be having complications on my Gentoo System. i cannot use su
as anything other than root...here's the console output...

xero@localhost ~ $ su
Password:                   #typed the correct password
su: Permission denied
Sorry.

i can login as root just fine, so i don't see any reason why this
shouldn't work ...do i need to be in a certain UID range or be in a
certain group to su?

all help appreciated
--Xero

The su will switch user to any if you type user ID after su.
If there is no ID than it is the same as "su root".
For more information please refere to "man su".

--
Regards,
Rajko

[Original] [Print] [Top]
Subject: can't use su, "Permission Denied"
Author: Moe Trin    Posted: 2005-10-02 14:04:51    Length: 1,469 byte(s)
[Original] [Print] [Top]
In the Usenet newsgroup comp.os.linux, in article
[asI%e.1660$ES.1280@fe07.lga], Rajko M. wrote:

QUOTE
Pandora Xero wrote:

I seem to be having complications on my Gentoo System. i cannot use su
as anything other than root

do i need to be in a certain UID range or be in a certain group to su?

The su will switch user to any if you type user ID after su.
If there is no ID than it is the same as "su root".

That's great - but that's not the problem the original poster is having.
GNU 'su' allows any user to 'su' to root. Operating systems that follow
the Berkeley security model (*BSD and Gentoo being examples) require that
the user must be in the 'wheel' group to use 'su'. Other Linux distributions
can be configured so. If you have set a group password for wheel users,
then a normal user must have the group password to use the 'newgrp' command
to join the wheel group, and the root password to then use su.  Thus, even
if you somehow obtain the root password, it's not enough to use 'su' (though
you could just log in as root if that is permitted - leaving a paper trail
as you do so).

        Old guy

[Original] [Print] [Top]
« Previous thread
Settingup HP Laserjet5 on Ubuntu Debian 2.6.10
General Linux Discussions
Page. 3
Next thread »
Is there a truly point and click Linux yet?
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:16:09, cost 0.026534080505371 ms.