Re: (Automatically adding users based on dirs in /home)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2010-04-17 at 18:18 +0200, Gergely Buday wrote:
> I have upgraded to Fedora 12 on a machine and I had to format the root
> and the usr partition (it was a Fedora 8 -> Fedora 12 transit) , but I
> left home untouched. My problem was that the installer did not realise
> that I had three home directories. It could have been a boon that it
> recognised and created the necessary users.
> 
> Which project should I report this problem to? Anaconda?

Anaconda would be the right component.  But I'm not convinced that the
behavior you propose is useful enough in general to merit addition to
anaconda (of course, it's the anaconda developers' judgment that counts,
not mine).  You can always use a script such as the following to add the
users:

cd /home
for d in *; do
	useradd -u $(stat --format=%u "$d") -g $(stat --format=%g "$d") "$d"
done

-- 
Matt

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux