Re: Chage script for Linux servers?
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Wed, 20 Dec 2006 11:33:14 -0500
Ivan Marsh wrote:
On Tue, 19 Dec 2006 22:19:11 -0800, pangea33 wrote:
Ivan Marsh wrote:
Hey folks,
I'm looking for a script that allows control of account expiration
dates using chage under Linux so non admins can control account
expiration of client accounts. Anyone ever written anything like that?
This is definitely not something you're capable of accomplishing simply
by using PHP. The PHP engine is running on the Linux box, so it's
limited by the security configuration of that server. Including the
security settings that keep non-admin users from modifying settings only
accessible by administrators. Sorry, man.
Are you suggesting it's not possible to shell out and run a sudo command
from a PHP script?
I have complete control over the server in question.
You can, but you're creating a security whole in your server the size of the Grand Canyon.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: Chage script for Linux servers?
- From: Ivan Marsh
- Re: Chage script for Linux servers?
- References:
- Chage script for Linux servers?
- From: Ivan Marsh
- Re: Chage script for Linux servers?
- From: pangea33
- Re: Chage script for Linux servers?
- From: Ivan Marsh
- Chage script for Linux servers?
- Prev by Date: Re: Framework or not?
- Next by Date: Re: htm vs. php problem
- Previous by thread: Re: Chage script for Linux servers?
- Next by thread: Re: Chage script for Linux servers?
- Index(es):
Relevant Pages
|