Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    SUDO Package Using root Password

    pfSense Packages
    2
    3
    75
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AlecDr last edited by

      Hello everyone,

      I started using PfSense about a week ago, so i'm still learning it and trying my best to configure it somewhere like our old firewall, the thing is, our old firewall had an ssh access with public keys, and upon logging in it (it was possible to login via ssh only with a non-root user) i could su to root and gain privileges, but in PfSense i did not found a way to ask for the root password when the user sudo something.
      So basically, i installed the sudo package to manage root privileges for non-root users, but it only asks for the current user password, i would like to know if there is an way to ask for the root password instead (the root user do not have ssh access).

      Regards.

      bingo600 1 Reply Last reply Reply Quote 0
      • bingo600
        bingo600 @AlecDr last edited by bingo600

        @alecdr

        I would think that's a sudo usage question.
        Best asked elsewhere

        Well 10 sec w. google
        http://researchhubs.com/post/computing/linux-cmd/sudo-command.html

        sudo -u root command 	Run command as root.```
        
        1 Reply Last reply Reply Quote 1
        • A
          AlecDr last edited by

          Hello @bingo600,

          Thanks for your reply, you are indeed correct, i'm a newbie with linux, so I did not understood the differences between sudo and su until I read your link.

          Regards.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy