Hi, it's really due to pam_wheel for su. I added root to group wheel then
"sudo su" works perfectly. I previously also used pam_rootok, which is
however, beyond pam_wheel. The pam_wheel has requisite control flag. So
pam_rootok will not be executed if root is not in the group wheel. Thank
you.
Qia
On Tue, Oct 22, 2002 at 10:02:48AM +0200, Q. Gong wrote:
> I maybe found the reason. This is due to PAM. I restricted that only
> users in group wheel can use su. But root is not in wheel.
You could use the pam_rootok module to allow root to su in spite of
that.
--
Colin Watson
On Tue, 22 Oct 2002, Q. Gong wrote:
> On Mon, 21 Oct 2002, nate wrote:
>
> > Q. Gong said:
> >
> > > (root) # su
> > > su: Permission denied
> >
> > not sure what system your using but for me, debian 3.0, redhat 7.3,
> > suse 8.0, solaris 7 and freebsd 4.6.2 all work fine if I do su as
> > root it
On Mon, 21 Oct 2002, nate wrote:
> Q. Gong said:
>
> > (root) # su
> > su: Permission denied
>
> not sure what system your using but for me, debian 3.0, redhat 7.3,
> suse 8.0, solaris 7 and freebsd 4.6.2 all work fine if I do su as
> root it just gives me another shell(if i logout, I'm still root
Q. Gong said:
> (root) # su
> su: Permission denied
not sure what system your using but for me, debian 3.0, redhat 7.3,
suse 8.0, solaris 7 and freebsd 4.6.2 all work fine if I do su as
root it just gives me another shell(if i logout, I'm still root)
nate
--
To UNSUBSCRIBE, email to [EMAI
On Mon, 21 Oct 2002 [EMAIL PROTECTED] wrote:
> What does this command output say for you? It lists the commands you
> can run. Don't report anything to the list that reveals anything
> sensitive about your site. Just read it yourself and make sure the
> output makes sense.
>
> sudo -l
In the
On 0, Bob Proulx <[EMAIL PROTECTED]> wrote:
> Q. Gong <[EMAIL PROTECTED]> [2002-10-22 00:52:10 +0200]:
> > I am trying to use "sudo su -". But I always get "su: Permission denied".
> > The purpose is to make su only available through sudo. Any ideas?
>
> What does this command output say for you?
Q. Gong <[EMAIL PROTECTED]> [2002-10-22 00:52:10 +0200]:
> I am trying to use "sudo su -". But I always get "su: Permission denied".
> The purpose is to make su only available through sudo. Any ideas?
What does this command output say for you? It lists the commands you
can run. Don't report anyt
Q. Gong said:
> Hi,
>
> I am trying to use "sudo su -". But I always get "su: Permission denied".
> The purpose is to make su only available through sudo. Any ideas?
wouldn't something like 'sudo bash' accomplish about the same thing
as sudo su - ?
I don't use sudo much so maybe not ...
nat
> I am trying to use "sudo su -". But I always get "su: Permission
> denied".
Eh? Why not 'sudo bash' ?
--
Christopher S. Swingley email: [EMAIL PROTECTED]
IARC -- Frontier Program Please use encryption. GPG key at:
University of Alaska Fairbankswww.frontier.iarc.uaf.ed
Hi,
I am trying to use "sudo su -". But I always get "su: Permission denied".
The purpose is to make su only available through sudo. Any ideas?
Qian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
11 matches
Mail list logo