Results 1 to 2 of 2

Thread: restricting user who can su to root

  1. #1
    takiza-n NNTP User

    Default restricting user who can su to root


    Env: OpenSuSE 11.1

    I want to restrict users who can su to root by using module.
    So, I edited /etc/pam.d/su to following.

    auth sufficient
    auth required use_uid
    auth include common-auth
    account include common-account
    password include common-password
    session include common-session
    session optional

    But, a user who is not belong to wheel group still can su to root..

    Please help!

  2. #2
    Join Date
    Jun 2008
    West Yorkshire, UK

    Default Re: restricting user who can su to root

    The simple answer is to change the root password and don't tell any users - or only those whom you want to be able to use su.

    But why would a user need to use su?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts