pon., 26 lis 2018 o 19:23 ilmich <ard...@gmail.com> napisał(a): > > Hi Daniel, > > > > 1) Note that struct passwd is not compatible with linux libc ABI > > > (pw_class). > > you are right, but I've noticed that ubase's login and passwd > implementation make us of them. > However my conclusion is that ubase currently supports two databases > for login with password (shadow and openwall tcb). > Therefore the best way is not to impose the choice on which it is best to use. > So I think I will create a new project for my lightweight shadow > tools, that I will soon share with you on the wiki.
I think there is a misunderstanding. I don't mean tcb, but the difference between *BSD and linux struct passwd. *BSD struct passwd contains pw_class, therefore, ABI is not compatible with struct passwd on linux. tcb contains one shadow record for each user, but the structure itself is the same as in /etc/shadow. > Thanks to everyone > Michele >