Skip to main content

Posts

Share-A-Directory-between-two-server-NFS

Share-A-Directory-between-two-server-NFS Please grant the relevant permission on the shell scripts ./client_Export.sh Takes three argument as follows 1. server ip address to be exported 2. client directory which should be exported to the particular server 3. options aka permission for the expoted folder rw: This option allows the client server to both read and write within the shared directory sync: Sync confirms requests to the shared directory only once the changes have been committed. no_subtree_check: This option prevents the subtree checking. When a shared directory is the subdirectory of a larger filesystem, nfs performs scans of every directory above it, in order to verify its permissions and details. Disabling the subtree check may increase the reliability of NFS, but reduce security. no_root_squash: This phrase allows root to connect to the designated directory E...
Data Communication and Networking fourth Edition By Behrouz A Forouzan  

How-to-Encrypt-a-shell-script

How-to-Encrypt-a-shell-script If you’re really concerning about the privacy of your shell scripts(Source), I have use Ubuntu 14.04 server with the root Privilage. The source of the program 'SCH' which I’m using here is from http://www.datsi.fi.upm.es/ At first lets download some packeges which required to run our shell encryption program You will need to download gcc compilers root@ubuntu:/usr/src# apt-get install gcc You will need to install 'make' utility if it required (Depend on your system) root@ubuntu:/usr/src# apt-get install make After that lets download our encryption program/ source [from  http://www.datsi.fi.upm.es/ ] Or you can download the 'SCH' source file which I've attached to this repository from from  http://www.datsi.fi.upm.es/ root@ubuntu:/usr/src# wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz Lets extract the '.tgz' file root@ubuntu:/usr/src# tar xvf shc-3.8.7.tgz shc-...