#2144: shadow-4.1.2
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: task | Status: new
Priority: normal | Milestone: 7.0
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------------------------+-------------------------------------
Comment (by LydianKnight):
For the configure part, even better, taking a look at the --help switch,
it seems it only accepts adding selinux support if it's actually present,
so less parameters, a simple:
{{{
./configure --sysconfdir=/etc
}}}
Will do the trick. Unfortunately, even having a very easy way to install
this new version of shadow, this needs further investigation, as it fails
at the time of creating the user home directory. Here is the console
output for the commands I ran in order to test if shadow installation
plays nice, and... it doesn't.
{{{
root:/sources/shadow-4.1.2# groupadd -g 1000 users
root:/sources/shadow-4.1.2# useradd -g users lydianknight
root:/sources/shadow-4.1.2# passwd lydianknight
Changing password for lydianknight
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Re-enter new password:
Password changed.
root:/sources/shadow-4.1.2# su - lydianknight
No directory, logging in with HOME=/
-su-3.2$ ls -la /home/
total 8
drwxr-xr-x 2 root root 4096 Jun 6 18:41 .
drwxr-xr-x 22 root root 4096 Jun 6 18:41 ..
-su-3.2$ exit
logout
}}}
I don't know if it's a bug or I had to sed or modify any source files
prior compiling the source, took a look at the login.defs file but didn't
found anything specially interesting, seems we still have some work to do
in order to get shadow-4.1.2 in the book
Julio
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2144#comment:22>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page