From: Jamie C. <jca...@we...> - 2008-04-10 21:07:40
|
On 10/Apr/2008 13:58 Scott White wrote .. <blockquote type="cite"> <br /><br /><div class="gmail_quote">On Thu, Apr 10, 2008 at 3:38 PM, Jamie Cameron <<a href="reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom">jca...@we...</a>> wrote:<br /><blockquote style="border-left: 1px solid #cccccc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> On 10/Apr/2008 12:52 Scott White wrote .. <div><div></div><div class="Wj3C7c"><blockquote type="cite"> I am using webmin 1.410 installed from the RPM. I want to build my own rpm for internally distributing on some servers. <br /><br />The key feature I want to add to this build is another user without root access. I want a webmin account called "box-admin" that only has access to a few modules like firewall, net, time, etc. This way, certain level of users are not overwhelmed by all the functions available in webmin. <br /> <br />I have searched but could not find where the user information is stored in webmin, so I can add it to a distribution. If it is easier, I can add a group/user to the linux box, but I really want the scaled down options for this user base.<br /> <br />Very cool and impressive application.<br /></blockquote></div></div><p>Thanks!<br />The files you need to modify are /etc/webmin/miniserv.users and /etc/webmin/webmin.acl .<br /><br />In the first you will need to append a line like :<br /> box-admin:XXXXX<br />where XXXXX is the unix-encrypted password.</p><p><br /> In webmin.acl you should add the line :<br />box-admin: firewall net etc..<br /><br />Make sure you run /etc/webmin/restart after changing those files.<br /><br /> - Jamie<br /><br /></p> </blockquote></div> That makes sense, but I want to repackage this as an RPM. Would suggest patching those files after the install or should I try to modify setup.sh? It looks like it creates those files now.<br /> </blockquote>I'd suggest adding code to the %post section of the RPM to made these additions.<br /><br /> - Jamie<br /><br /> |