Yep, but this means creating user accounts which are machine-local, but linked to a central server which introduces a huge number of unnecessary steps
No, that's not correct. Of course LDAP accounts are never created locally, that would be stupid. If anybody does that, punch them. LDAP accounts are pulled from the LDAP upon request (logins etc) and are cached (on RHEL, sssd is responsible for that).
stop using shadow-files and instead go with more standardized modern approach which is available on *nix, except people don't use them because it's more complicated than just using htpasswd
htpasswd is not the same as shadow, just so you know. Again, any proper Unix environment would use a directory service such as LDAP with optional Kerberos. For example, when our users access a web interface running on an Unix server they'll authenticate themselves using the same Kerberos credentials that they are using on their Windows clients and authorise themselves by having the server query the LDAP for their roles and memberships.
Its default is also MD5 which is well known to be too easy for GPU's to bruteforce to be considered secure
Yes, MD5 is too fast to be a good algorithm (also collisions have been demonstrated) - however, they are always salted which will seriously annoy any attacker. Also, all modern Linuxes I know of use SHA1, not MD5.
Yes, NTLM was a security nightmare.. Which is why it was replaced in 2001 :P
Yes, and if used in their default fashion they work very well. If customisation is needed, it's a medium level nightmare. If you've only ever worked in windows based environments you probably don't know what I mean by that because you (and software vendors) haven't ever thought about expanding or customising this part of the operating system because it mostly can't be done. It's AD with LDAP + Kerberos and nothing else (not that AD is bad, quite the contrary, it's pretty good).
Compared with PAM however (which is a combination of authentication and authorisation modules hence its name "Pluggable Authentication Modules" ) it's very inflexible and static. But don't think that customising PAM will result in massive amounts of pain for the developers, because their system calls remain the same. The accounts can be local, they can be on LDAP, they can be on NIS (don't do that though) or they can be engraved on a tree stem in a garden and read by an OCR capable webcam accessed over a REST interface over any network, it mostly doesn't matter from the point of view of the developer. If applications roll their own home made authentication/authorisation software you should punch them in the face.
The finder will not show you the entire file system unless you basically wring its arms behind its back
Yes, that is true. I can only guess why Apple does this, perhaps it's because they think it's better for usability. I've always hated this (I don't have a mac, but many of my colleagues do). If finder can find your files it works well, but god forbid you never actually need to find your files where they really are, you're lost.
He didn't know what the hosts file was, and he most certainly had no idea that there was a root directory on the computer that contained the /etc folder. He had no idea.
Understandable. I'd be very surprised if the local "knows a bit about computers" guy of a random company knew of any operating system's hosts file (or even what DNS is).
heard multiple stories of people deleting the /bin folder because they think it's the recycling bin
Oh god. Perhaps that's why Apple is trying to hide the filesystem from the users.
1
u/tetroxid Dec 07 '15 edited Dec 07 '15
No, that's not correct. Of course LDAP accounts are never created locally, that would be stupid. If anybody does that, punch them. LDAP accounts are pulled from the LDAP upon request (logins etc) and are cached (on RHEL,
sssdis responsible for that).htpasswd is not the same as shadow, just so you know. Again, any proper Unix environment would use a directory service such as LDAP with optional Kerberos. For example, when our users access a web interface running on an Unix server they'll authenticate themselves using the same Kerberos credentials that they are using on their Windows clients and authorise themselves by having the server query the LDAP for their roles and memberships.
Yes, MD5 is too fast to be a good algorithm (also collisions have been demonstrated) - however, they are always salted which will seriously annoy any attacker. Also, all modern Linuxes I know of use SHA1, not MD5.
Yes, with NTLMv2, which is not much better (and by the way, uses MD5 which you correctly criticised as not being a very good choice): https://en.wikipedia.org/wiki/NT_LAN_Manager#NTLMv2
Yes, and if used in their default fashion they work very well. If customisation is needed, it's a medium level nightmare. If you've only ever worked in windows based environments you probably don't know what I mean by that because you (and software vendors) haven't ever thought about expanding or customising this part of the operating system because it mostly can't be done. It's AD with LDAP + Kerberos and nothing else (not that AD is bad, quite the contrary, it's pretty good).
Compared with PAM however (which is a combination of authentication and authorisation modules hence its name "Pluggable Authentication Modules" ) it's very inflexible and static. But don't think that customising PAM will result in massive amounts of pain for the developers, because their system calls remain the same. The accounts can be local, they can be on LDAP, they can be on NIS (don't do that though) or they can be engraved on a tree stem in a garden and read by an OCR capable webcam accessed over a REST interface over any network, it mostly doesn't matter from the point of view of the developer. If applications roll their own home made authentication/authorisation software you should punch them in the face.
Yes, that is true. I can only guess why Apple does this, perhaps it's because they think it's better for usability. I've always hated this (I don't have a mac, but many of my colleagues do). If finder can find your files it works well, but god forbid you never actually need to find your files where they really are, you're lost.
Understandable. I'd be very surprised if the local "knows a bit about computers" guy of a random company knew of any operating system's hosts file (or even what DNS is).
Oh god. Perhaps that's why Apple is trying to hide the filesystem from the users.