Setting $HOME in RHEL 6
I have a script that calls the $HOME path but the way our machines are set up, $HOME refers to the user's AFS space. How can I change it to a local directory? I have tried usermod -m -d with no luck
Code:
# /usr/sbin/usermod -m -d /home/testing/testuser/ testuser |
Do you mean LDAP, iirc Kerberos is just an authentication mechanism, it can centralize security and authentication, but can't give you the same capabilities as LDAP, which can propagate user settings throughout the environment?
If you are using LDAP then you can't use the standard commands like usermod, there is a special subset of ldap commands that come with it, you'd need ldapmodify and iirc a special pam module. |
Thanks, that at least gives me something to look into. This is why I hate RHEL.
|
Quote:
I am also willing to agree with you partway on the hating RHEL thing, especially with all the "cloud" crap and systemd stuff they'd been doing recently. |
Quote:
|
RHEL 6 is not yet using SystemD
it still is a SystemV setup |
There's nothing to hate in RHEL as long as you know what you are doing. LDAP has its own set of commands to make changes on its setup and normal users has their own user* commands.
|
Hate RHEL? but i suppose they gave you something to put on your rice bowl? Isn't it?
No RHEL, means nothing to support and nothing to work and nothing to put in the pocket at the end of the month. Well, free choice... love or hate.. or just go with the wind.. anyway, check out this blog it might help: http://nixtechnica.blogspot.sg/2007/...ectory-in.html or check out the video on my signature, i'm quite sure you are 500% more fortunate than the people out there, who's gonna spend Christmas and New Year with nothing at all. |
Quote:
Quote:
And of course the BSDs can't be used on servers, and there are no such things as AIX, Solaris or HP-UX. RHEL and CentOS are big, but they do not have, and should not have 100% of the market. |
Well I tried adding a user in /etc/passwd and kerberos didn't like it. I'll do some reading on LDAP and see what I can do.
|
All times are GMT -5. The time now is 06:32 AM. |