 |
 |
can't sudo!
|
 |
|
 |
|
Professional Poster
Join Date: Feb 2002
Location: adequate, thanks.
Status:
Offline
|
|
When I want to execute a terminal command like "sudo periodic weekly" the terminal says after entering the password:
aw is not in the sudoers file. This incident will be reported.
How can I get my user "aw" into that file? reading "man sudo" didn't solve my problem.
|
|
|
| |
|
|
|
 |
|
 |
|
Admin Emeritus 
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Only admin users can sudo.
tooki
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
You have to edit /etc/sudoers. As the prior person said, by default on OSX all administrators are given sudo permission. For more info type man sudo at the terminal.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jan 2003
Location: The midwest...
Status:
Offline
|
|
in solaris you do a sudo su -
maybe this helps, but probably not. make sure if you edit sudoers that you back it up first....
|
|
Joe
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2002
Status:
Offline
|
|
also, i know this hasn't been mentioned, but you must have the BSD Subsytem installed in order to do almost all unix commands. You can install from CD 1 or panther (i believe). As well as without installing all over again.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
Is that right? Since so many programs now depend upon BSD stuff, I don't think that is right. I think the BSD stuff is always installed. Are you perhaps confusing it with the UFS file system or the developer tools? Some things do require the developer tools (which I think everyone ought to install "just in case"). However I think sudo is in all systems.
Of course I may be an idiot and be completely wrong. But I'm pretty sure.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status:
Offline
|
|
Originally posted by clarkgoble:
Is that right? Since so many programs now depend upon BSD stuff, I don't think that is right. I think the BSD stuff is always installed. Are you perhaps confusing it with the UFS file system or the developer tools? Some things do require the developer tools (which I think everyone ought to install "just in case"). However I think sudo is in all systems.
Of course I may be an idiot and be completely wrong. But I'm pretty sure.
You can choose when you install Panther whether or not to install 'BSD Subsystem'. I'm not sure if it's checked by default or not though, since it's been ages since I installed Panther.
|
|
Just who are Britain? What do they? Who is them? And why?
Formerly Black Book
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
You need to be an "admin". Is there another user on the system that created your account? If so, get them to change your account to an administration account in the "Security" tab of Accounts in System Preferences.
That's the non-unix answer. 
(Last edited by [APi]TheMan; Aug 4, 2004 at 09:33 AM.
)
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
Originally posted by Black Book:
You can choose when you install Panther whether or not to install 'BSD Subsystem'. I'm not sure if it's checked by default or not though, since it's been ages since I installed Panther.
Right. I guess what I was saying was that I don't think this deals with the stuff in /usr/bin or /sbin or so forth. Rather it deals wiht UFS file systems.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2002
Status:
Offline
|
|
Originally posted by clarkgoble:
Right. I guess what I was saying was that I don't think this deals with the stuff in /usr/bin or /sbin or so forth. Rather it deals wiht UFS file systems.
The BSD subsystem is the stuff in /usr/bin and /usr/sbin. It has nothing to do with UFS.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by ChrisF:
The BSD subsystem is the stuff in /usr/bin and /usr/sbin. It has nothing to do with UFS.
Well, it's most of the stuff in /usr.
BSD.pkg
9443
BaseSystem.pkg
211
Essentials.pkg
2737
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|