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

    How can I manage groups and users from CLI?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.0k Views
    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.
    • S
      Sopalajo de Arrierez
      last edited by

      I would like to manage groups and its corresponding users from command-line on pfSense.

      I have found this documentation:

      https://docs.netgate.com/pfsense/en/latest/usermanager/users.html

      ... but it only refers to GUI.

      What is the proper method to manage (add, delete... etc) groups (and, of course, add/delete users to/from those groups) on pfSense by using command-line?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Sopalajo de Arrierez
        last edited by

        pfSense is GUI based.

        For most GUI options there is no direct CLI equivalent.

        But, knowing that the GUI is 99,99 % script (PHP) driven, it's possible to make your own scripts.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • S
          Sopalajo de Arrierez
          last edited by

          Thanks you, Gertjan.

          I tried:

          pw groupadd GROUPNAME
          

          But changes are deleted after rebooting.

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @Sopalajo de Arrierez
            last edited by

            pfSense users and groups is not what FreeBSD users and groups are.
            They have some common grounds, true.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.