In article <2012042005235946915-info@stconinccom>,
Torsten Jørgensen <
in...@stconinc.com> wrote:
> Look, all the insulting inuendo about who is a better hacker on a mac
> doesn't really belong on the internet.
You made the claim that you are a very skilled Unix user; and it is very
obvious to those of us who know better that is not true. When others
pointed this out to you, you became upset with them. That's life; and
you'll have to figure out how you will deal with it. One way would be to
refrain from making that particular claim until it is actually true.
> It is not relly a nice thing to do, to notice sudo without any
> further comment - a bit haughtily
Excuse me? The sudo facility was suggested to you, yet you showed no
interest in it. Why should others explain more about things in which you
show no interest? If you had shown genuine interest and asked questions
as a sign that you were interested, someone surely would have answered
your questions - especially me in particular.
> - or to mention that you doubt my
> capabilities
> as a UNIX operator, that is an insult.
Son't make ludicrous claims like that, and you won't find yourself in
this situation.
> I am a Bachelor of Science in Computers, and know UNIX fairly well. I
> am not a Systems Operator and will never be, but I know my way around
> UNIX fairly well.
Untrue. You may have a BS but you clearly do not know Unix very well.
> Now Machintosh is new to me - and there is a gimmick.
Ooh, a gimmick? A trick to attract attention, publicity, or business?
This should be interesting...
> When you create an Administrator account on a mac, the account does
> automatically add an entry in the sudoers file with that account, so
> that the admin account can perform root access operations with sudo.
I hate to break it to you, but Mac OS X isn't the only operating system
that does such a thing. This allows administrators to use the sudo
facility. There's nothing flashy about it. And you have full control
over the sudoer configuration, so you can set it up to allow even
non-administrators access the sudo facility if you wish. How is this a
gimmick, exactly?
> The string from Warren Oates, does actually work so cheers - but I
> like to do things straight so I use 'su'
Using 'su' to switch to the root account is a bad idea for a few
different reasons, some of which have already been mentioned in this
thread.
Your instructors should have taught you to always try to run with as few
escalated privileges as possible, because (a) it reduces the *chance* of
privilege escalation accidents, and (b) it reduces the *impact* of
privilege escalation accidents that do occur.
> [su] stands for subuser
Technically, it stands for "substitute user identity". What it actually
does is switch you to another user account and start a new shell under
that user account.
> and log in as root
You can log in as root with 'su' by:
1. Enabling the root account.
2. Setting the root password.
3. Entering the 'su' command.
4. Typing the *root* password when requested.
Or you can log in as root with 'sudo su' by:
1. Entering the 'sudo su' command.
2. Entering *your own* password when requested.
You have stubbornly chosen the more cumbersome and less secure method,
despite advice from this group. Best of luck with that.
--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.
JR