All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Why are we managing seusers file via libsemanage?
@ 2006-01-17 16:56 schaufler-ca.com - Casey Schaufler
  2006-01-17 19:02 ` Ivan Gyurdiev
  0 siblings, 1 reply; 11+ messages in thread
From: schaufler-ca.com - Casey Schaufler @ 2006-01-17 16:56 UTC (permalink / raw)
  To: selinux



Ivan Gyurdiev wrote:

> I don't understand the way Unix updates
> the password for example - it  doesn't make
> sense to me, I would appreciate an explanation
> from  someone who knows better.


Image a universe with no Internet. A universe
in which DES is sufficiently strong encryption for
any purpose, including DoD classified material.
A universe in which 16bit computing is hot stuff,
where computers store passwords in clear text,
and Gigabyte describes the storage capacity of
the United States.

In that universe storing user ID and password
information in an unstructured flat file, with the
password stored as a one-way DES hash not
only makes sense, it's Brilliant! (Wow, I want a
Guiness now!) The administrator can update
the user information using normal tools like ed,
or even exotic ones like sed, grep, and ex.
Heck, there's even an API for reading the file
(getpwent()) that parses the file for you if you
need to translate uid numbers to user names.
What's more, there's a program (passwd(1))
that carefully allows a user to change her
password -get this- without bothering the
administrator. Incredible.

Unix password management was magical in
its day. It's still good enough to fight off the
dozens of attempts that have been made to
replace it with something "better".

Sigh. You just made me feel old. I'll go back
to my corner now.


------------------------
Casey Schaufler
casey@schaufler-ca.com
650.906.1780








--
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Why are we managing seusers file via libsemanage?
@ 2006-01-17  3:49 Daniel J Walsh
  2006-01-17  5:27 ` Joshua Brindle
  2006-01-17  7:57 ` Ivan Gyurdiev
  0 siblings, 2 replies; 11+ messages in thread
From: Daniel J Walsh @ 2006-01-17  3:49 UTC (permalink / raw)
  To: Ivan Gyurdiev, SE Linux

I don't recall why we did this?

I am now thinking this is not a good idea.  People were told to edit the 
/etc/selinux/POLICYTYPE/seusers file to change the default level at 
login, now we do this via libsemanage.  But doing this via libsemanage 
eliminates us from being able to distribute this information via say LDAP.

I think that seusers and setrans.conf should be left as flat files and 
allowed to be distributed via ldap.  We can allow the semanage tool and 
others to modify them and verify the data entry, but not manage them via 
the library.

Dan


--
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-01-17 19:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-17 16:56 Why are we managing seusers file via libsemanage? schaufler-ca.com - Casey Schaufler
2006-01-17 19:02 ` Ivan Gyurdiev
  -- strict thread matches above, loose matches on Subject: below --
2006-01-17  3:49 Daniel J Walsh
2006-01-17  5:27 ` Joshua Brindle
2006-01-17  5:33   ` Joshua Brindle
2006-01-17  7:36     ` Ivan Gyurdiev
2006-01-17  8:10       ` Ivan Gyurdiev
2006-01-17  7:16   ` Ivan Gyurdiev
2006-01-17  7:57 ` Ivan Gyurdiev
2006-01-17 18:02   ` Daniel J Walsh
2006-01-17 18:39     ` Ivan Gyurdiev

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.