Making Groups
From WL-HDD Wiki
| WL-HDD Contents |
|---|
| What is the WL-HDD |
| Features |
| Pro's/con's |
| Reviews |
| Hacking |
| Inserting the HDD |
| Hacking Guides |
| Basic setup guides |
| Packages guides |
| Requests |
| Troubleshooting |
| This Wiki |
| Credits |
| Editing help |
| Contact Me |
Prerequisites
To complete this guide, the following is assumed:
| You are running Oleg's firmware (1.9.2.7-6b or later) |
| You have harddisk partitions up and running with an extended filesystem mounted to /opt |
| You have installed the Ipkg package system. |
| You have configured your partitions to automount. |
Making a new group
Open group file
nano /etc/group
Add the following line
group::1001:user1,user2,user3
the format for this line is
groupname:password:groupID:users,separated,by,commas
Save this file and exit
Ctrl + O Ctrl + X
For the groupID, start with 1001 for the first group.
If you create further groups then increment these by 1 each time (e.g. 1002, 1003)
The groupname can be whatever you want.
Saving the File
The file /etc/group is not on the hard disk and changes to it will be lost on a reboot.
To prevent this, we will do the following:
echo "/etc/group" >>/usr/local/.files flashfs save flashfs commit flashfs enable reboot
If you have already Added Users or Groups using the Adding Users guide then you do not need to repeat the echo "/etc/group" command above. Instead, just do the flashfs commands and reboot below it.
