Find the answer to your Linux question:
Results 1 to 4 of 4
Hi! Who can explain me the use of Host_Alias in sudoers configuration? Thanks...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6

    Host_Alias

    Hi!
    Who can explain me the use of Host_Alias in sudoers configuration?
    Thanks

  2. #2
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6
    My /etc/sudoers has a Host_Alias SUBNET=10.0.2.33/24 and then i have this line:
    user SUBNET=(ALL) ALL

    When i put
    user ALL=(ALL) ALL, my user works well, but when i put
    user SUBNET=(ALL) ALL, my user can not use sudo

    ¿What it is wrong?
    Can somebody help me, please?
    Thanks

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2
    Where are your users logging in from?

    It would seem to me that your config is restricting access from SUBNET=10.0.2.33/24. Are they trying to access it from outside your local subnet? And does 10.0.2.33 actually match your IP address?

  4. #4
    Just Joined!
    Join Date
    Apr 2009
    Posts
    6
    The ip server is 192.168.10.105. And my users logging in from 10.0.2.33 (with ssh).
    I hope you undertand my english because i am a spanish girl and my english is bad
    Thanks for your reply

Posting Permissions

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