Accounts

This is a discussion on Accounts within the Linux Programming forums, part of the Platform Specific Boards category; I noticed that on Linux, two people could log onto the same account at the same time. Is there are ...

  1. #1
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556

    Accounts

    I noticed that on Linux, two people could log onto the same account at the same time.

    Is there are way to make it so that if someone is logged on to an account, if anyone else tries to log in as that account, it won't let them? This would improve security, because if someone is trying to log in as root, but root is already on, then that person can't log in as root.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  2. #2
    Registered User cody's Avatar
    Join Date
    Sep 2001
    Posts
    86
    > I noticed that on Linux, two people could log onto the same account at the same time

    Yep, and that's good so

    > This would improve security, because if someone is trying to log in as root, but root is already on, then that person can't log in as root.

    If someone is trying to login as root, well who cares?! If you want to improve security disable remote root logins



    Aloa
    cody
    #include "reallife.h"

  3. #3
    Registered User alex's Avatar
    Join Date
    Sep 2001
    Posts
    132
    Yes you could do that...

    Take a look at the files in /etc/security/.

    You can even disallow access for some users ( ) at certain times of the day, or days of the week.
    Maybe you want to limit all logins of certain users to one second CPU time? Or limit the number of processes? Also possible
    I don't recommend doing such things, though!

    greetinx,
    alex

  4. #4
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    Intersting. Maybe I'll try that...I tend to reinstall Linux a lot anyways, might as well find a new way.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Add 4 accounts to this program
    By kellymart87 in forum C++ Programming
    Replies: 5
    Last Post: 05-02-2007, 05:31 AM
  2. user accounts in control panel
    By Micko in forum Tech Board
    Replies: 1
    Last Post: 02-28-2006, 01:08 PM
  3. Vector Accounts
    By toonlover in forum C++ Programming
    Replies: 2
    Last Post: 12-29-2005, 07:00 PM
  4. Opera users with Gmail accounts look here
    By Thantos in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 03-06-2005, 08:33 PM
  5. Mail Accounts?
    By ZakkWylde969 in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 06-20-2004, 01:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21