linux default user names
Results 1 to 2 of 2

Thread: linux default user names

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    1

    linux default user names

    Can anyone explain what is the purpose of default user names in linux like bin,halt,shutdown...
    I see these entries in /etc/passwd file

    All helps are much appreciated.

  2. #2
    Jaded Network Admin nebulus200's Avatar
    Join Date
    Jun 2002
    Posts
    1,356

    Re: linux default user names

    Originally posted here by newtolinux
    Can anyone explain what is the purpose of default user names in linux like bin,halt,shutdown...
    I see these entries in /etc/passwd file

    All helps are much appreciated.
    Most is for security. Most of the usernames you will see there are locked accounts (shell is /bin/nologin) and are used to control, usually, daemons (like your web server, email server, etc). By having normal users as the owners of the daemon and having seperate users for the daemons, if a daemon was compromised the access obtained would be limited to the privelages of that user. I am not sure about default linux file permissions (still learning myself), but in Solaris, if you have locked down file permisisons, you can make it much more difficult for someone that has obtained user level access to escalate their privelages to root (where they can cause significantly more damage).
    There is only one constant, one universal, it is the only real truth: causality. Action. Reaction. Cause and effect...There is no escape from it, we are forever slaves to it. Our only hope, our only peace is to understand it, to understand the 'why'. 'Why' is what separates us from them, you from me. 'Why' is the only real social power, without it you are powerless.

    (Merovingian - Matrix Reloaded)

Posting Permissions

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