Questions about system vs. user accounts...
From: Mike Klein (mikeklein_at_sbcglobal.net)
Date: 10/15/03
- Previous message: Edward Dekkers: "Re: Linux - Win Xp home network - shared files"
- Next in thread: Bret Hughes: "Re: Questions about system vs. user accounts..."
- Reply: Bret Hughes: "Re: Questions about system vs. user accounts..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Tue, 14 Oct 2003 19:45:30 -0700
I've been locking down different parts of my server, specifically
w/respect to certain services and the user they run under.
I realize that it's best to run as a special user (i.e. nobody or
account based on service name).
I've noticed that system accounts (based upon login.defs) are generally
a uid < 100, don't have passwords that expire, often have a home
directory mapping to software install/data directory, and often don't
have login capability.
I guess the whole point of system accounts (i.e. id < 100) is that they
have these special properties right? Or is there something else.
Apache for example (you can't su nobody as it has no shell) starts a
single process as root and then spawns all subsequent processes as a
specific user (generally nobody).
I am trying to create specific accounts for jabber and some other
services. The problem I'm having is that I'll create a jabber account
with home directory being software install directory, give it a
shell...but when I su to this account from a root-run init.d script it
complains about no .bashrc. This is kind of understandable as I AM
running a bash shell.
However...when I check the mysql user account that the RH9 rpms create,
it has a bash shell and home directory of /var/lib/mysql...yet when I
look in it's home directory there's no .bashrc. I can 'su mysql' and I
don't get the .bashrc complaint...why is this? I have fully checked the
/etc/passwd and other related files for differences in the mysql user
account but I can't find anything.
Thanks in advance...
mike
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Edward Dekkers: "Re: Linux - Win Xp home network - shared files"
- Next in thread: Bret Hughes: "Re: Questions about system vs. user accounts..."
- Reply: Bret Hughes: "Re: Questions about system vs. user accounts..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|