Page 3 of 10 FirstFirst 12345 ... LastLast
Results 21 to 30 of 99

Thread: Linux viruses -- everything you need to know!

  1. Back To Top    #21
    Cyborg The Liquidator's Avatar
    Join Date
    May 2006
    Location
    Manchester UK
    Posts
    2,273
    Threads
    170
    Local Date
    Jun 6th 2020
    Local Time
    08:59 AM

    Re: Linux viruses -- everything you need to know!

    Thanks - Here's the output

    Code:
    ENFORCE(8)              AppArmor              ENFORCE(8)
    
    NAME
        aa-enforce - set an AppArmor security profile to enforce mode from complain
        mode.
    
    SYNOPSIS
        aa-enforce <executable> [<executable> ...]
    
    DESCRIPTION
        aa-enforce is used to set the enforcement mode for one or more profiles to
        enforce. This command is only relevant is conjuction with the utility
        complain which sets a profile to complain mode. The default mode for a
        security policy is enforce and the aa-complain utility must be run to change
        this behavior.
    
    BUGS
        None. Please report any you find to bugzilla at <http://bugzilla.novell.com>.
    
    SEE ALSO
        apparmor(7), apparmor.d(5), aa-complain(1), change_hat(2), and
        <http://forge.novell.com/modules/xfmo...ect/?apparmor>.
    
    Canonical, Ltd.           2010-03-11              ENFORCE(8)
    Am I right in concluding that it's running at the highest level by default, given I haven't knowingly changed anything?

  2. Back To Top    #22
    Ascendant GreyGeek's Avatar
    Join Date
    Feb 2009
    Posts
    16,483
    Threads
    1169
    Local Date
    Jun 6th 2020
    Local Time
    02:59 AM

    Re: Linux viruses -- everything you need to know!

    I don't believe it is: http://www.uluga.ubuntuforums.org/sh....php?p=9180831

    If you have "usr.bin.firefox" in /etc/apparmor.d/disable/ then I doubt you are.

    You can read /etc/apparmor.d/usr.bin.firefox and see what it does to see if you want to enable it.

  3. Back To Top    #23
    Senior Member
    Join Date
    Aug 2010
    Posts
    133
    Threads
    21
    Local Date
    Jun 6th 2020
    Local Time
    07:59 AM

    Re: Linux viruses -- everything you need to know!

    I been reading through the article and was reminded many times of the "ROOT" User. I just recently installed Kubuntu and it gave me the option to create a user. On that screen is that the ROOT user that everyone is speaking of? If so then the safest precaution is to create a second user if i'm understanding correctly? Don't want to sound like a complete noob but the truth is I AM.

  4. Back To Top    #24
    Cyborg The Liquidator's Avatar
    Join Date
    May 2006
    Location
    Manchester UK
    Posts
    2,273
    Threads
    170
    Local Date
    Jun 6th 2020
    Local Time
    08:59 AM

    Re: Linux viruses -- everything you need to know!

    No the root user is "root" - you would have to physically login as root to run as root. User "eric" does not, without more, have root-like privileges. The sudo concept grants you temporary higher level privileges for example to install software. so when you launch synaptic you need to enter your password and you can then use it properly. When you close it off, you have a short time during (a few minutes I think) which you can launch it again otherwise you need to re-enter the password.

    So don't worry about that - user "eric" only has root privileges when you choose to grant them. The downside is that you could also use that power to run applications like firefox as root user. That would require the password (and a death wish )

    HTH

    Ian

  5. Back To Top    #25
    Ascendant oshunluvr's Avatar
    Join Date
    Feb 2010
    Location
    New Bern, NC USA
    Posts
    10,660
    Threads
    435
    Local Date
    Jun 6th 2020
    Local Time
    03:59 AM

    Re: Linux viruses -- everything you need to know!

    Eric - first of all welcome to KDE and the forum. I think you may be the most active new user ever!

    This topic has been thrown about a lot but it's well worth repeating:

    Linux is virtually virus free, secure, recoverable and more due to in no small measure the control of permissions. This is something almost unheard of in the Windows world. You will be hearing a lot about permissions and running into a few walls along the way - this is a good thing. This will help you keep your system running.

    Here's some basic rules and info:

    1. Never log into a GUI as "root" - this is disabled by default in Kubuntu and I won't tell you how to do it!
    2. The function "sudo" means "do as root" - su = super user (aka root) and should only be used in a terminal, never for a GUI program.
    3. Never launch a GUI program as "root" - this means don't open a terminal and type "sudo someGUIprogram"
    4. When the time comes that you need to do something as "root" and you want to use a GUI program, the correct (safe) way to do this in KDE is to use "kdesudo someGUIprogram". This launches a GUI shell that correctly directs root access away from your /home and toward /root.

    In summary: If you read a post that says "edit file whatever.conf as root", open a terminal and type "kdesudo kate whatever.conf". You will get a pop-up asking for root password and then it will open the file in kate (or use kwrite) and allow you to edit and save it. Do not use "sudo kate whatever.conf"

    Permissions exist in several ways and levels. You can start learning about file/directory permissions here

    http://www.comptechdoc.org/os/linux/..._ugfilesp.html
    Please Read Me
    Be not the first by whom the new are tried, Nor yet the last to lay the old aside. - Alexander Pope, An Essay on Criticism, 1711

  6. Back To Top    #26
    Senior Member
    Join Date
    Aug 2010
    Posts
    133
    Threads
    21
    Local Date
    Jun 6th 2020
    Local Time
    07:59 AM

    Re: Linux viruses -- everything you need to know!

    Thanks for the information, I was thinking (Because of windows) that when you first create a user, that becomes the admin account. Lucky for me Linux has "Common Sense" permissions in place so that novice users like myself don't accidentally execute a virus. Nice work and thanks again.

  7. Back To Top    #27
    Esteemed Member kyonides's Avatar
    Join Date
    Jan 2009
    Posts
    683
    Threads
    108
    Local Date
    Jun 6th 2020
    Local Time
    01:59 AM

    Re: Linux viruses -- everything you need to know!

    Just remember that the next user you create for your Linux OS won't be a user with sudo privileges... unless you allow that user to get them...
    Multibooting: Kubuntu Focal Fossa 20.04
    Before: Precise 12.04 Xenial 16.04 and Bionic 18.04
    Win 10 sadly
    Using Linux since June, 2008

  8. Back To Top    #28
    Esteemed Member ScottyK's Avatar
    Join Date
    Jan 2010
    Location
    Oklahoma City
    Posts
    572
    Threads
    142
    Local Date
    Jun 6th 2020
    Local Time
    01:59 AM

    Re: Linux viruses -- everything you need to know!

    Quote Originally Posted by oshunluvr

    In summary: If you read a post that says "edit file whatever.conf as root", open a terminal and type "kdesudo kate whatever.conf". You will get a pop-up asking for root password and then it will open the file in kate (or use kwrite) and allow you to edit and save it. Do not use "sudo kate whatever.conf"
    OShunluvr - Thanks for the info, I didn't know about the KDEsudo command. For months now I've been merrily doing exactly what you say one shouldn't do!

    Now for strictly nonGUI stuff (like apt-get) it's ok to just use sudo?


  9. Back To Top    #29
    Ascendant Snowhog's Avatar
    Join Date
    Mar 2007
    Location
    Columbia Heights, MN
    Posts
    20,596
    Threads
    1012
    Local Date
    Jun 6th 2020
    Local Time
    02:59 AM

    Re: Linux viruses -- everything you need to know!

    Quote Originally Posted by ScottyK
    Now for strictly nonGUI stuff (like apt-get) it's ok to just use sudo?
    Yes. When a non-gui app/command that requires root to run, then from the CLI (Command Line - Console), sudo app/command is what you use.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes
    Using Kubuntu Linux since March 23, 2007
    Twin Cities Bicycling Club - "And miles to go before I sleep."

  10. Back To Top    #30
    Ascendant oshunluvr's Avatar
    Join Date
    Feb 2010
    Location
    New Bern, NC USA
    Posts
    10,660
    Threads
    435
    Local Date
    Jun 6th 2020
    Local Time
    03:59 AM

    Re: Linux viruses -- everything you need to know!

    Explained another way:

    KDE is the GUI that works on top of linux.

    "sudo" is the linux command that allows root aka SuperUser status.

    "kdesudo" is the GUI command on top of linux's "sudo" command that allows root aka SuperUser status.

    If you're using KDE (the GUI), use "kdeusdo".

    If you're using only the command line (aka CLI), use "sudo"
    Please Read Me
    Be not the first by whom the new are tried, Nor yet the last to lay the old aside. - Alexander Pope, An Essay on Criticism, 1711

Page 3 of 10 FirstFirst 12345 ... LastLast

Similar Threads

  1. Linux and viruses (or virii)
    By arochester in forum Geek News
    Replies: 3
    Last Post: Mar 4th 2011, 12:18 AM
  2. [question] why linux has no viruses
    By electropc in forum Help the New Guy
    Replies: 5
    Last Post: Apr 21st 2010, 02:39 PM
  3. Using WINE might give your linux system viruses?!?
    By pcdoctor in forum Help the New Guy
    Replies: 2
    Last Post: Mar 27th 2008, 08:56 AM
  4. Replies: 5
    Last Post: Nov 2nd 2007, 05:12 AM
  5. Replies: 0
    Last Post: May 24th 2007, 03:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •