You are here: Re: Chage script for Linux servers? « PHP Programming Language « IT news, forums, messages
Re: Chage script for Linux servers?

Posted by Ivan Marsh on 12/20/06 15:19

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация