![]() |
tas,
--Did you by chance deselect the "BSD Subsystem" item of the custom install screen when installing OS X? --It could also be permission problems or your shell startup scripts are not configured correctly. Please, what gives: echo $SHELL echo $0 PS: If you missed installing the BSD Subsystem, just insert your Panther CD and find the Welcome to Mac OS X/Optional Installs/BSD Subsystem file and double-click it. |
Hayne: here's what I get:
Code:
% ls -ld /binSao: if I had forgotten to install the BSD subsystem, the commands wouldn't work at all. Everything works fine, except under sudo. Code:
% echo $SHELL |
I'm running out of ideas.
I would suggest re-installing 'sudo' and associated files by using the third-party "Pacifist" utility to extract them from the Install CD. The only other idea I have is to try making a fresh new user account, leaving this account with the default shell (bash), make this account be an administrator as well, then see if sudo works with this new account. |
Possibly mine is a hold-over from Jaguar?
Code:
yellow% id |
Hayne, I thought of something similar. i just copied over the version of "sudo" from my G5 (where it works) to the Powerbook, but nada. Do you have any idea what the "associated files" would be?
|
tas: The only associated file I know of is the sudoers file. But do try creating a new user as I suggested above - that is more likely to lead us to a solution.
yellow: Yes, I think your user account is the same as it was under Jaguar since you kept your users when you installed Panther. If you do a fresh install or if you create a new user, it will get the new Panther features. |
Code:
[pm @ Sao: ~] % grepbom sudo |
OK, problem solved. And thanks to everybody, you were amazingly helpful!! Hayne, you were right, I should have done that right away. I created a new user, and lo and behold: sudo worked. I then moved all my .z-files to another directory and copied them back in one by one. The offending party was .zshenv. I had copied it over from my own computer and forgotten that it contained a reference to the teTeX manpath that isn't installed on my wife's computer. Apparently, zsh choked on it to such an extent that sudo wouldn't work. As soon as I deleted the line about manpath, it worked normally. Why a reference to manpath shoud affect sudo (and apparently nothing else) is beyond me; I'll put this down under "UNIX voodoo." Best part: I could do most of it remotely, so my wife hasn't realized, and now she has a Mac that'll hopefully work flawlessly. Phew...
|
| All times are GMT -5. The time now is 05:48 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.