Forum Replies Created
-
AuthorPosts
-
July 28, 2008 at 11:53 pm in reply to: OpenDirectory + Solaris 10 = major league hair-pullage #373540
bowmasters
ParticipantWell what ends up happening is I still get the message “/root/.bashrc: Permission denied”
It looks like it isn’t actually loading the proper profile information for the user. If I issue the command “cd ~” it tries to cd to /root:
[code]bash-3.2$ cd ~
bash: cd: /root: Permission denied[/code]
Other machines bound to this LDAP server don’t have this problem. They correctly cd to the home directory Specified in the LDAP profile.
Also, when I try to su to the directory user from a non-root privileged shell it asks for a password, but simply tells me “Sorry” regardless Of whether I entered it right or not
July 28, 2008 at 7:36 pm in reply to: OpenDirectory + Solaris 10 = major league hair-pullage #373535bowmasters
ParticipantThis is a pretty old topic, but I’m trying to accomplish the same thing except, I’m not using kerberos
I followed the discussion and thus far I am able to see the directory users on the solaris machine with “listusers” and “getent passwd”. I can even “su’ to one of the users and it almost works. I get the following error:
[code]
-bash-3.2# su odadmin
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
bash: /root/.bashrc: Permission denied
[/code]It did switch users, however, for when I run “whoami’, I get the directory user i switched to:
[code]bash-3.2$ whoami
odadmin
[/code]The question now is: is this something that can be solved / is worth the effort to figure out or should I just do as others have done and just install OpenLDAP ? if it is the latter, then can someone direct me as to where I should begin or tell me how to compile and install it?
Thanks a billion
-
AuthorPosts
Recent Comments