|
Posted by Jerry Stuckle on 01/02/06 17:46
Shelly wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:VPCdnaMKw9njPyXenZ2dnUVZ_smdnZ2d@comcast.com...
>
>>Shelly wrote:
>>
>>>I submitted this to comp.mail.sendmail, but maybe someone here can help
>>>me as well.
>>>
>>>OK, this has most likely been asked and answered several times, but I am
>>>still confused after searching. Here is the background and situation:
>>>
>>
>>Yes, you asked it here on 12/28. Did you check those answers?
>
>
> Yes, I did, but was still confused by the answers. That was why I reposted
> with the specifics in, what I hoped, was clearer descriptive language.
>
Than you should ask more questions in that thread, not start a new one!
> After posting, I continued with some intensive searching. I think I
> understand now, but would like some verification.
>
> 1 - Create the account with an adduser command. (The php would be either a
> system() or exec() command to run that command.) It has to be in the passwd
> account, but doesn't need to have a shell script.
>
> 2 - Have the adduser -D so that would limit these users. This would be done
> one time by the root account at the box itself.
>
> 3 - Also, have the shell script for the accounts set to /bin/false. This
> could also be done from php spawning a system() or exec(0 command.
>
> Did I finally get it straight?
>
To a certain extent. But as Steve indicted, it all depends on the mail
program you're using (sendmail SENDS mail - it doesn't handle mail
USERS), the kind of authentication...
My suggestion is for you to find a Linux admin to help you in this area.
You need to understand the basic authentication your system is using,
and (especially) the huge security hold which results from running PHP
as root.
> Shelly
>
>
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|