07-29-2019
I run a similar, but different, script like this to scan an enter web file system and check ownership and permissions of each file and directory in that part of the filesystem, as a security measure.
When filesystems are secure, it is difficult for malicious code from the web to write to the file system using flaws in the web code.
This User Gave Thanks to Neo For This Post:
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
Need your help. How can I delete the cache folder of multiple user home directories via automatically executed shell script on a Mac OS X Server?
Example:
The userdata are stored on a Xsan Volume like this:
/Volumes/Xsan/userdata/mike
/Volumes/Xsan/userdata/peter... (2 Replies)
Discussion started by: nipodrom
2 Replies
2. Shell Programming and Scripting
Hi, I'm currently working on my school assignment on how to verify that all user home directories are writable only by their owner on Solaris with VMware. But I'm not sure why my codes take a very long time to display the results. My friend says it's the `su - $i -c "ls -ld" 2> /dev/null | grep... (1 Reply)
Discussion started by: NuuBe
1 Replies
3. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Need to verify that all user home directories are writable only by their owner on Solaris. The script posted below is workable but it is taking a long time to display the results, and I don't seem to be able to fix it or find any... (6 Replies)
Discussion started by: NuuBe
6 Replies
4. Homework & Coursework Questions
Hello i hope this post is ok! and i hope that i get the point of rules :)
i made this tasks by my self but few of them arent working.. and i dont know why!?
u think u could help me? to give me some reasons why dont they work.. and remake my code that will work?
hope to get answer soon!
... (9 Replies)
Discussion started by: eclip
9 Replies
5. Solaris
I've allocated /exports for all user directories by making separate directories under /exports.....
:rolleyes:
now i need to unmount /exports . But i'm unable to do that..
How can i troubleshoot this issue.
Thanks in advance:D (2 Replies)
Discussion started by: vamshigvk475
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
when I installed debian 8, all files are created and owned by root, when I add new user, for example marco, he can't create directory or change files created by root. I tried with ftp, permission denied.
so, I am interested how to grant to user marco ownership of all files in the system so... (5 Replies)
Discussion started by: alanford
5 Replies
LEARN ABOUT DEBIAN
polipo
POLIPO(1) General Commands Manual POLIPO(1)
NAME
polipo - a caching web proxy
SYNOPSIS
polipo [ -h | -v | -x ] [ -c config ] [ var=val ]...
DESCRIPTION
Polipo is a caching HTTP proxy. It listens to requests for web pages from your browser and forwards them to web servers, and forwards the
servers' replies to your browser. In the process, it optimises and cleans up the network traffic.
By default, Polipo listens on TCP port 8123. Please configure your web browser to use the proxy on localhost port 8123.
OPTIONS
-h Display help and exit.
-v Display the list of configuration variables and exit.
-x Purge the on-disk cache and exit.
-c Select an alternate configuration file.
var=val
Change the value of a configuration variable.
FILES
/etc/polipo/config
The default location of Polipo's configuration file.
/etc/polipo/forbidden
The default location of the list of forbidden URLs.
/var/cache/polipo/
The default location of the on-disk cache.
/usr/share/polipo/www/
The default root of the local web space.
SIGNALS
SIGUSR1
write out all in-memory objects to disk and reload the forbidden URLs file.
SIGUSR2
write out all in-memory objects to disk, discard all in-memory objects, and reload the forbidden URLs file.
SIGTERM, SIGINT, SIGHUP
write out all in-memory objects to disk and quit.
SECURITY
The internal web server will follow symbolic links that point outside the local document tree. You should run Polipo in a chroot jail if
that is a problem.
There is no reason to run Polipo as root.
FULL DOCUMENTATION
The full manual for Polipo is maintained in a texinfo file, and is normally available through a web server internal to Polipo. Please make
sure that Polipo is running, and point your favourite web browser at
http://localhost:8123/
Alternatively, you may type
$ info polipo
at a shell prompt, or
C-h i m polipo RET
in Emacs.
AUTHOR
Polipo was written by Juliusz Chroboczek.
POLIPO(1)