You need to add yourself and whatever other users you want to have su
priviliges, to group wheel. The permissions on Gentoo are very very
strict. You can change them by editing the files in "/etc/pam.d" to fit
your needs. Be very careful doing this because you can leave your system
in a wide open state if not careful. Adding yourself to group "wheel" is
a much safer solution.
Another thing you have to do is make sure the user has a valid shell.
When I used "adduser" I neglected this and it logged me in using bash but
using anything else (ssh, etc.) would reject my log in. After adding
"/bin/bash" everything worked as planned.
On Fri, Apr 19, 2002 at 12:01:06PM -0500, Olivier Reisch wrote:
> Hey again,
> I finally made it through the kde3 ebuild and it works fine now. As i've been
> able to emerge most of the stuff i want, I erased my SuSE install and am
> truely on gentoo now. (I consider that a compliment, given the fact I've been
> using SuSE for about 3 years by now)
> I met yet another problem:
> doctomoe@ibook doctomoe $ su -
> su: Permission denied
> I gave it the right password though. Any idea what might be wrong?
> Logging in as root from console works, it's just su that's borked. Didn't have
> the time yet to look into it.