![]() |
OK, thats what I'll do, though I'm on panther, not jaguar.
Quote:
Whit |
i have postgresql, fink and php installed on my panther 10.3.3 machine. if i re-install osX keeping user data will these programs remain since some of their files are in the "hidden" unix directories underneath the mac interface?
jeremy |
it might help to open a new thread about this?
fink is autonomous, and safe, at /sw you'll need to know where your php and postgres are installed and if they are safe. /usr/local is considered safe/untouchable. vendor reserved root dirs: Applications/ Developer/ Library/ Network/ System/ Trash/ Users/ Volumes/ automount/ bin/ cores/ dev/ lost+found/ private/ sbin/ usr/ * * with the exception that /usr/local remains safe |
I'm having basically the same problem as well. I cannot do sudo as myself even though I'm the only administrator for this laptop (in other words, I'm the only one who uses it). I went through some of the steps to diagnose this problem.
It turns out that my uid is set to 501, and gid is set to 20. Authentication authority is set to basic. Groups=20 is set to staff; 80 to admin. Sudo seems to have the proper permission set (-r-s--x--x). There was a suggestion on making changes in NetInfo Manager but there wasn't any instructions on doing so. So, it looks like I need to change groups to 80, right? |
Did you install the WebSharing update too?
In the Terminal type: groups That will tell you what groups your admin account is in. |
Quote:
Where would I get this from? Wasn't aware that I would need to install this. Quote:
staff admin Should I be seeing something else as well? |
Quote:
Quote:
|
Quote:
As I said earlier, uid is 501, gid is 20, groups=20(staff), 80(admin) |
Ooops, missed that. Yes, the GID should be 80. I don't know if this will work or not since your admin account appears to be messed up.
To change the GID, open NetInfo Manager, select users from the center panel, select your user, click the lock to attempt to unlock NetInfo manager, double click on the "Value" of the GID field, change it to 80, cmd-S to save NetInfo. I don't know if you need to logout and log back in, assuming it works. If it doesn't let you authenticate against NetInfo Manager, do you have root enabled? |
Quote:
Made the changes, logged out/in and still doesn't work when I go into terminal under my username. I have root enabled, I believe, since I can do "sudo su -". |
Quote:
|
Quote:
|
Quote:
OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090702f |
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
So what gives? :confused: |
Please su to root and give us the results of:
cat /etc/sudoers Do you have a line at the bottom with %admin ALL=(ALL ) ALL ? |
Quote:
Robert |
Quote:
The point of sudo is to not have to login as root (nor even enable root) in order to do things that need to be done as root. Those users that have no need to do admin things (and therefore, no need for sudo) do not need to be, nor should be, in the admin group. However, this is the default set up for the sudoers file. You can easily edit it to add particular users and enable sudo for them, yet they don't have to be part of the admin group. But that, IMO, is a colossal security risk that should be undertaken with the utmost of care. |
| 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.