

InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
551. |
Solve : red hat changing prompt? |
Answer» I know the command and everything but its saing that it isnt one. PS1 = '[\U @ \h \W]'it should give me the user, host and the pc name right?never mind its too late. I just ened up taking my test.It would depend on which shell you were using... sh, bash, csh, KSH, tcsh, zsh, ETC., etc., etc.oh, It was a bash shell and I didnt have PS1. I had ps1 big DIFFERNECE |
|
552. |
Solve : Yellow Dog linux on ps3? |
Answer» Hey everyone |
|
553. |
Solve : Firewall withdrawn from RedHat Linux 4.0 Mail Server? |
Answer» Dear Sir |
|
554. |
Solve : Install wine?? |
Answer» How to install wine via terminal please help? where can I get yahoo msger for linux mint ?To install wine follow its installation instructions http://www.winehq.org/site/downloadMint is DEBIAN-based, so you want the Debian binaries. |
|
555. |
Solve : map home directory? |
Answer» hi all, im trying to map home directory via samba which i can accomplish but is there a SIMPLE way to map it to something other than the DEFAULT Z: ? i REALIZE it can be done manually thru the net use command but im WONDERING if there is something simple that can be done in smb.conf to use a different drive letter for each user everytime he/she connects? the client workstation is running XP and server is Fedora Redhat.....your insight would be much appreciated!! |
|
556. |
Solve : static library? |
Answer» How to INCLUDE STATIC library and how to GIVE path name while COMPILING. |
|
557. |
Solve : need help installing DSL on a custom build? |
Answer» I've got this system I'm installing DSL (d**n Small Linux) on for my BROTHER. The boot CD works fine, however, I have no clue how to create a EXT2 or EXT3 partition on the 15GB IDE Maxtor hard drive. [EDIT] I get an error when I try to install even though I MANAGED to use cfdisk to create a partition, the error is something about a "BLOCK Special Device", the drive is what there TALKING about i think. any idea what this means? |
|
558. |
Solve : GRUB - Toshiba boot loader? |
Answer» Quote from: masmace on April 08, 2010, 06:10:05 PM From what I've read on the web Ubuntu now has an EASY feature that installs it safely inside of windows http://www.windowslifestyle.com/index.php/2010/03/install-ubuntu-inside-windows-7/ The Toshiba screen will not be affected either way. I'm not really in a hurry to start using Ubuntu, I've used it before and right now I'm just playing games on Windows.Yes that will work really well for you. The feature of installing inside Windows is for people who want to try but maybe not keep it. If you decide you like it then you can install it on your hard drive. I'm glad you've figured it out hello, i found this topic looking for xp bootloader problems. may i offer my recent (3 days ago) experience with the latest ubuntu distro. as a preface, i've been trying out linux since at least 5, and before that red hat, because it is such a great idea. unfortunately, i find i still have to do my work on windows. reluctantly moved up to xp from wonderful W2K about 4 years ago. and now considering a 7 install, but will wait a year or two for a service pack to come out. vista was like living in a police state, and i ended up giving away a vista laptop for which there were essential XP drivers unavailable. so i am not a windows booster, it's just i know how to keep the whole creaky mess moving along. so, after a nice painfree wubi install of ubuntu 10.x on its own TIDY, last place partition on (hd0), ---moments like that, you have to love linux---but then, the update machine roared into life, and instead of letting me choose which updates i wanted (as it used to), it listed over 300 undates, and then in a flashing window ontop of the update app, it sternly warned that GRUB 2 was the latest thing, and if i didn't get it RIGHT NOW, then some of these 300 updates would be OUT OF SYNC. so, even though i knew better, i forgot that i knew better, and i allowed ubuntu update to do what it wanted, including install GRUB 2, as part of the initial update. so now, 30 hours of work later, and a total clean factory OS cd reinstall of win XP, and format of the laptop harddrive (erasing 6 existing well filled partitions), this error message is still appearing .....blah blah x numbers GRUB rescue> at least i have found a way to avoid the GRUB error and to load the xp OS, by making the boot order 1. cd 2. inside laptop HD 3. ext usb hd 4, 5, 6, usb keys, lan etc. but if i change the boot order and put the ext usb hd above the inside HD, then the GRUB rescue> error still appears. i read up on GRUB RESCUE and all the handy CLI commands that should have worked. but only 2 did anything to move the caret, and they did not rescue the boot. so, i'm going to reflash the bios next thing. after that??? ubuntu 10.x isn't quite there yet, this time either. Quote vista was like living in a police state, and i ended up giving away a vista laptop for which there were essential XP drivers unavailable. so i am not a windows booster, it's just i know how to keep the whole creaky mess moving along.Well said. Vista is not like living a police state. I'm sure anybody who actually lived in a police state can testify that there isn't a form they can fill out to stop it. UAC can be disabled in less then a minute, yet people constantly complain anyway without actually investigating that option, or even stop and realize that the analogy is completely flawed. a Police state is a country that maintains repressive control over the people by means of police (thought police (1984) or secret police, etc). However, Vista is not in control of you. You are in control of it, and it is in control of what programs run. Basically, you are the BENEVOLENT dictator in said police state, and you say what programs live and which programs die and what they are allowed to do when they are born. By default, you have your police set to ask you about everything they do. "we found this program sneaking about where you put Admin access only signs! Should we give him admin access or execute him on the spot?(Yes/No)". If you don't control your program populace, you quickly have a "revolution" where malware and spyware manage to take control. Then your decisions are irrelevant. Analogies between real world historical events,forms of GOVERNMENT and Computing are never apt and are always flawed. In fact I quite recall that ONE member(not sure if it was this forum or not) who stated quite succinctly that The "Browser wars" were going to be bigger then both the world wars put together. I wanted to punch him in the face, because I failed to see any correlation between wars that killed hundreds of millions and involved nearly the entire world, and a couple software programs and their popularity contest.Quote from: BC_Programmer on August 06, 2010, 02:24:50 PM Vista is not like living a police state.Agreed. I use Vista on a regular basis and have found there to be nothing wrong with it. If you don't like UAC then disable it. It is true that Vista will perform slower than Windows 7 in general but it is still a decent OS and has no real problems (unlike ME which did have real probs) with it's general usage. |
|
559. |
Solve : How to open php.ini ?? |
Answer» I NEED to make a CHANGE to php.ini to install a script. I am using cPanel on a *nix server. How to I open php.ini ?Is this a dedicated or shared server?sharedUnfortunately then, you can't. You can use htaccess though. What value do you want to change?I am TRYING to intall PHPMailer and, in their instructions, it says: |
|
560. |
Solve : Kubuntu GPU Freeze? |
Answer» Hi there, |
|
561. |
Solve : Ubuntu LINUX 8.10 Problem? |
Answer» you Linux guys want to keep you secrets. but DINT ask n the end why Gates jobes microsoft and apple beat you. its the same greed MONEY or POWER. YEAH you ll Erse that but that's what U do |
|
562. |
Solve : PHP on Linux/Ubuntu? |
Answer» GOOD Day! I WANT to work with my PHP project on Ubuntu/Linux can someone suggest some programs to use in order to make PHP. Similar to this programs used on WinXP >ConTEXT >Wampserver Don't INCLUDE the database anymore cause I'm USING MySQL.hi all how I can make and enable a WEB server in python for the linux apache here example " http://dotknot.csse.uwa.edu.au/ " |
|
563. |
Solve : Linux Query? |
Answer» Hello, |
|
564. |
Solve : How to make a Linux distro? |
Answer» Hello, everyone. |
|
565. |
Solve : Task Manger in ubuntu? |
Answer» Hi Everyone, |
|
566. |
Solve : How do you stop dillo in DSL from starting everytime you boot?? |
Answer» I loaded DSL and I keep getting the dillo screen at startup and I would like to turn that off. DSL has a few tools to help produce your preffered startup environment. .xinitrc lists PROGRAMS that automatically start after X WINDOWS begins. You can also start non-Window programs by editing .bash_profile and then adding .bash_profile to .filetool.lst. You can even load additional modules and system-specific or required FILES by editing /opt/bootlocal.sh (and then adding it to your filetoool.lst). From: this link |
|
567. |
Solve : monitor problem with both Fedora 13 and Ubuntu 10.04? |
Answer» I'm trying to boot off these two discs and after each one displays the splash screen, the monitor (which is a crt monitor) KICKS into standby mode and doesn't come back. |
|
568. |
Solve : setting up linux environment on window xp? |
Answer» hi, i would like to SET up linux environment on window xp. i know that there are vmware and CYGWIN but i'm not very sure if that is needed for my purposes. |
|
569. |
Solve : Installing Linux to Flash Drive? |
Answer» I'm trying to install Linux to a flash drive, but I keep getting the error message "no bootable partition in table". Or it asks me for a command line entry. Which version of Linux? |
|
570. |
Solve : deliting a xp partion? |
Answer» hey im dual booting ubuntu 8.10 with xp pro and i want to DELETE XP partions . How do i delete XP's partition and make it part of ubuntuUse the WINDOWS xp installer. Their you will find the option delete this partition, create NEW partition, etc.well wont that mess up the ubuntu GRUB thoWhy not just overwrite the XP partition with a linux filesystem? |
|
571. |
Solve : How do you install Flash Player to work on Dam Small Linux? |
Answer» How do you install Flash Player on *censored* Small Linux. I'm new to this software so if someone could please explain how that would be great |
|
572. |
Solve : Help with Conky for Ubuntu Linux please...? |
Answer» I am pretty new to UBUNTU, used windows for the past 10 years. But i am liking it SOFAR. Problem is i like conky, and i really want to get a cool set up like i have seen, with the weather forecast with GRAPHICS, and any other cool things. I've tried to install it a few DIFFERENT times, and It works about halfway, its showing some text on the backround but i dont think its correct, and if i try to open 'conky' in the terminal, it gives me a error. Is there a way i can remove all conky on my computer Code: [Select]sudo apt-get purge conky Quote how to install it all correctly Code: [Select]sudo apt-get install conkyQuote Conky is a free, light-weight system monitor for X, that displays any information on your desktop. Conky is licensed under the GPL and runs on Linux and BSD.do not confuse with .... http://www.youtube.com/watch?v=BgprEgdwoLE |
|
573. |
Solve : permission help? |
Answer» As a regular USER how would I change permissions for a directory?CHMOD.. See here: http://www.ahinc.com/linux101/permission.htm |
|
574. |
Solve : Cool effects On Compiz config?? |
Answer» Ok I have seen o youtube people playing around with the CUBE effect in UBUNTU 9.10 my question is how to GET differetn PICTURES for backrounds on each side of the cube including top and button as seen on youtube.com?Which window manager are you using? |
|
575. |
Solve : Linux compatability?? |
Answer» I've been thinking about kicking Windows for several months now, and Linux looks nice, but I'm not too sure how compatible it is with my existing software. Unfortunately, I've also heard that Linux was a command-line operating system, which is one of my biggest concerns; I'm lost without a GUI... Definitely not so. Quote Basically, I'm looking for a solid Windows alternative: something that I can use to free myself from Micro$oft's iron grip, but which won't have any impact on the things I enjoy most... I think you'll have to wait a bit longer. Running some Windows apps on Linux can be done, but it is not a no-brainer. Quote My biggest concern is that I'd be stepping into a completely unknown world, and I'd be much more comfortable if I had a guide to take me up this river There are squillions of online guides, such as this one https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows Quote So, those of you who have Linux, can it be adapted to work flawlessly with programs designed for just Windows? Not exactly. Quote Can Linux use Direct-X 9 or 10? There is something called "wine" (Wine Is Not an Emulator) Quote Can it look and function like Windows (without the annoying bugs)? Similar to, not the same as. Quote What else should I know about Linux before making a switch? The switch works best for people who are interested in computers and are willing to give it a shot. I think you'll have to wait a bit longer. Running some Windows apps on Linux can be done, but it is not a no-brainer. Quote (Does it have any weird quirks I should watch out for?) Do bears sh*t in the woods? Quote from: Hunter484 on January 24, 2009, 03:40:34 PM Basically, I'm looking for a solid Windows alternative Every Linux enthusiast has his own favorite distribution, but for Linux newbies coming in from the XP/Vista world, I don't see how you could recommend any other distribution besides PCLinuxOs or Linux Mint KDE. http://www.pclinuxos.com/index.php?option=com_ionfiles&Itemid=28 http://www.linuxmint.com/edition.php?id=28 Yes, PCLinuxOS and Mint are more user-friendly than Ubuntu, Fedora, and all the rest. And for people who are used to the XP/Vista GUI, KDE is easier to learn and offers more familiar functionality.Crunchbang Linux http://crunchbanglinux.org/ CrunchBang Linux is an Ubuntu based distribution featuring the lightweight Openbox window manager and GTK+ applications. The distribution is developed from a minimal Ubuntu install and has been designed to offer a good balance of speed and functionality. Also it comes with a lot of GUI config tools and the SVN package manager, so installing stuff is a cinch! But when installing stuff be careful what you go to install, for example if you install a KDE application like Amarok, you'll suddenly find it wants to install the whole KDE desktop, which completely defeats the point of the OpenBox desktop which seems to like Gnome applications in preference to KDE. You can still play games on Linux, Wine-Doors is a package specifically targeted for doing that... However, their are loads of alternative pretty good 3D games already on linux, namely. Alien-Arena http://icculus.org/alienarena/rpa/aquire.html Blood Frontier http://www.bloodfrontier.com/ Tremulous http://tremulous.net/ P.S: I completely FINISHED the battle for Wesnoth with cheats anyone want the spoilers? If you have an ATI graphics card check the Wikipedia on how to install the FGLRX graphics driver before performing any graphic card driver updates or you could find yourself getting caught out. It caught me out and I had to do a few re-install's before I twigged what I was doing wrong.. I wasn't reading the manual http://wiki.cchtml.com/index.php/Main_Page My Desktop Quote Do bears sh*t in the woods?LMAO!! If you swap over to linux with no prior experiance of how it all come's together, I can promise you you'll hate it! But once you've got the experience of using it and you realize how it all works, you'll fall in love with it! |
|
576. |
Solve : Usw Rsync for Windows?? |
Answer» Can you use Rsync under Linux for a backup of Windows? Rsync for WindowsHas anybody done this? Is there an easier way?what about http://en.wikipedia.org/wiki/Grsync you don't mention what flavor of linux & what you are trying to backup?I use rsync under cygwin which runs on windows just fine. I reguarily sync a FOLDER on a windows machine to/from a linux machine. Sometimes the filenames GET a bit messed up but for the most part works PERFECTLY, and pretty fast too |
|
577. |
Solve : GRUB - Fixmbr? |
Answer» GRUB:Where is GRUB located? Will deleting the Ubuntu partition get rid of grub? Where is GRUB located?There are different stages of the grub. Stage 1 is located in the master boot record thats on the boot SECTOR of your hard drive. The boot sector is physically located on the first sector of your hard drive. Stage 2 is usually at /boot/grub in the root partition and can physically located at just about any part of the Ubuntu partition. Quote Will deleting the Ubuntu partition get rid of grub?kinda It will get rid of the useful part of the grub loader - the list of options to choose from. Grub will still be on the master boot record and you will most likely see: "Grub ERROR 22" and you will not be able to boot into windows. Quote What does fixmbr do?It fixes the master boot record. It will replace the data that the grub has written to the mbr with the windows boot loader. Quote Should I use fixmbr before or after I delete the Ubuntu partition?I'd do it after. Quote Will it work?Sure. Although, you may not even have to run the command. First, try the "Startup Repair" option from the Windows DVD. If that doesn't work, then go into the command prompt and type in cd\ and press enter to get to the root of c. At the c prompt type in bootrec.exe /fixmbr and press enter. Awesome, thank you. Startup repair didn't work; however, bootrec.exe /fixmbr worked like a charm. Thanks for the advice and the REASSURANCE (which was what I really needed : ) |
|
578. |
Solve : converting .txt files as columns of an .xls sheet? |
Answer» HI all, I am new to linux. PLEASE TELL me how to convert the multiple text files as the SINGLE .xls file in linux to make a SHELL script. thanks in advance |
|
579. |
Solve : Help!! Stop the Restarts!!? |
Answer» Please someone Help! I'm not entirely new to linux but still have alot to learn so please be patient with me if a say something stupid. I am now just running Debain - Lenny.Quote For some reason my computer is having random reboots. This happens with various distros so I don't think it specific to the distro. even booting to a live CD will do it sometimes. It doesn't appear to happen on Windows 7 though Are you installing the linux distros on a separate hard drive? When the restarts happen with the live cds are you accessing the hard drive(s)? Do the restarts ever happen during installation? What is the wattage rating of your psu? |
|
580. |
Solve : crontab php scripts not running? |
Answer» hi, i created a php script for cron. its working when RUN in COMMAND line (ie: /var/www/html/folder/scripts/FILE.php) |
|
581. |
Solve : Write the script to stop and restart the daemon? |
Answer» There are two two tasks I need to CHECK whtat is the process id, once I find the process id, I need to kill the daemon. |
|
582. |
Solve : Terminal Server Services for Linux Ubuntu 8.04 Desktop? |
Answer» Wondering if anyone knows of a Terminal Server Service Package for Linux that might RUN on Ubuntu 8.04? |
|
583. |
Solve : not connecting to internet? |
Answer» just moved in, got a modem, my computer does not acknowledge a connection!!! says dhcp does not work have done all diagnose and repair options modem works on laptop! i need help i have manually changed ip address doesnt help restarted everything nothing and even more and ideas would be apreciated! Can you get the modem to respond to "AT" commands when you USE tip or minicom to talk directly to it? Go Start>Run (Start search in Vista), type in: If this helps BELLA then she's posted to the wrong forum, as this is the BSD, Linux and Unix forum. |
|
584. |
Solve : Installing OS - Hangs? |
Answer» No matter what Linux distro I try to install.. at some point of the installation.. it always hangs.. would this be a hard drive probleM? |
|
585. |
Solve : Ubuntu: how do I connect it to dialup internet? |
Answer» I'm reading the tutorials and they tell me that I need to go System//Administration//Networking in order to get to the modem settings. Though on my linux distro these settings don't exist. I am using the most current ubuntu, 10.0.4. How do I connect it to dial up internet? Don't forget you need a real modem that connects to a serial port, not a winmodem that relies on software to drive it. Can you substantiate that statement please? I recently set a dial-up connection in Ubuntu 9.10 using a Conexant pci modem, it was what I would describe as a mini nightmare but probably due to my inexperience with Linux. After a successful struggle I found some very good info at https://help.ubuntu.com/community/DialupModemHowto Here is a list of available drivers from which you may be able to download the appropriate driver once you have identified your modem. Good luckThat's a useful LINK, DUSTY. It seems like Ubuntu has changed the policy on including wvdial. You still have the problem that if you need a big PROGRAM that isn't on the installation CD, it will take forever to download. When I wrote about not using a pci-modem that needs a driver, I had your "mini-nightmare" in mind. A "real" modem doesn't need a driver on the computer: it just accepts commands and interprets them for itself. Perhaps Wvdial is included in the later version(s) but when attempting the install of ver 9.10 and RUNNING ModemData the following, which might be of use to the Op, was displayed: Quote The dialer utility package WVDIAL does not appear to be installed on your System. Instructions on how to install Wvdial from the downloaded .zip file follow. In my CASE the required modem driver (k2.6.31_14_generic) was found at this site. Hope the above helps the OP. |
|
586. |
Solve : ubuntu wireless internet? |
Answer» Hey everyone, |
|
587. |
Solve : How to format a pendrive in linux?? |
Answer» HI frnds, I am a new user to linux and i am using Ubuntu UE 2.0.I am now learning to operate it and i want to know how i can format my pendrive in it.Also i want to know the difference between Konsole and terminal?Anybody pls HELP me............. You are using: Quote Ultimate Edition 2.0 : Ubuntu 8.10 The built-in help is very good and you should use it t answer your questions. It is quick and gives you the right answer for the context. In general, a terminal service is were you TALK to somebody else use a text mode, kind of like text messages. And it is also used to do SOMETHING on another computer on the network. 1. http://www.cyberciti.biz/faq/howto-format-usb-pen-drive/ 2. Konsole is the text console program that comes with KDE and terminal is a different text console program. |
|
588. |
Solve : Linux Question? |
Answer» In experimenting with shell VARIABLES, Alex ACCIDENTALLY deletes his PATH variable. He decides that he does not need the PATH variable. Discuss some of the problems he may soon encounter and explain the reasons for these problems. How could he easily return PATH to its original value? This Alex FELLOW sounds like a troublemaker.Too true. |
|
589. |
Solve : Connecting knoppix to xbox via FTP? |
Answer» Hey |
|
590. |
Solve : System Restore for Linux ( ISO or Ghost ) Imaging???? |
Answer» Looking for a way to image my Linux systems and burn the image to DVD-R's. Currently I have one of my sytems set up with dual boot Windows 2000 / Fedora core 6 and use the Norton Ghost 2003 from within the Windows 2000 installation to image the entire hard drive with multiple partitions. The problem with Ghost though is that it can not determine real data from empty space on the Linux partitions so even though Linux may be consuming say 6GB of 20GB and the drive is a 40GB Drive and Windows 2000 is consuming 3GB, the image ends up being spanned to DVD-Rs amounting to 23GB, 14GB of which is empty HD space on the Linux partitions which is very wasteful. Even with max compression? Which Ghost version? Ghost 2003 Quote from: DaveLembke on April 12, 2009, 12:12:00 AM Ghost 2003 I asked if you had used compression in Ghost also you didn't say what distro (version) of Linux you are using, and importantly, what filesystem you are using on the linux partition. Ghost 2003 compressed image mode works with ext2 and ext3 but may have trouble with later filesystems such as reiserfs (used with SuSe Linux) Symantec Knowledge BASE article containing Ghost & Linux compatibility tables: http://tinyurl.com/4wrdlu Thanks Dias for the info and tinyurl link to the compatability of Ghost 2003 with specific distros, and sorry for the lack there of of info in my prior post. I was using Dual Boot Windows 2000 Pro and Fedora Core 5 when I experienced this issue. As far as partiton type I am thinking it was not the normal Linux Partition but a more secure partition type...Might have been XFS My Recent build is 2000 Pro and Ubuntu 8.04 Desktop Distro. I havent tried ghosting yet with this build. Maybe I will have better luck given that the default file system is used with Ubuntu than my Fedora core 5 build of the prior system that ate up DVDs with empty space burned to them. |
|
591. |
Solve : How to get free dial up to work in puppy!? |
Answer» I just installed Puppy on a computer and i am trying to get dial up working if you have any HELP that would be great.Please help guys!!!!!!Which version of Puppy? |
|
592. |
Solve : Help Writing Scripts? |
Answer» I am very new to Unix but I am learning. I am working on script writing. I know a lot of perl but as far as bash and awk and all the other scripting languages that is what I am trying to learn. could you explain the awk a little more. I am just trying to spread my wings with scripting lanuages. I do not know any bash c shell or anything of that sort and I believe it will be helpful to learn. How would I store the output to a variable?don't use C shell. use bash if you can. how to store variable Code: [Select]var=$(last | .....) or Code: [Select]var=`last | .....` #note the backticks, not single quote anyway,please look at my signature for bash scripting guide, as well as some awk resources.I want to see who owns more files me or root? I do not want to include directories in my search. I want it to output two lines...root (# of files) myusername (# of Files). What command tells who owns a file? and where is a good place to start? I am experimenting with perl and awk right now but I am not eliminating other options. Thank you awk is a pattern recognition language. It is very powerful. I recommend PURSUING it, but I'd spend a little more time with shell script commands. Get used to how you can use them before you go on to awk.I was going to use find. If I am in a directory bla/bla/crap and I want to start my search from the root how do I do that? is it find / -name myusername ? How do I count all of them?Quote from: Circuit_Girl on March 19, 2009, 07:03:08 PM I am very new to Unix but I am learning. I am working on script writing. I know a lot of perl but as far as bash and awk and all the other scripting languages that is what I am trying to learn. You may want to to the following bash web site to get some education on bash scripting. http://www.bashscripts.org/ |
|
593. |
Solve : Ubuntu user password. How can I reset it?? |
Answer» Ubuntu user password. How can I reset it? well as you can see Linux is SOOO You wee joking..Right? Windows has the potential to become very secure, because they do not have to maintain compatibility with thousands of programs that are GPL.The windows programmers can work under one roof and keep their work private. So they should have an advantage. But time will tell.Quote from: Geek-9pm on April 15, 2009, 10:31:15 PM because they do not have to maintain compatibility with thousands of programs that are GPL. But they have to make sure that popular programs, which often do the wrong thing still work in newer windows versions. This is the reason programs become "incompatible"- They change some undocumented or broken behaviour in some obscure DLL, and then suddenly they discover that company X's popular, thousand dollar application, Y was depending on undocumented behaviour. This is like when programs would assume that a handle was a 2-byte integer. They would litterally declare their handle variables as a short. the accepted method was to use the appropriate typedefs in windows.h- and they found out why when they tried to PORT their applications to windows 95. Half the work of making a program "compatible" with a newer version of windows- in fact half of the investigation to find to cause, is done by MS, NOT the company who created to program. So don't say that MS doesn't make any effort to keep programs compatible. Somehow I think stepping through the dissassembly for DOOM to make it run on windows 95 (this is MS, NOT ID software- ID software had the money from their sales and probably didn't give a rat's *censored*). http://blogs.msdn.com/oldnewthing/ This is why they create APIs rather then just spell out what behaviour should occur. this way, if they want to change the behaviour, they change the API, and then all the programs that were written correctly to use the API rather then make assumptions about the location of folders and registry keys will use the new method without recompiling a DLL. Besides- Linux doesn't maintain very good compatibility between distributions. Half the time you have to make sure your kernel is correct, your compiling with the proper version of GCC, your not using some switch that bugs out with the NEWEST version of the C precompiler. All the while reseting a password on this supposedly "secure" operating system consists of simply deleting a file. I can totally see why security zealots love linux so much.Quote All the while reseting a password on this supposedlyI was surprised too when I found that Ubuntu makes it so easy. Years ago I have a dial-up ISP using Red Hat. The gave some free space to each user. I could log in with a terminal to upload stuff to my page. I was surprised by how I could move up the dir tree and see the names of other users. I could not get into their folders, but just the idea that I could go up one level and see them! Hard to believe! Just knowing the user names on a server is a security issue. Hey, now with that insight, can I get a job with your company as a security expert!Come on guys. With all of the: ""Help!!!!! I forgot my password Help!!!! my IDIOT brother changed the password Help!!!! my 2 year old son changed my password Help!!!! my crazy ex hacked my system and changed my password Help!!!! I have been out of the country for 6 months and forgot my password Help!!!! my companies ex-IT person changed all the passwords before quitting the company Help!!!! my neighbors, girl friend's, cousin's, brother's, father's, sister's goldfish changed my password"" type post we see and tell the posters we can't help them we are going to just leave this one as is?Quote from: mroilfield on April 16, 2009, 12:16:27 AM Come on guys. Well exactly. Quote from: Geek-9pm on April 15, 2009, 11:38:12 PM I was surprised by how I could move up the dir tree and see the names of other users. I could not get into their folders, but just the idea that I could go up one level and see them! Hard to believe! Just knowing the user names on a server is a security issue. This can easily be fixed chmod go-r /users The point is that Unix systems are more secure when connected to the internet, and as no-one wants to spend $2 million on a server only to find that they have to scrap it because someone accidentally mis-spelt to login shell for root, so they have been designed with the concept that if you physically break in to the server room at the company's HQ then you can reset the root password. Unfortunately, for a small linux system at home, you don't have a security guard patrolling your lounge to check your younger brother isn't hacking, but at least if you change the locks on the front door your ex shouldn't be able to hack it as easy as they would a Windows system on the internet.Good point, banjo67xxx. There is a supposition built into the Linux ethos (isn't there?) often misplaced I guess, that Linux system administrators (that's you, if you run a Linux box) know what they are doing, know how to find out the things that they don't know yet, and know what they need to do to maximize security. Encrypt their DATA, prevent booting from CD, access control for the server room, whatever. On the other hand, you cannot make that assumption at all about Windows users. If set up properly, LINUX is far superior to windows for security. Go to http://www.theregister.co.uk/2004/10/22/security_report_windows_vs_linux/ to get an independent assessment.ahh, of course- in person it really doesn't matter how secure it is. it's the internet facing vulnerabilities. Anyone recall that red-hat had a backdoor accidentally left in? I think it was "pinata" and I forget the password. They have of course fixed this, I think it was in one distro for a very short time. regardless, if I was going to create a server, I would definitely go with some form of Linux, if only because I don't want to have to pay for a server version of windows, or fiddle about with IIS or something. Also because I haven't done anything really with Linux. |
|
594. |
Solve : Script to Check File Ownership? |
Answer» I want to see who owns more files me or root? I do not want to include directories in my search. I want it to output two lines...root (# of files) myusername (# of Files). What command tells who owns a file? and where is a good place to start? What command tells who owns a file? and where is a good place to start?man find.I did that I found i have to do something like Code: [SELECT] find / -name -root I do not know how to count the entries and start from root I think find / does that. I am not sure?i meant find -user To determine how many files there are in the current directory, put in ls -1 | wc -l. To accomplish what I think you want, play around with this one line command which you can modify & turn into a script. ls -lR|grep -v ^d|grep YOURUSERNAME|wc -l NOTES: ls -lR (that's an "L") cap. R for recursive grep -v ^d will exclude directories grep YOURUSERNAME includes all files with your username wc -l (that's an "L") will count each line & DISPLAY the count.Quote from: BKDC on March 27, 2009, 03:22:15 PM ls -lR|grep -v ^d|grep YOURUSERNAME|wc -lthe above method may not be accurate as you might have owner as someone other than root, and the GROUP is root. Code: [Select]ls -lR|awk '/^d/&&$3=="root"{s+=1}END{print s}' |
|
595. |
Solve : Need help with Linux Mint.? |
Answer» I installed Linux Mint on an old computer that had ME on it. The first problem I had was I didn't give it a password ( In Windows I never use a password.) and now it wont let me in. I plan to reload it and give it a password that I will remember. The next problem when loading the system it asked for internet information that I didn't UNDERSTAND. When I load Windows on a PC at the end I just put in the Earthlink disk and do as I am told. How do you set up internet in Linux Mint? As you can tell I am new to Linux and would like to learn how to use it. I know that I can get drivers from Intel to make the mother board work. Will Linux Mint play DVDs or do I have to load other programs for that. I don't know any thing about this stuff. I need all the help I can get with this stuff. Thanks for your time and information that you people give so freely. a) The Linux Mint forums http://forums.linuxmint.com/viewtopic.php?f=46&t=24306&p=142114 say that you can use sudo with your oridinary user password, and then you've GOT 5 minutes to do what you want. So I guess you could set the root password with passwd root after using sudo |
|
596. |
Solve : does anyone know of an OS without command line, shell terminal etc...? |
Answer» does anyone know of any operating SYSTEM that doesnt use power user LIKE command line or terminal etc Im not used to os like linux based os, that makes use of a shell terminal, commands and stuff like that...I prefare windows-like os that you can only use your mouse to sort things out...as in making browing, downloads very easy.you don't need to use command lines/terminal when using Linux. Quote from: Geek-9pm on March 29, 2009, 08:36:10 PM
Before I even owned a computer I programmed in PICK BASIC on a Norsk Data minicomputer.Dias de verano. you are showing your age. You may want to try PCLinuxOS. Althrough it still has a terminal window much like MS Window command prompt , it also has a gui control center for both user and admin tasks. If interested go to this link. http://www.pclinuxos.com/ |
|
597. |
Solve : Red Hat Copy Files? |
Answer» okay we started doing this and I'm TIRED of waiting I KNOW you GUYS will get to this faster. I want to copy a file from one file to another cp /home/robert/phones2 /home/robert/corp_db but it gives me an ERROR and I have THREE dir. HELP.firgured it out was missing a dir in the path |
|
598. |
Solve : Best way to transfer Linux to another drive...? |
Answer» I think I am going to grab an unused older 40GB drive from my school for my server so I can better to remote backups... can I connect more than two drives to it if I have a cable that is split into three I've never seen three on an IDE cable, before. Quote and can I use the one mainly intended for the CD-ROM drives for hard drive? Yes. So, I could potentially put 4 drives in my computer? Yes, you can put four good IDE drives on one computer. Use good quality cables. Make sue the drives are similar in quality and structure. There is a utility often used in Linux for partition management. It can also copy portions to free space. If the disks are perfect, it works find. If the disks are flaky..ER.. not so good. Google this: Gparted hard disk partition manager for Linux I have it on a Bookable USB drive. AFAIK you can only have a Master and Slave on an IDE bus, so I assume you have 2 IDE buses in which case you can connect 4 drives (i.e. 3 disk drives and 1 DVD drive) If you already have Linux booted on the system then you don't need to use GPartEd as you can run fdisk from linux to partition the new drive. There are several ways to copy the filesystems from your old drive to the new one. I think that the easiest would be to download Knoppix and use that to boot from DVD, and then use dd to copy the original boot partition to the new boot partition (its never a good idea to use dd to copy the root filesystem whilst you are booted from it, as dd has no way of keeping track of what changes occured whilst the disk is being used, and fsck might not be able to repair the copy) You need to ensure the destination partition is the same size or bigger than the source partition, and if you want you can grow the filesystem you can use resize2fs The final step is to use install-grub to make the new disk bootable, and if you're doing all this from Knoppix don't forget to mount the filesystem on /mnt and use --root-directy=/mntput drive 2 on primary ide secondary. Make sure to move jumper to secondary position before inserting drive. Boot into linux. Login with root. at the # sign type in the following: dd if=/dev/hda of=/dev/hdb this will make an exact duplicate of the first drive. do a shutdown and power off. Change the drive jumper again to primary and you should boot off it to make sure its working before transfering it to a new case. warning it MAY TAKE some time depending on the size of the drives INVOLVED. also one other thing, the new drive should be as large as if not larger than the older drive. Mind you if there is any difference in the motherboard this drive is installed with you will need to make sure kudzu runs if it's 7.2 or newer OS, to unconfigure and configure the new motherboard's devices.I use Ultimate Boot CD, anyone familiar with that at all? Anyways, I tried using multiple cloning tools in it, and none worked... should I assume it was a configuration problem, or something else? The UBCD you have may be older software. The free Linux partition manager is here: http://gparted.sourceforge.net/ Gnome Partition Editor is also on bistros like Ubuntu. Try it. Is is free. Pretty good food at the Ubuntu bistro ... Quote Pretty good food at the Ubuntu bistro ... WinkYeah, did you see me there? they wouldn't let us in the VIP room. something about lacking the beak for it. |
|
599. |
Solve : Fixing dual boot? |
Answer» I have a laptop dual booting vista & 10.04lts |
|
600. |
Solve : Need to simplify searching HUGE logs? |
Answer» I’m looking for a WAY to search a huge log file for a string but I need the output to show me something like the 10 lines before or after the string. We have an application that generates HUGE logs. I can grep the logs for a text string but the output doesn’t show me everything I need to see. So, once determining the string is present I have to go into the log and go from {pattern} to {patern}, sometimes all the log entries for an event can be spread over hundreds of lines, with other events mixed in, depends on when the other interfaces respond. Hundreds of lines cover only a couple seconds. |
|