Mailinglist Archive: opensuse-security (485 mails)

< Previous Next >
RE: [suse-security] allow 'su' to limited users
  • From: "Tom Knight" <thomas.knight@xxxxxxxxxx>
  • Date: Mon, 8 Mar 2004 15:41:21 -0000
  • Message-id: <ICELJOHAGNAFJPFMMBKOEEOICEAA.thomas.knight@xxxxxxxxxx>


> -----Original Message-----
> From: Gero Schmidt-Kärst [mailto:gsk@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: 08 March 2004 15:28
> To: suse-security@xxxxxxxx
> Subject: [suse-security] allow 'su' to limited users
>
>
> Hi everybody!
>
> I guess there is a easy possibility to allow the command 'su'
> only to a small group of
> users.
> Perhaps someone of you can send me a hint!
>

Even better, use sudo to allow certain users to execute certain commands.
See `man sudo` and `man sudoers`.

The old way of limiting su access was to add users to the "wheel" group.

Use pam_wheel?
http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-6.html#ss6.29

Tom.


< Previous Next >
References