Posted on February 2, 2011, 7:34 pm, by Ianculov Vucomir, under
How To,
Linux.
Hosts: /etc/hosts is used to resolve hostnames for machines behind the firewall, on the 192.168.1. LAN. If an entry is found in /etc/hosts, there is no need to go to the DNS to resolve either hostname or ip address. Here is an example # Do not remove the following line, or various programs # that [...]
This is a howto on getting samba + clamav to work on a rpm system First thing first I need do install samba file server and clamav anti-virus, after configurating my samba share i have made 2 directory’s in /home virus logs the virus folder contains the infected files found during scanning and the logs [...]
Posted on January 17, 2011, 8:37 pm, by Ianculov Vucomir, under
Bash,
Linux.
Hey wassup, I was locking for a method to create multiple users on multiple Linux/Unix machines with different user id group id….. so i brows the internet back and forth and didnt found nothing what i was locking for . So i give up browsing and started scripting, shell scripting exactly because every Linux/Unix system [...]
Posted on June 3, 2010, 2:29 pm, by Ianculov Vucomir, under
Hp-Ux.
Every recent HP-UX system has several hardware components: One or more PA-RISC or Itanium single- or dual-core CPUs for processing data One or more Cell Boards or an MIO Controller hosting CPU and memory One or more System/Local Bus Adapters that provide connectivity to expansion buses One or more PC11/0 expansion buses with slots for [...]
Posted on November 3, 2009, 9:31 pm, by Ianculov Vucomir, under
Diverse,
Linux.
Posted on June 30, 2009, 7:36 pm, by Ianculov Vucomir, under
Bash.
[code] #!/bin/bash case $1 in ( list-users ) reset echo "Listing users..... " cat /etc/passwd |cut -d ':' -f1 ;; ( list-valid-users ) reset echo "Listing valid users for god >:)" cat test|grep -w "/bin/sh"$|cut -f1 -d':' cat test|grep -w "/bin/bash"$|cut -f1 -d':' ;; ( get-user-home ) reset echo "Listing the users home...and username" echo [...]
Posted on June 30, 2009, 7:16 pm, by Ianculov Vucomir, under
Linux.
Anul trecut la faculta avem de facut un download manager in bash la SO(Sisteme de operare) printre altele, era un proiect destul de interesant dupa parerea mea, dar ar fi mult mai interesant sa fi avut si o interfata web un script php care sa apeleze comenzile de bash jumatate php jumatate bash nu ii [...]
Posted on September 28, 2008, 5:23 am, by Ianculov Vucomir, under
How To,
Linux.
Your script should be in /etc/init.d/ directory. Then you have to make a symlink from your run-level directory. I.e you’re in run-level 5 (multiuser with X) chmod +x cp /etc/init.d ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50 ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50
Posted on September 16, 2008, 4:38 am, by Ianculov Vucomir, under
Linux.
This is a real posting at craigslist classifieds: There is a sad truth to the world today. I am part of a dying breed of people known as “shell users.” We are an old-fashioned bunch, preferring the warm glow of a green screen full of text over the cold blockiness of a graphical interface. We [...]
Installing MPPE Support Most people want their tunnels encrypted. Check the version of your kernel; if it is below 2.6.15-rc1 then you do not have MPPE support. To check further, test like this: # modprobe ppp-compress-18 && echo success If this fails, follow the Debian MPPE HOWTO, then return here. Installing the Server ProgramInstall the [...]