[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Rebuilding catalog cgi thru web
****** message to minivend-users from "Dennis Duval" <skip-minivend@seacove.net> ******
>
> I'm just curious about the
> $cmd = 'su -c /minivend/mvend/bin/restart minivend';
> isn't the next thing that happens is you are prompted for
> a root password? Depending on UNIX system this is on.
>
Yes, you are exactly right. I was running my little command line script as
root, so I neglected to see that it would ask for a password if run as a
different user. However it still doesn't solve the problem of restarting
minivend if I use a command like:
$cmd = 'minivend/mvend/bin/restart'
This one works from the command line without giving a password prompt and
actually restarts minivend if run as the same user as minivend but will not
work from the web app.
Dennis Duval
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list