Sponsored By


Linux Experts
  • Content Count

  • Joined

  • Last visited

Everything posted by iccaros

  1. iccaros

    Linux Name Needed.

    "That'll be your legacy once your distribution takes off and challenges the other distros." Now thats funny..... I just want it to work ... But I like your thinking........WORLD DOMINATION...in a little box..
  2. iccaros

    Networking Questions

    if this is a windows share or should I say windows drive its how your are mounting it in your fstab.. put a umask =0 or the mount command for example mount /dev/hda1 /mnt/winders -o rw,umask=0 a fstab woudl look like this /dev/hdf2 /vmware ntfs user,noatime,rw,umask=0 0 1 I Think this is the part you are missing.. but I could be wrong.. been before.. being a ntfs or fat32 folder the unix permission do not matter, as in ownership as when you put the active blocks on hte ntfs or fat file structure they mean something totally diffrent than they do to a unix/Linux partition.. the umask=0 means to not put any unix mask on the mount.. the rw means mount it as read writeable. This will give you access. I hope this is your problem. I think the default mandrake ntfs or fat mount is umask=077 which locks everyone out except root at mounting. Your problem is MS incompatibilitys with permissions standards in there file systems. since they change their standards (between fat fat32 ntfs 4 ntfs 5 all diffrent) programers gave up on keeping up. you will notice that all Unix/Linux file systems use the same permision standards. UMASK(2) Linux Programmer's Manual UMASK(2) NAME umask - set file creation mask SYNOPSIS #include <sys/types.h> #include <sys/stat.h> mode_t umask(mode_t mask); DESCRIPTION umask sets the umask to mask & 0777. The umask is used by open(2) to set initial file permissions on a newly-created file. Specifically, permissions in the umask are turned off from the mode argument to open(2) (so, for example, the common umask default value of 022 results in new files being created with per- missions 0666 & ~022 = 0644 = rw-r--r-- in the usual case where the mode is specified as 0666). RETURN VALUE This system call always succeeds and the previous value of the mask is returned. CONFORMING TO SVr4, SVID, POSIX, X/OPEN, BSD 4.3 SEE ALSO creat(2), open(2) Linux 1998-08-09 UMASK(2) ~
  3. iccaros

    Networking Questions

    what is giving this error? if its linux make a link to the folder and make that origianl folders permisions readable by your user.. example.. I have my home folder with SAMBA share to my windows box (running in vmware .. but still a network connection) I have onoly my homw folder shared.. but I wanted windows ot have access to my usb flash drive. so I made a folder for my flash drive called /mnt/flash (inventive is it not ) then I did a chown username /mnt/flash/ I then did a ln -s /mnt/flash/ ~ (note ~ tells the shell to put it in your home folder don't replace ~ with your home folder teh shell knows what it means.. ) this made a link to the folder /mnt/flash to show up in my home folder and is now accessable by windows.. NFS would work the same way.. but how are you mounting NFS ni windows with services for Unix or
  4. iccaros

    Linux Security

    also SuSE announced today a major problem with 2.6 kernel.. it could allow an attacker to shutdown a Linux system running kernel 2.6 and IPTAbles with logging.. this sounds really bad.. untill your read the new (a old kernel as they are at 2.6.9) has the fix already.. Windows never performs on that scale .. or that fast.
  5. iccaros

    Linux Security

    "......., while a few respected knowledgable opinions around the message boards indicate that a default install of pretty much any distro would be less secure than windows." First this statment is incorrect.. When you install windows your first user is an administrator. (this is not including the administrator it creates for safe mode). What does this mean.. well a basic linux install in more secure than most windows installs in couperations because the split in task between users and administrators. when you log in to windows as that user (it even logs you in by default with no password) you are now at risk , your whole system is at risk. why IE, firefox, Outlook MS word are all running at admin level with access to yoru computer as an admin. With a basic linux install (NOT LINSPIRE they are EVIL and WRONG) your first accout is root and then it has your create a user that has no admin rights.. if you are using slackware or Gentoo your user can not even switch to root as they are not in the wheel group. so if they come on some spoofing in the internet or open a email with a virus it can not infect the system.. do you see the big diffrence.. for windows to be as secure as a default linux install you would have to remove the first user and create limited users only. but hten you can't play Games or do a lot of Internet stuff. next is attacks.. MS is not attacked more because they are more popular.. if that was true Apache would get hacked 3 times more that ISS (MS web server) because they control upto 3/4 of the market. But ISS is attacked succeffuly 2 to one to apache. another diffrence is when apache is is broken into the attacker can only effect files and folders owned by usr apache.. but ISS is ran as administrator on a windows box. this means that an attacker can after cracking ISS, have access to your entire system as a administrator. next is virus.. agian on linux you run as a user with no admin rights. you ONLY have rights to your home folder. which means if you get a virus (one of 20 that are out their and only 5 run on the 2.6 kernel) only you are infected.. while on a windows box if you are not a limited user (99.9% are not) you can infect you entire network. next is how easy it is to write programs to hack windows.. Linux/Unix is based on C.. all source is posted so people can see if there is a hole or test better for holes... Windows 2000 adn up is based on Visual C++ with a Visual basic core.. that means with these tools any kid with no programing skills can attack the heart of a windows box. Most viruses are run as Visual Basic programs adn htis is the real reason their are so many. its too easy for people with no real computer skills to write a bad program for windows.. updates.. Microsoft says they put out patches to 90% of their problems faster than Linux.. thats true.. but the wrong question. the correct question is who fixes threatning bugs faster and more offten.... they claim that Red Hat took a year to fix two bugs.. we'll yes and no. they had to do with CVS.. what you ask.. 99.9% of Linux users and Red Hat useres do not have CVS running or what it is.. the bug was not secuerity it was that it could crash if more that 10 people loged in at one time.. so its is not as important a fix as a kernel bug that allowed people to exacute scripts on the host machine.. this was fixed in a day. Windows has 6 serious secuerity vaulabuilitys fixed in sevice pack 2. but that is not good for 2003 server or for windows 2000. they say they will never fix the problem with these so what would you rather have.. a bug tha effects .1% and is easy worked around and poses no real threat.. or a but that makes your system open to a attack but will never get fixed.. all software has problems.. but you can do some things to make it more secure.. first if you run Linux 99% of all aka "hackers" will not have a clue what to do .. they are script kiddies with visual basic tools they did not create. next. innetd is turned off be default on a linux box..not so on a windows box... do a port scan of a newly installed windows box and a newly installed linxu bax.. (before any patches) you will find 20 open ports on windows and 2 open ports on linux ( if you install the default firewall you will see one out going http port) but don't just trust me.. but this is what I do.. I am a Network engineer at SAIC (the same people whos lab test for Government secuerity standards) but you need to know what a PL level is and a CC level is to make that matter. I work mostly for NSA, DISA, DoD, FBI, CIA these are the coupters I have to secure and test for being secure. look at the nsa site and look at the windows secuerity configueration guide its 100 pages long of things you must turn off to run windows on a US Government network (and this is UNCLASS) the linux guide is 20 pages and is mostly make this file read only and turn off inetd .. most of the linux stuf is already by default.none of the windows is. http://www.nsa.gov/snac/index.cfm?MenuID=scg10.3.1 good site to see. http://www.theage.com.au/articles/2004/10/...l?oneclick=true Thanks for the question.
  6. iccaros

    Favorite Wm?

  7. iccaros

    Favorite Wm?

    it depends on what I am doing.. mame box is running no gui every thing is SDL mythtv is running evilWM program creation box is running fluxbox work space laptop kde 3.3.3 SunRays are running Gnome (limitation of sunray server 3.0 beta) X thinclients running Blackbox..
  8. iccaros

    Bash Script Help

    changed to case statments now works..
  9. iccaros

    Bash Script Help

    ok I'm writing this install script .. you can see I have functions that do somethings (most are not done).. what I am having a problem with is the last 8 lines.. the if statments for the menu.. I have tried if and elif but it only takes options 1 the rest it ignores.. I have no clue why.. I now made mutiple if statments.. but still same thing.. also tried (as you can see) to change numbers for letter.. no work. the partition (option 1) is the only one working. thanks for any help #!/bin/bash #this is the start to a installation program for my linux distro #Author: William Huskey <[email protected]> # Some functions come from Tomas Matejicek <http://slax.linux-live.org> slax install script as noted above function. # copywrite 2004 under the GPL www.gnu.org for a copy #create temp variable TMPFILE=/tmp/steve-installer-tmp rm -f $TMPFILE DISK="hda" #begin with header information clear echo "This Program will assist you in installing Steve Linux to your hard drive." echo "Please answer the questions and this will be a simple process." echo "are you ready Y/n" read a #this is just a pause to let the user read the output above if [ "$a" = "n" ]; then echo quit installer exit fi this will start the main part of the install program function menu() { clear echo "There are severl things need to be done to install a Operating system." echo "the following will allow you to do so" echo "1. Partition harddrive" echo "2. format Partition" echo "3. IF you already have a formated partiton before starting pick me" echo "4. install OS" read Menu_choice } #This Function will format a partition for swap function swap () { mkswap /dev/$Swap swapon /dev/$Swap } #This function will format the correct partition function format () { echo choose which format you will use echo 1. reiserfs echo 2. ext2 echo 3. ext3 read FMAT mkfs.$FMAT /dev/$HD } #This is the function to partition your harddrive function partition () { /usr/sbin/cfdisk /dev/$DISK menu } #this function will make the install folder and mount it function mnt () { mkdir /mnt/install DEST="/mnt/install" mount /dev/$HD /mnt/$DEST } # This function will allow you to choose what partition the user already has will be used # this function is derived from the Slax-install script function Usr_Pik () { if [ "$1" = "" -o ! -d "$1" ]; then ls -aA1bd /mnt/* | while read LINE; do MOUNT=`mount | egrep -v "\(.*bind.*\)" | egrep -v "\(.*loop.*\)" | grep -F "$LINE" | cut -d " " -f 1` if [ ! "$MOUNT" = "" ]; then echo -n "$LINE $MOUNT " >>$TMPFILE fi done if [ "`cat $TMPFILE 2>/dev/null`" = "" ]; then error "You have to mount your partition to /mnt/something first. Try 'mntall' script."; fi dialog --title "Steve Linux Hard Drive Chooser" --menu \ "BEFORE YOU START:\n\ Prepare your disk partition for example by using cfdisk\n\ and make ext2 or ext3 or reiserfs or xfs filesystem on it.\n\ Then mount it somewhere in /mnt/ or reboot Steve Linux\n\ to mount it automatically.\n\n\ All partitions available right now are listed below.\n\ Choose your target partition:\n" 0 0 0 `cat $TMPFILE` 2>$TMPFILE if [ ! "$?" = 0 ]; then exit; fi $0 `cat $TMPFILE` rm -f $TMPFILE exit fi exit } menu if [ "$Menu_choice" = "1" ]; then echo partition partition fi if ["$Menu_choice" = "f" ]; then exit #format fi if ["$Menu_choice" = "3" ]; then Usr_Pik fi if ["$Menu_choice" = "4" ];then exit else menu fi exit
  10. iccaros

    Wireless Question

    jcl.. I use vmware for this .. at $189 its well worth the investment.. runs in linux or (winders).. under I have. dos 4.5 - 6.0 win 1.1 win 3.1.1 win 98SE win 2000 win server 2000 win XP win server 2003 Fedora core 1 & 2 Suse 9.1 Pro Slackware Gentoo Redhat AS3 whitebox linux Solaris 9 solaris 10 FreeBSD OPENBSD and I use it to test live CD's (I build with slackware) I see it as at $189 its cheeper that a new system.. plus I can logon to my works windows network and get stuff done with out exiting gentoo.. also I can design networks and test them on my laptop.. with 1 gig ram I can run 3 OS as a time (host plus 2 guest)
  11. iccaros

    Internet And Startup

    just for the record I have always used the Kernel driver for the nvidia network card with no problems (since 2.6) .. but as it seams he is using red hat (9?) and its using probaly a 2.4 kernel the Nvidia nforce drive is probaly the best choice http://www.nvidia.com/object/linux_nforce_1.0-0283.html but they must have kernel development installed.... before this will work also I belive you need to do a export GCC=gcc3.2 before running..
  12. iccaros

    Best Distribution For Learning?

    there is a big debate on most Linux boards on what is the best distribution to learn Linux on. here is my opinion. one what do you mean by learn? if you what to learn how to navigate then www.knoppix.org or www.morphix.org,. one is gnome based and the other KDE based. but like the standard windows user, running programs does not mean you know anything about the OS. running programs in Linux is the same as running programs in Winders... there is a standard to making GUI based applications. after you run Linux from Mandrake or SuSE (put in the standards here) it will be the same as running winders. the only difference is the name of the applications and the way some work. this is great if you just want to use the computer for the Internet or play music or you know the standard winders things.. but doing all of this will still leave you knowing nothing about Linux. why.. you can run Firefox in winders, along with the GIMP and OpenOfiice. you can even use VI, TED and GMACS. you have access to GCC and KDE and Gnome under windows. there is a bittorrent, GAIM and cdrecord tools also made for windows. so why use LINUX... this comes to the key answer to your question... what do you mean by learn.? If you what to see if a more stable system will run the type of applications you use then fedora, mandrake, SUSe, linspire, sun java workstation are all your choice. they all rate the same. if you are looking at this as education on how UNIX type OS work and would like to work in this field or just what to be a power user then these are all wrong, (note. unless your like HITEST, who uses these board to help others and help him self learn more.. ) I would go with slackware or Gentoo. while they are "hard" to install this is about learning not something holding your hand and hiding all the magic. so what is the point. they are all Linux correct? we'll yes.. but if you install Slackware or Gentoo and understand the boot sequence (RC) and you understand how to build a kernel and modules, when you go to work or a friends house and they run Fedora and they can not get there wireless card to work because there is no program to hold their hand, you will understand the steps needed to make it work. once you learn the "hard" versions, others will be easy. plus why do most IT people who understand Linux like it.. It no because its free. Free means little to an IT pro who just needs to get the job done. I would pay lots of money (or have my company) to make sure my system does not crash and I can go home before 6pm . so why do we like it.. Its stable but the wrong applications can make it crash like a windows system. but the key is its flexible. I can make it run with no GUI (talk about a boot to horse power). I can script out programs at the Command line. I have a choice of command line.. don't like bash try csh, or bourn. I can install programs where I need them. no big registry to break your system... if you really get brave a good way to learn Linux is Linux from scratch. this way you build your own distribution. see why Red hat choose to do thing with RPM's while Gentoo uses portage. good luck...
  13. iccaros


    Bittorrent is a P2P software like kazza or "napster" insted of downloading music its a comunity of sharers to help speed up downloading of large file like knoppix or fedora. while there are probaly people sharing music and movies, bittorrent if not controld by anybody. the indavidual user is the one makeing decisions on who, what and how they share. Sun java is a programming language. java workstation is a catach word for sun. Sun java workstation is a user workstation with lots of java based tools. they also have a linux distrobution that they call java workstation. you have to buy suns java workstation. they have no free version , ironicly you can get solaris (there unix os) for free from there site.
  14. iccaros

    Redhat 8.0 Vs Redhat Fedora Core

    yes the problem is with anaconnda (teh Red Hat installer) and *some* motherboards. anaconda was not rewritten fro the 2.6 kernel so on some older drivers it gives a wrong block placement for partition effetivly over writing part of the partition. this is fixed easly if you supect your motherbaord may have this problem or you don't what to risk windows ( I say wipe windows but your not me) .. use a knoppix disk. use qtparted to make your linux partitions and then install fedora. tell it to keep exsisting partitions insted of auto-partiting. if you have ever used partition magic you'll like qtparted.. it will also resize windows and linux partitions. as for research or knowlage.. I can do both.. in this case its easay I have been red hat certified for a few years now.. so I kind of keep up.. if its red hat , Gentoo or solaris I should have some answers.. I hope it helps..
  15. first you need to knwo what type of scsi.. is it scsi 1 ,2 or 3... then their are diffrent connetions to both.. but once you knwo the type you need you should find good cards for $20 on pricewatch.. mine came with my CD burner (yes it was SCSI).
  16. iccaros

    Linux Tutorals?

    linux.org http://www.tldp.org/tldp-redirect.php?url=/ http://fedora.redhat.com/docs/release-notes/ http://lfs.osuosl.org/lfs/news.html (will tell you haow to build linux from scratch) http://www.gentoo.org/doc/en/handbook/handbook-x86.xml http://www.tonywhitmore.co.uk/core/ (best step by step guides) http://www.linuxquestions.org/
  17. iccaros

    Redhat 8.0 Vs Redhat Fedora Core

    to add to what hitest said.. Red hat 8 in the linux world is old. its samba client did not work well with windows and it uses a old version of GNOME and KDE. both have imporove a lot since Red Hat 8. we now have a whole new kernel branch and a new soud system to linux ALSA compaired to the old OSS of red hat 8.. does that mean Red Hat 8 is dead..no you can up date red hat 8 (argubaly you are makiong it fedora by doing so) see http://fedoralegacy.org/ he Fedora Legacy Project is a community-supported open source project. It is not a supported project of Red Hat, Inc. although Red Hat, Inc. does provide some support services for it. The goal of The Fedora Legacy Project is to work with the Linux community to provide security and critical bug fix errata packages for select End of Life Red Hat Linux and Fedora Core distributions. This will allow for a longer effective life for those releases. To learn more please refer to the About page and the FAQs as for which is better it depends on what you are doing.. using firewall builder to configure a Cisco Pix firewall or a Sidewinder firewall.. its compiles great on the older packages in red hat 7 and 8. looking to run doom 3 in linux with http://www.transgaming.com/.. better have fedora (in this case core 1 works better than core 2) to get a better ideal of the diffrence red hat 8 is to fedora liek windows 2000 is to windows XP. they can basicly do the same things just one has newer toys.
  18. iccaros

    Kernel 2.6.8 Adn Cd Burning

    Linux has decided that reading a file while writing it is a secuerity risk. it is a risk and I am glad they are thinking of secuerity to exploites that have not been used yet. but this does break cd burning. for most aplications you must now be root to burn cd's with kernel 2.6.8 . fixes a NFS problem iwth the secuerity updates. a new growisofs and cdrcord utilities should be out soon to fix this.. if you burn lots of cds stay away from the 2.6.8 kernel until the new cdrecord and growisofs is out. also there is a memory leak in the new kernel that breaks audio cd (sometimes). the 2.6.9 release canadate fixes the memory leak. from the k3b site Do not use Kernel 2.6.8 A patch that was introduced into the kernel shortly before the 2.6.8 release makes K3b and also the dvd+rw-tools unusable on Linux (unless run as root but that is not recommended). The very important GET CONFIGURATION MMC command is rejected by the kernel for reasons I cannot see and writing commands like MODE SELECT also fail (K3b cannot detect CD writers without it) even when the device is opened O_RDWR. Until this issue has been solved I strongly recommend to stick to kernel version 2.6.7. Update: The kernel guys are currently fixing the problem so the next kernel release should work again. Update 2: The problem is NOT fixed in Update 3: Be aware that kernel 2.6.8 also contains the memory leak which makes it impossible to write audio cds, even as root. to see from some patches see the leoville page http://leovilletownsquare.com/ubbthreads/s...=&page=0#651449 from linus .. To quote Linus from a few minutes ago on the linux-kernel list with regard to k3b and growisofs: "Yes. I suspect that these projects have at least looked at each other, so it's probably a problem that has its basis in cdrecord or some "original" program. "And yes, opening for reading used to work. After all, you didn't need a "write()" system call, and the ioctl functions didn't use to check. It's a potential security problem, and one that 2.6.8 fixed, and I don't think we're willing to go back to the old setup. "And trust me - I absolutely _hate_ breaking user-level programs. I'd love to unbreak it from the kernel, but in this case I don't see any alternatives, really."
  19. most old apple hard drives are SCSI not IDE. you need a SCSI card to use them.
  20. " is a firewall really neccessary when I have a wireless router" since a router is not a firewall I would say you need at least one. i use m0n0wall as my router and firewall and wireless router.. have stateful package inspections vpn access from the outside. as for software verses hardware (in case some one asked which is better) ..its all software its where you install it. at your gateway a firewall stops (or slowes down) people from searching your network. a router does not do that (not even with NAT). the firewall on your system stops programs from getting out side your computer. as a unix/linux unser mostly I don't have such problems, but work is a great example. while the boarder firewall stops most viruses from contacting the outside world it does not stop your ystem from spreading the infection to systems inside your network. a local system firewall will do that better. you should have at least one firewall. and unless you added zonealarm or something to your router a router is no firewall.