Persistent Group support


BRiT

Recommended Posts

Similar to how the /etc/passwd file is persisted between reboots, it would be nice to have the same functionality apply to /etc/group.

 

I'm trying to setup a custom group to be used by a subset of custom users, and that is working fine ... until the server is rebooted and the /etc/group file is back to the initial state.

 

Link to comment
  • 1 year later...

Here is a work around that I am using on 6.2 Beta21.

 

1.  Create your custom group file and place it in /boot/config

2.  Modify the /boot/config/go script

    #!/bin/bash

    # Start the Management Utility

 

    cp /boot/config/group /etc/group        <---Add

    chmod 644 /etc/group                        <---Add

 

    /usr/local/sbin/emhttp &

 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.