From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Ed Street <edstreet@street-tek.com>
Cc: "'SE-Linux'" <selinux@tycho.nsa.gov>
Subject: Re: adduser script
Date: Wed, 19 May 2004 14:21:39 +0000 [thread overview]
Message-ID: <20040519142138.GH4221@lkcl.net> (raw)
In-Reply-To: <20040519134441.672D53A4054@abyss.simplyaquatics.com>
On Wed, May 19, 2004 at 09:44:40AM -0400, Ed Street wrote:
> Hello,
>
> That should work. One other thing you may want do is give the user a choice
> in which role(s) to assign, that would eliminate any typo's and be newbie
> friendly, say 1) user_r 2) staff_r 3 sysadm_r q) quit or something similar.
> By default any abuser not in the users file is assigned user_r.
ed, looks like tresys have already done the hard work with the seuseradd
scripts as part of the setools package (in cvs on sf.net at least)
the seuseradd scripts, however, duplicate the role of adduser, by
1) calling useradd (which manages /etc/passwd) 2) modifying
/etc/selinux/users direct.
what is ideally required is a separate program that doesn't call
useradd, then it's a trivial task to write a plugin for adduser-ng
to call that separate program.
l.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2004-05-19 14:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-19 9:17 adduser script Luke Kenneth Casson Leighton
2004-05-19 11:56 ` Frank Mayer
2004-05-19 14:19 ` Luke Kenneth Casson Leighton
2004-05-19 14:53 ` Luke Kenneth Casson Leighton
2004-05-19 16:10 ` Frank Mayer
2004-05-19 17:18 ` Luke Kenneth Casson Leighton
2004-05-19 11:56 ` Ed Street
2004-05-19 13:32 ` Luke Kenneth Casson Leighton
2004-05-19 13:44 ` Ed Street
2004-05-19 14:21 ` Luke Kenneth Casson Leighton [this message]
2004-05-19 15:15 ` Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040519142138.GH4221@lkcl.net \
--to=lkcl@lkcl.net \
--cc=edstreet@street-tek.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.