Archive for the ‘Linux’ Category
Posted on June 17, 2009 - by admin
How Else Can I Get Firefox On Linux?
I had to restore my computer. The only way i could get firefox was on CNR. CNR closed there account. I have tried the website and it won’t download. I tried using terminal and it says permission denied and i am in the root user. Is there any other way i can get firefox or at least flash player or something?
idk what kind of distro im using. It wouldbe helpful if you told me how to figure that put too.
Posted on June 17, 2009 - by admin
How Can I Copy A File In Linux?
I downloaded real player for linux,but i was copied to desktop since it has no file permission to .bin…what is the difference between .bin and root? if i want to run a video in realplayer do i need to copy real player to .bin to run real player so that i can watch videos? iam totally confused with playing a videos in linux versions.
Posted on June 16, 2009 - by admin
Sudo Command Not Supporting Useradd In Linux?
I had configured visudo with a user to enable it to run commands on behalf of ROOT.
but the problem is that the local user who was given sudo power was not able to run useradd command. it shows an error that USERADD is not a command.
I had added user1 all=/usr/sbin/useradd in visudo but in vain.
please tell me what the problem is?
Posted on June 16, 2009 - by admin
How Do I Get Tftp Started In Linux 2.6.9? ?
It’s got me beat. Help please.
[root@wiaki2 xinetd.d]# uname -a
Linux wikai2.pcmt.local 2.6.9-55.0.12.EL #1 Wed Oct 17 08:06:32 EDT 2007 i686 i686 i386 GNU/Linux
[root@wiaki2 xinetd.d]# pwd
/etc/xinetd.d
[root@wiaki2 xinetd.d]# cat tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
/etc/rc.d/init.d/xinetd reload
ps -ef | grep tftp
[root@wiaki2 xinetd.d]# ps -ef | grep tftp
root 3859 3697 0 22:54 pts/3 00:00:00 grep tftp
/var/log/messages:Aug 28 22:46:24 wiaki2 xinetd[3796]: readjusting service tftp
/var/log/messages:Aug 28 22:50:59 wiaki2 xinetd[3796]: readjusting service tftp
Posted on June 16, 2009 - by admin
Linux Questions…?
I have an exam this week and the review contained 200 exam prep questions. I have answered and worked my A. off on the and these are the 25 out of 200 I couldn’t figure out. They may seem remedial to some of you but I am asking to please help me with these last few so I can study the correct answers thanks.
6. Which of the following is not a responsibility of lpd?
A) Maintaining printer queues
B) Accepting print jobs from remote machines
C) Informing applications of printer’s capabilities
D) Sending data to printers
14.Where may the Linux root(/) partition reside?
A) On a primary or logical partition
B) On a logical partition only
C) On a primary partition only
D) On a partition that falls below the 1,024th cylinder
19. Which of the following may be used to create a swap partition?(Choose all that apply)
A) dd
B) mknod
C) Linux fdisk
D) PartitionMagic
24. Which programs can be used to load a module?(Choose all that apply)
A) insmod
B) rmmod
C) modprobe
D) depmod
25. Which of the following directories must reside on its own partition.
A) /boot
B) /
C) /home
D) None, it’s optional for all directories
Posted on June 16, 2009 - by admin
How To Get Apache To Run Linux Shell Commands?
I am trying to run some shell commands from PHP on an Apache webserver. My Apache is running as nobody and therefore can not execute these commands which must be run as root. I have been thinking of using ’sudo’. Just wondering if there is any other ways to get around this permission issue. Thanks!
Posted on June 15, 2009 - by admin
Linux Questions?
I have an exam this week and the review contained 200 exam prep questions. I have answered and worked my A. off on the and these are the 25 out of 200 I couldn’t figure out. They may seem remediale to some of you but I am asking to please help me with these last few so I can study the correct answers thanks.
1.Which of the following are power management protocols?
A)ACPI
B)PPP
C)SMTP
D)APM
2. Which of the following would you want to remove from a system that would serve solely as a firewall?(Choose all that apply.)
A)init
B)Telnet client
C)Linux Kernel
D)Apache server
3. Which tool would you use to setup a firewall on a Linux system?
A)Apache
B)iptables
C)wall
D)TCP wrappers
4. What is the intended purpose of the rc.local or boot.local startup script?
A)Sets system time zone and language defaults
B)Holds startup commands for its specific computer
C)Displays startup messages
D)Verifies that all other startup scripts are operating correctly
5. Which of the following protocols can help with configuration of SCSI devices?
A)SCAM
B)SMB
C)ASPI
D)ATAPI
6. Which of the following is not a responsibility of lpd?
A)Maintaining printer queues
B)Accepting print jobs from remote machines
C)Informing applications of printer’s capabilities
D)Sending data to printers
7. Which of the following would show the contents of a tarball, including size and time stamps?
A)tar xzf
B)tar tzf
C)tar tvzf
D)tar x
8. Which of the following does an ethernet switch allow but a hub does not?
A)100Mbps operation
B)Linking more than five computers
C)Full duplex operation
D)Use with 10 Base 5 cabling
9. What types of devices may be attached via the USB port?(Choose all that apply)
A)Keyboards
B)Modems
C)RAM
D)Mouse
10. How would you direct the output of the uptime command to a file called uptimestats.txt?
A)echo uptimestats.txt
B)uptime > uptimestats.txt
C)uptime | uptimestats.txt
D)uptime < uptimestats.txt
11. What role does BIND fill?
A)Allows programs to use dynamic library files
B)Translates between names and IP addresses
C)Ties together POP and SMTP servers
D)Binds and IP address to a network interface
12. You think that a router between you and a server is preventing access, which command would you use to narrow down where the problem is?
A)nslookup
B)ping
C)traceroute
D)netstat
13. Which of the following when typed in Vi’s command mode, saves the file and quits the program?
A):rq
B):wq
C):rp
D):we
14.Where may the Linux root(/) partition reside?
A)On a primary or logical partition
B)On a logical partition only
C)On a primary partition only
D)On a partition that falls below the 1,024th cylinder
15. Where in a network may a network firewall reside?(Choose all that apply.)
A)In the walls between important offices
B)On an individual computer
C)In a router between network segments
D)In expensive network cables
16. Which of the following commands would provide information on programs that are consuming too much CPU time?
A)cat /proc/cpuinfo
B)df
C)top
D)uptime
17. Which of the following commands would allow you to view the last few lines of a file?
A)lastlines
B)bash
C)cp
D)tail
18. Which tool can you use to measure a hard disks speed on a Linux machine?
A)fdisk
B)e2fsck
C)speedtest
D)hdparm
19. Which of the following may be used to create a swap partition?(Choose all that apply)
A)dd
B)mknod
C)Linux fdisk
D)PartitionMagic
20. Which of the following commands will install an RPM package?
A)rpm -Uvh
B)rpm -i
C)rpm -U
D)rpm -e
21. Which of the following is true of public domain and open source software?
A)They’re the same thing
B)Both allow free distribution of software
C)Represent opposing philosophies
D)They can not legally appear on the same distribution medium
22. Under which of the following circumstances might you need to edit the /etc/fstab file?
A)A hard disk has been added to the computer
B)A zip disk has been added into the zip drive
C)System performs a disk check and reports no errors
D)/boot/grub/menu.lst boot options has been changed
23. What tool can diagnose and correct many common Linux filesystem problems?
A)mkfs
B)fsck
C)chkdsk
D)scandisk
24. Which programs can be used to load a module?(Choose all that apply)
A)insmod
B)rmmod
C)modprobe
D)depmod
25. Which of the following directories must reside on its own partition.
A)/boot
B)/
C)/home
D)None, it’s optional for all directories
Posted on June 15, 2009 - by admin
How To Mount Pen Drive In Linux Red Hat Without Logging In As Administraor?
while using the mnt command it asks for the password of root
i dont have it ,so how do i mount the pendrive.
also i am logging in as regular user & not the administrator.
Posted on June 15, 2009 - by admin
I Need To Find A Hacker For Ssh On Linux?
This is a tricky question, but I need to find a hacker to teach me the methord of brute force attacking with ssh so I can protect my server.
I opened up my server to the outside world, and within 12hrs my root password had been changed. I now know how to stop this but would like to know how it was done.
Posted on June 15, 2009 - by admin
I Need Linux To Send Email Automatocally Whenever A User Login To System?
for example whenever a user login as root to linux machine an email should be sent to me