-   Linux - Software (
-   -   Shadow doesn't work (

SuperGnu 11-21-2010 06:35 AM

Shadow doesn't work
I've compiled the latest version of shadow (without PAM and selinux support), but I can't create new users or groups.
I don't even get a error.

It's just like:
bash-4.1# useradd -d DIR -u NUMBER USER
but if i take a look at the /etc/passwd or /etc/shadow file there's no entry.

I hope you can tell me why

wpeckham 11-21-2010 08:02 AM

What distribution?
Why are you compiling instead of using the pre-compiled release available for your distribution?
Come to that, nearly every distribution complete enough to support compiling the security system post-install has it included by default DURING the install: how,why did you not include it in the first place?

If you are loading one of the "from sources" distributions, are you using the version and configuration documented for that distribution and following the maintainers install and configuration instructions?

SuperGnu 11-21-2010 08:40 AM

I'm trying to make my own distribution from source

crts 11-21-2010 09:15 AM


Originally Posted by SuperGnu (Post 4166082)
I'm trying to make my own distribution from source


own distribution as in 'Linux from Scratch'? Did you configure shadow properly after installing it? How did you compile it?

Have a look here:

SuperGnu 11-21-2010 10:18 AM

No not LFS

All times are GMT -5. The time now is 03:13 AM.