I have a need to be able to send a text email to various recipients from a linux box, but must use SMTP authentication to send it. I have done this countless times in Win32 using VBScript and...
I am very new to Linux ! I have been playing around with creating a bootable installation of PCLinuxOS 2007 on a usb stick. I have been using a LiveCD in a Windows host machine and have been t...
I need to know how to give another general user, root permissions so that I don't need to type su - in order to get root privileges. I want the user to login using their username, but have ful...
Hi All,
Currently we have issues with defunct processes. These defunct processes slows down the performance of the database servers. I know defunct can be killed by either rebooting the ser...
Hi,
Can any one tell me Linux admin Intervoew questions with answers.
Regards,
Krishgudd
how do I create a zip file of my httpdocs directory and save permission and directory structure?
HI,
due to some problem , if i see kernel panic, i need to hard boot of the pc, now i have check /var/log/messages , if there is any log for kernel panic informaition, but no luck.
i beliv...
Hi
we run SVN on our dev box and handle it via TortoiseSVN on client's site and Apache on dev box.
Everything works fine until we want auto export codes into html directory (which is fa...
In a bash script running in a cron job on my Linux box, I fork a child process to test something. The child process may exit with exit status of 0 or 1 within one second, or may hang waiting f...
I check from /etc/services and I find that there are 2 lines for ntp services:
ntp 123/tcp
ntp 123/udp
I got an answer from EE expert that I cannot telnet to NTP s...
I have a question related to NTP service. Ntpd service is up and running on my machine named "ntpserver" configured with IP 192.168.105.80. Remotely (from another computer) I want to check the...
sorry i am very new to linux but need to copy files from one directory to another every other day @ 1830
the cp command i have work out is
cp -f /var/www/html/admin/modules/core/etc/* ...
Hi,
I am using vsftpd & experience high tarffic on udp port 53 which is DNS, I beleive this is when a log is writen to audit.log by the vsftpd. When i stop teh ftp server there is no more D...
Hello,
I will be having a new server with fresh installed centos and that server will be just for 1 webpage therefor I really dont want to pay for control panels like cpanel or plesk for exam...
[root@localhost squid]# service squid start
Starting squid: .[ OK ]
[root@localhost squid]# service squid stop
Stopping squid: 2008/10/23 18:35:11| Failed to acquire SSL certificate '(nul...
I wan to copy some plain text, from windows to linux. I am using vim for linux.
When i copy paste the text, the text is scrambled probably of the wrong manipulation of the "enter" (CR/LF)....
Hi,
I have a log file like
===================
2008-10-08 06:03:48,891 [INFO ] AM_thread -- START doMatch()
2008-10-08 06:04:06,629 [INFO ] AM_thread -- END doMatch()
2008-10-08 06:0...
I have several SVN repos on a linux server. I want to provide a client with direct access to the server so they can run SVN updates on their files. However, I do not want them to see or have a...
I use CentOS 5 to power my web server. A PHP application is giving me this error:
failed to start [mail.example.com:25]: fsockopen returned
Error Number 110 and Error String
I think th...
I am trying to provide a user with FTP access to a folder on mysite.com that is outside of their default home directory.
I created the user and password:
adduser newuser
passwd newuser
...
Hi, i have configured my server as Dns.
now I have changed others pc to look at the dns server by editing /etc/resolv.conf .
Everything is fine, internal pc can resolve anything via my dns...
I want my linux server to automatically shutdown at some specific time and start again based on time specified. The intention here is to save the power in night time. I know there are some opt...
In my job I usually tar some files direct from CDROM and then untar at a different location. Here is the scenario:
tar -cf - /media/CDROM/*.txt | (cd /some/path && tar -xf -)
When I do ...
Hi,
We have a redhat Linux server which we use it as our internal build server. I want to ensure that no one deletes any files or directories from the build location created in the server. ...
I want to use two USB drives with FAT32 filesystems to backup data, but I have a problem with mounting and dismounting the drives and I am not sure how to fix it.
Attached is my first attem...