Skip to contentSkip to conversation

where is the modified login program's source code

DISCUSSION Park Lee 3 participants 3 messages Sep 30, 2004 – Oct 4, 2004 SELinux security module

lore
Share & tools
lore

Park Lee

author
#0 lore raw

Hi,
I know that login is a modified daemon program. Now, I want to do some work with the login program in SELinux. But, Where could I found the modified login program's source code? It seems that it isn't contained in Fedora Core 2. If you know the matter, please tell me about it.

Thank you.

--
Best Regards,
Park Lee <[email protected]>

---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

#1 lore raw

Hello,

Quoted 6 lines · Park Lee

Hi,
I know that login is a modified daemon program. Now, I want to do
some work with the login program in SELinux. But, Where could I found the modified login program's source code? It seems that it isn't contained in Fedora Core 2.
If you know the matter, please tell me about it.

Well there is not such thing as a "login" package, this is part of util-linux package. The FC2 srpm can be found here:

http://download.fedora.redhat.com/pub/fedora/linux/core/2/SRPMS/util-linux-2.12-18.src.rpm

There is also an srpm for util-linux at the selinux offical site:

http://www.nsa.gov/selinux/SRPMS/util-linux-2.12a-2.src.rpm

Or you can just get the source code from the original location:

ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/ ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/util-linux-2.12a.tar.gz

And use the patch available at the selinux site for it:

http://www.nsa.gov/selinux/patches/util-linux-selinux.patch.gz

Hope this helps enough to get you started.
best wishes

Miguel

Quoted 9 lines

Thank you.

--
Best Regards,
Park Lee <[email protected]>

Quoted 3 lines

______________________________________________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw
In reply to Park Lee
Quoted 5 lines · Park Lee

I know that login is a modified daemon program. Now, I want to do
some work with the login program in SELinux. But, Where could I found the modified login program's source code? It seems that it isn't contained in Fedora Core 2.
If you know the matter, please tell me about it.

login now uses pam_selinux rather than a direct patch.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.