You are here: Re: Users/permissions/files - LAMP « PHP Programming Language « IT news, forums, messages
Re: Users/permissions/files - LAMP

Posted by Jerry Stuckle on 12/30/05 17:11

Balazs Wellisch wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:ScednZbsacb1NSnenZ2dnUVZ_sCdnZ2d@comcast.com...
>
>>jab3 wrote:
>>
>>>So I'm considering a small project that involves online file storage.
>>>Let's say I wanted to set up a site that allows people to log-on,
>>>create an account, and then have space to upload files. The problem
>>>I'm having concerns permissions, basically.
>>>
>>>1) How do I automatically create users in Linux from a PHP script
>>>running under Apache's uid/gid?
>>
>>You can't. You need to be running as root.
>>
>
> What about exec( some_script )? Where some_script could be run as root
> through sudo? It could be a Perl script or shell script that runs the
> appropriate commands to set up the user.
>
> Balazs
>
>

That's one way to do it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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