Results 1 to 8 of 8

Thread: Safe to use auto-login?

  1. #1
    Join Date
    Jul 2012
    Beans
    14

    Safe to use auto-login?

    Hi, I'm new to linux and had a security question. I'm an academic researcher and created a liveCD to turn unused machines at my university into computational nodes. However, in order to speed up the process, when i made the .iso file, i changed the settings so that it would auto-login into my account. I am just concerned about the security of this setup. The account still has a strong password on it, it just has auto-login enabled. My concern is that this leaves the computer vulnerable over the network, and that someone would be able to compromise the running system and mount & read/write to the hard drive installed.

    Also, I don't know if this matters, but once the system starts up, two python scripts are executed from rc.local (the second one being ppserver.py).

    Does this compromise my system and leave it open to a network attack?

    Thanks!

  2. #2
    Join Date
    May 2009
    Location
    Illinois (United States)
    Beans
    440
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Safe to use auto-login?

    As far as I know, the only added security risk from having auto-login enabled, is that someone can sit down at the computer as use it without a password.

    And even then, most settings and system files are still locked down.

    You can't even install an app from the software center without a password.

    In short, as far as I know, enabling auto-login does just that.
    You still need a password for everything you do without auto-login, except for logging in locally.

  3. #3
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Safe to use auto-login?

    Quote Originally Posted by jickerson View Post
    Does this compromise my system and leave it open to a network attack?
    Nope. Just because you're logging in automatically it's not like everything in your session has elevated privileges, and it certainly isn't going to open any gaping holes to the outside world.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Safe to use auto-login?

    But they can run as servers for number-crunching without anybody logged in at all. Then nobody could fill the hard drives with personal files or use them for web browsing.

    On the other hand, maybe you would be happy to keep them available for temporary users as well as using them for number-crunching.

  5. #5
    Join Date
    Jul 2012
    Beans
    14

    Re: Safe to use auto-login?

    Quote Originally Posted by sudodus View Post
    But they can run as servers for number-crunching without anybody logged in at all. Then nobody could fill the hard drives with personal files or use them for web browsing.

    On the other hand, maybe you would be happy to keep them available for temporary users as well as using them for number-crunching.
    By this, do you mean that if I execute the python scripts via rc.local that they will run without even having to log in at all? In other words, the machines could sit at the login screen and still run the two processes in the background?

  6. #6
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Safe to use auto-login?

    Quote Originally Posted by jickerson View Post
    By this, do you mean that if I execute the python scripts via rc.local that they will run without even having to log in at all? In other words, the machines could sit at the login screen and still run the two processes in the background?
    There are several ways to run programs (or scripts) without logging in. It is also possible to run cron jobs as root or as a user. Think of a server, that has no graphical user interface. You can also configure a headless server without monitor, keyboard and mouse.

    You can log in locally or via the network, and a master computer can control slave computers.

  7. #7
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Safe to use auto-login?

    Quote Originally Posted by jickerson View Post
    the machines could sit at the login screen
    Have you installed the desktop version, or the server version?

    The most efficient thing to do would be use the server version to set the machines up headless and log in remotely to control them.

    If you really wanted to get max cycles out of them you could start with the minimal system and only install the actual packages you needed to execute your tasks and communicate.

  8. #8
    Join Date
    Jul 2012
    Beans
    14

    Re: Safe to use auto-login?

    Quote Originally Posted by Paqman View Post
    Have you installed the desktop version, or the server version?

    The most efficient thing to do would be use the server version to set the machines up headless and log in remotely to control them.

    If you really wanted to get max cycles out of them you could start with the minimal system and only install the actual packages you needed to execute your tasks and communicate.
    Desktop version. The problem that I run into as far as controlling remotely is that I won't know the IP addresses of the nodes at startup (and more than likely, my master node won't be on the same set of addresses as the slave nodes, like 192.168.4.xxx and 192.168.8.xxx) That is what the first python script is for. Its job is to identify the ip address of the slave and report it to a message queue (of sorts) that my master node will read from once all the slaves have been started.

Bookmarks

Posting Permissions

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