• SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Recent content by zidler

  1. Z

    sudo: unknown user: root

    Like this idea. Thank you! Gonna try tomorrow.
  2. Z

    Nginx: Unable to open primary script

    I've done [me@AC5300][/opt/etc]> chown nobody:nobody -R /opt/share/www/xxx/ [me@AC5300][/opt/etc]> chmod -R 777 /opt/share/www/xxx/ [me@AC5300][/opt/etc]> namei -om /opt/share/www/xxx/ f: /opt/share/www/xxx/ drwxr-xr-x me root / lrwxrwxrwx me root opt -> tmp/opt drwxrwxrwx...
  3. Z

    Nginx: Unable to open primary script

    [me@AC5300][/opt/etc]> cat /opt/etc/php5-fpm.d/www.conf [www] ;prefix = /path/to/pools/$pool user = nobody group = nobody listen = 127.0.0.1:9000 listen.owner = nobody listen.group = nobody listen.mode = 0777 ; priority = -19 pm = dynamic pm.max_children = 5...
  4. Z

    Nginx: Unable to open primary script

    [me@AC5300][/opt/etc]> cat /opt/etc/nginx/nginx.conf user nobody; worker_processes 1; # error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; # access_log /opt/var/log/nginx/access.log; # error_log...
  5. Z

    Nginx: Unable to open primary script

    I spent last 48 hours without sleep trying to fight it. No luck =( Please HELP! I swear I'm gonna personally buy beer in any bar to whomever solve this. Technically, this is a problem of PHP-fpm server. What I got in my log is: 2017/02/13 01:25:20 [error] 4041#0: *1 FastCGI sent in stderr...
  6. Z

    sudo: unknown user: root

    Try it yourself. Administration panel won't let you change it to root.
  7. Z

    sudo: unknown user: root

    and? how can I add root user to the sistem? Sudo wont work without it.
  8. Z

    sudo: unknown user: root

    As I mentioned, I need it for personal reasons. Got tons of bash scripts I copy between my servers, most of them contain sudo in aliases. I don't want to redact 20 files, just to make it work.
  9. Z

    sudo: unknown user: root

    [me@AC5300][/tmp/home/root]> opkg install sudo .... [CODE][me@AC5300][/tmp/home/root]> sudo ls sudo: unknown user: root sudo: unable to initialize policy plugin What should I do? Need sudo for other reasons. Thank you.
  10. Z

    iptable rules are being overwritten with every reboot. help!

    Well, I just copied the script into /opt/etc/ssh/.bash/firewall.sh Now everything works perfectly, but I would like to put the rules in /opt folders. Any suggestions? How can I postpone this process till it is mounted?
  11. Z

    iptable rules are being overwritten with every reboot. help!

    Exactly! I got the same feeling, as if /opt/etc/ssh/.bash/firewall.sh is not available at the moment when /jffs/scripts/firewall-start is launched. Any suggestions?
  12. Z

    iptable rules are being overwritten with every reboot. help!

    I do exactly as it is being said in that post. > cat /jffs/scripts/firewall-start source /opt/etc/ssh/.bash/firewall.sh But nothing is changed. =( -P INPUT ACCEPT -P FORWARD DROP -P OUTPUT ACCEPT -N FUPNP -N NSFW -N PControls -N SECURITY -N logaccept -N logdrop -A INPUT -i tap21 -j ACCEPT -A...
  13. Z

    iptable rules are being overwritten with every reboot. help!

    Nothing happens. Same output =( Once again. I just want to know where exactly I can reset iptable chaines and add my own rules. Thank you.
  14. Z

    iptable rules are being overwritten with every reboot. help!

    Ok, where should I add my custom rules? I wanted to disable the firewall to learn how to add my own rules and make the router tougher to crack.
  15. Z

    iptable rules are being overwritten with every reboot. help!

    I am newbie in this, so I think a add my rules for the already running firewall.
Back
Top