basic qs after install
Hi,
I just installed linux. q)Can i boot up linux and not have to login and just have SU priveledges? sinec i am the only 1 using this. q) I want o load my fat32 on start up, so do i add the mount command that does this in the etc/fstab file? Is the command exactly the same as doing it manually on the terminal because i think i remember it is a little different? q)I want o boot up and have winxp the deafult boot up and fedora as the 2nd option if i decide, where can i change GRUB settings. q)What about mounting my DVD RD/DVD RW on boot up how can i do this? |
Quote:
Quote:
Code:
/dev/hda1 /windows vfat rw,noatime,uid=500,gid=500,user 0 0 Code:
#mkdir /windows Quote:
Quote:
|
Re your 1. please don't do that.
If you are on the net (as you seem to be) then you can be compromised... even on Linux. In fact of course, any 'external' src (eg CD, USB stick) could be bad... Also, unlike MS, it's almost unheard of for a user level app to need to be run as root. |
chrism01
I guess it's OK to warn people, but I think it's crossing the line when you tell people, "please don't do that". Unless, you are that person's parent or guardian. Read the thread link below, pay special attention to post #13. jagguy If you have KDE desktop, you will find a way to have the option to log in as root in the thread link below. http://www.linuxquestions.org/questi...d.php?t=498711 EDIT: Some people are smart enough to have full back ups including the OS, I'm one of them, and when I installed a virus knowing it was probably a virus in desperation when trying to retrieve lost data in Windows a couple months ago, I had no fear because it only takes 8 minutes to wipe that Windows partition with zeros and make a new partition in it's place and load an image of the fresh clean fully updated installation. There's nothing on the internet that can render my hardware useless, as far as all the binary code is concerned, it's all backed up on external USB and easily restored. Others like myself, may be offended by such remarks. |
q)I changed the boot=yes in ifcgf-wan0 file or something like that and the internet it does boot up at runtime (any other settings i need). Now my line can drop becaus eit is wireless like on winxp but I cant get it back easy . On winxp i just r-click and repair it. What can i do ?
q)what about apache/mysql/php I want to run these? q) can i connect to windows files with linux on another pc via cable network? |
Quote:
(if we are talking about the same thing) Security rule #1: Least privilege: Minimize applications running as priviledge user. I hope people will go on warning people about that. It is a bad habit. The form on how to say it is not always easy but it's better than nothing. |
That's why I said 'Please', it's only a recommendation, not an imperative. :)
nx5000: well, as you know, if he's logged in as root, then anything he runs has root unless it's set uid to a non-priv user ... It's definitely the OP's option to do whatever he wants though. |
i am the only person using the OS so i dont see why i cant root login.
I still dont know ow to do this to be honest. q) does anyone know these q)I changed the boot=yes in ifcgf-wan0 file or something like that and the internet it does boot up at runtime (any other settings i need). Now my line can drop because it is wireless like on winxp but I cant get it back easy . On winxp i just r-click and repair it. What can i do ? q)what about apache/mysql/php I want to run these but i cant see them installed? q) can i connect to windows files with linux on another pc via cable network? q) how can i find if apache/mysql/php software is installed? Do I need to run a find or is there an easier way? q)some commands you need to write /sbin/.... in front. Can I add this to the PATH so i dont need to do it? |
You do not run as root for many, many reasons. Some of them are mentioned here:
http://www.linuxquestions.org/questi...40#post2572040 |
I downloaded apache from http://httpd.apache.org/download.cgi. Version 2.2
Now I have linux and all i see is unix source code 'no binaries?'. I download this and extract it using tar -xvzf httpXXX.tar.gz I get an unexpected EOF error with extracted source code (many get extracted then it quits)and also get very very VERY annoyed at all this messing around for such a common task. I have NO idea what to do next as I couldnt find the docs. I just want to download from the apache site and install apapche with php5 and mysql. I need help with apache first and what do i do? I found the binaries and it still doesnt work root@localhost install]# rpm -i httpd-2.059-1.i386.rpm error: open of httpd-2.059-1.i386.rpm failed: No such file or directory [root@localhost install]# rpm -i httpd-2.0.59-1.i386.rpm warning: httpd-2.0.59-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 751d7f27 error: Failed dependencies: libapr-0.so.0 is needed by httpd-2.0.59-1.i386 libaprutil-0.so.0 is needed by httpd-2.0.59-1.i386 libcrypto.so.4 is needed by httpd-2.0.59-1.i386 liblber-2.2.so.7 is needed by httpd-2.0.59-1.i386 libldap-2.2.so.7 is needed by httpd-2.0.59-1.i386 libssl.so.4 is needed by httpd-2.0.59-1.i386 I just 2 hours on all of this and no idea on how to get this to work? |
If you told us what your distro (version) of Linux is, we could advise you better.
Just about all modern ones have built-in GUI tools to install (almost) anything you need, and they automatically handle dependencies. For what you're asking, you shouldn't need to download anything by hand, especially src files. |
Quote:
One generally login as non priv. Even inserting a key formatted as ext2 containing suid-root will not compromise the system and won't enable privilege escalation because by default its nosuid,noexec (unless you are root and then you can remount but in this case.. oh well you got it lol) |
Thats a weird thing every x-th newbie wants to run as root and starts arguing when told not to. If there is "Do not jump in, danger!" posted at a river - how many would argue with that? How many would jump in? There is long-long list of reasons why one should not run as root, no newbie would listen all of them, too boring. Thus I'll give only two of them:
1. Imagine there is a flaw in your web browser, you visit a malicious web site and it wants to install a keylogger into your box. If you run as root then that's it, your identity is stolen. If you run as user - it is practically impossible to install a keylogger with user rights, your identity is safe even if your account is breached. 2. DDoS attacks are made using spoofed IP address. Your computer is part of zombie network - without you knowing it - and it sends out a spray of SYN packets to a list of web servers pretending these packets come from victim's computer at address 4.3.2.1. Those servers reply to 4.3.2.1 creating a flood which shuts down the victim server and enables the attacker to demand ransom. Your box cannot participate in this crime when run as user because spoofing an IP address requires access to the raw sockets - something only root has access to! |
I am using fedora7 and really need help with apache. I downloaded src which faile dto extact and binaries which again failed to install.
So this is really bugging me as in dont know what to do because apache fails. I dont know if apache is already installed ( i dontbelieve so) and how to configuure php/mysql with apache? I spent a few hours getting nowhere so far. |
Reading documentation for your distro makes life much easier, did you read it?
http://docs.fedoraproject.org/yum/en/ |
All times are GMT -5. The time now is 01:22 AM. |