-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, April 23, 2002, at 10:20 PM, Michael Bovee wrote:

>>> Read this - and be careful with that root account!
>>> http://www.osxfaq.com/Tutorials/Root_User_Creation/index.ws
>>
>> But if I was you I'd think twice about this - I am using OS X for a 
>> long time now, and I have never ever felt the need to enable the root 
>> account. When I need to do root work, I can just "sudo -s". You *do* 
>> open up a potential security hole if you enable the root account, 
>> that'S why it is disabled by default.
>>
>> Max
>
> Thanks for the good advice! I will definitely heed it, and pass the 
> word to my friend who was trying to figure it out.  The question arose 
> out of the incorrect assumption that to do certain tasks required 
> actual root privileges.  In fact I need to look into the attributes of 
> the sudo command;  being new to *nix systems I had never heard of this 
> command in a linux/unix context and thought it was some hybrid command 
> that Apple came up with so that users would not 'need' to use the root 
> account. And of course in asking for help from local linux experts, I 
> guess they instinctively asked my friend for root priviliges on his 
> PBG4, not understanding the way OS X typically prefers administrative 
> tasks to be handled.
>
> So, is it possible to set up even a Linux system this way, for example 
> the SuSE 7.3 distro for PowerPC that I have on my PBG3 can be 
> administered while rarely needing actual root privileges?  Does sudo 
> function exactly the same under a typical Linux distro?

sudo functions the same way, but it is the admin's job to add users to 
sudo, etc. mac sudoers and man sudo are your friend here. It is possible 
to really limit what someone can do as root, but beware! there are many 
commands which are just dangerous to let people run as root. there was a 
long thread about this i think on deboan-security a while ago... take 
car for example, simple command, reads files, right? well, if someone 
redirects the output of cat, they can write files... cat mytext > 
mytext2...or cat /etc/shadow > me; nano me; cat me > /etc/shadow    
hmm...just rewrote the shadow file...just a warning to ya. but I set up 
sudo on my linux box for me only, i can exec any command. the best part 
about sudo is it logs everything. so if you dont remember changing a 
file, you can look at the log. PS: my favorite distro is debian, but i 
have not yet tried it for the ppc/m68k. I heard it worked well, tho.  
gotta love apt  :-)

HTH

- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
========================================================
Security Is A Series Of Well-Defined Steps...

chmod -R 0 / ; and smile :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8xhof+/mCMqKrwHARAt44AJ4yWUWf5BZd62HwerJkcYjJ0A00sgCg4mK5
nDoKzzfBWBVovyzThlPbna4=
=RPYG
-----END PGP SIGNATURE-----


_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to