Is it possible speed-up useradd -Z option?

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

 



It takes 10 seconds to create user account,where as without -Z option
it takes less a second. I tried changing SELinux to Permissive mode or
try to use tmpfs for /etc/selinux mountpoint , both didn't help.The
problem is I'm re-creating 50000+ user accounts in a new server. Looks
for options to speed-up this process.  thanks for
any pointers/help.

# time useradd --uid=20005   -Z guest_u u20005
real    0m10.194s
user    0m8.866s
sys    0m1.273s

# time useradd --uid=20006    u20006
real    0m0.050s
user    0m0.018s
sys    0m0.021s

----
Cheers,
Lakshmipathi.G
http://www.giis.co.in http://www.webminal.org
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux