This is all great resources. Thanks and I'll follow up with the results.
Another thought was to only make the sudoers file accessible to php and not
add php as a sudo user. If/when the script was run, I could have php write
to sudoers to add itself. Then when the script was done it could rewrite
again and remove itself. The benefit would be that it can only add itself
as a sudo user (and not any other user) whereas if I grant php sudo access
anyone hacking php could create a user and give it sudo access too.
Definitely not perfect, just one extra layer perhaps.
On Mon, Nov 12, 2012 at 3:04 AM, Jan Middelkoop <j...@recreatie-zorg.nl>wrote:
> On 10-11-12 02:35, Robert Lefebvre wrote:
> > There are some other benefits as well to using php and a database.
>
> 100% agreed. Besides everything already suggested, the best solution
> for this IMVHO is still to use LDAP (lightweight directory access
> protocol).
>
> https://help.ubuntu.com/community/OpenLDAPServer
>
> PHP already has a very nice interface with LDAP, which can do everything
> you want.
>
> http://www.php.net/ldap
>
> Right now you're basically recreating the LDAP interface PHP has already
> so it'll work with /etc/passwd. This is very counter-productive. LDAP
> might seem more complicated than creating something yourself, but in the
> long run it will make your system much more robust, portable and it will
> give you lots of extra features that might be useful in the future (such
> as replication to multiple servers).
>
> Kindest regards,
>
> Jan Middelkoop
> Recreatie en Zorg Groep B.V.
>
> --
> Website: http://www.recreatie-zorg.nl/
> E-mail: j...@recreatie-zorg.nl
> Telephone: +31 10 714 22 97
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.freenode.net
>
--
BungeeBones.com - A B2B Link Exchange - Free Links in limited locations -
human edited and reviewed - Networked online advertising business
opportunities available through our free, distributed web directory script
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net