OOPS,
sudo -u nobody (rest of the command line)
but you have to be set up with appropriate privledges.
check
sudo -l
to see what commands you are allowed to sudo.
Carl
Carl Zmola wrote:
> su -u nobody (rest of the command line) works for me.
>
> Fm wrote:
>
>> I know how to solve it .
>>
su -u nobody (rest of the command line) works for me.
Fm wrote:
> I know how to solve it .
> su nobody -c cmdline -s /bin/sh
> Thanks
>
> On Nov 19, 11:12 am, Fm wrote:
>
>> Hi,
>> I'm am green-hand to linux.
>> When I use /usr/bin/su nobody -c /usr/local/bin/python
I know how to solve it .
su nobody -c cmdline -s /bin/sh
Thanks
On Nov 19, 11:12 am, Fm wrote:
> Hi,
> I'm am green-hand to linux.
> When I use /usr/bin/su nobody -c /usr/local/bin/python /home/admin/cc/
> manage.py runfcgi
> method=threaded host=127.0.0.1 port=12345
> it say
Hi,
I'm am green-hand to linux.
When I use /usr/bin/su nobody -c /usr/local/bin/python /home/admin/cc/
manage.py runfcgi
method=threaded host=127.0.0.1 port=12345
it say "This account is currently not available."
Because nobody's shell is /sbin/nologin,I could not use su?
what is the normal way
On Wed, Nov 18, 2009 at 8:25 AM, Fm wrote:
> Hi all,
> I have write a script in /etc/rc.d/init.d so that Django can start
> with my server.
> It may look like
> start () {
>echo -n $"Starting $prog: "
> /usr/local/bin/python /home/admin/cc/manage.py runfcgi
Hi all,
I have write a script in /etc/rc.d/init.d so that Django can start
with my server.
It may look like
start () {
echo -n $"Starting $prog: "
/usr/local/bin/python /home/admin/cc/manage.py runfcgi method=threaded
host=127.0.0.1 port=12345
}
Then I can see
ps aux|grep manage
root
6 matches
Mail list logo