Re: Chage script for Linux servers?



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.
.



Relevant Pages

  • Re: Chage script for Linux servers?
    ... I'm looking for a script that allows control of account expiration ... The PHP engine is running on the Linux box, ...
    (comp.lang.php)
  • Re: Chage script for Linux servers?
    ... I'm looking for a script that allows control of account expiration ... The PHP engine is running on the Linux box, ... I have complete control over the server in question. ...
    (comp.lang.php)
  • Re: Is there Linux equivalent of MS XP Media Center
    ... >> with remote control like the MS XP Media Center. ... >> Linux laptop before but is it easy make a Linux as XP Media Center ... to display on the wired machine's x-server. ... RF output of which feeds the main RF distribution network in the house, ...
    (comp.os.linux.misc)
  • Re: Oracle memory allocation on Linux 2.6
    ... direct I/O should lower memory consumption simply because it ... bypasses buffer cache over which we have no control. ... With Linux, I really have a problem with the ... as well as system administrators are ...
    (comp.databases.oracle.server)
  • Re: regional setting
    ... account has the symptoms of not allowing regional setting via the control ... panel GUI interface. ... This ensures that the date separator and the date format are ...
    (microsoft.public.windowsxp.help_and_support)