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 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 [...]
Posted on June 1, 2008, 6:35 am, by Ianculov Vucomir, under
Linux.
cd (change directory) cd myfolder Changes the current working directory to “myfolder” cd .. Go up one level to the current working directory. cd ../.. Go up two levels to the current working directory. cd / Changes the current working directory to the root directory. cd ~ Changes the current working directory to your home [...]
Posted on May 24, 2008, 9:40 am, by Ianculov Vucomir, under
Diverse,
Linux.
Am fost si eu astazi prin oras sa caut un cadou, nu dau nume pt cine ) pana sa ma hotarasc ce cadou sa iau mi-am facut mie cadouri ptrintre care un pinguin care lam pus la colectie cu ceilalti “big happy penguin family” )
hmmm trebuia sa instalez pe 23 de systeme windows/ubuntu , sa instalez pe fiecare in parte nici nu intra in vorba puteam sa instalez pe un sistem si sa fac clona cu norton si sa arunc clona pe fiecare sistem in parte si era ok sau prin retea sa butez clona…..sau cum avem ubuntu server [...]