• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » OS X Superuser : Enabling and Cautions

By Abhishek Ghosh January 8, 2014 6:31 pm Updated on January 8, 2014

OS X Superuser : Enabling and Cautions

Advertisement

As we all know, OS X Superuser account sometimes is specially required but most often we are not aware how are the ways or why not to use this Superuser mode. You will find lot of articles on various websites, blogs telling you to how to enable OS X Superuser account but they never says – why OS X Superuser account by default is not enabled or why we possibly avoid using this mode.

 

OS X Superuser Account : Cautions and Why it is Not Enabled by Default

 

First of all, OS X is full UNIX. If you are not sure what is UNIX Operating System, please read this article. The root user, or superuser, is a special user account in OS X that can modify and delete critical system files. By default, the root user is not enabled. If you log in as the root user, use extreme caution. You can damage the system by moving or deleting important files. Use this account only for specific administration or monitoring tasks. Both for UNIX and Unix Like OS, there is Wheel Group. In computing, the term wheel refers to a user account with a wheel bit, a system setting that provides additional special system privileges that empower a user to execute restricted commands that ordinary user accounts cannot access. The term is derived from the slang phrase big wheel, referring to a person with great power or influence. It was first used in this context with regard to the TENEX operating system, later distributed under the name TOPS-20 in the 1960s and early 1970s.

Modern UNIX systems use user groups to control access privileges. The wheel group is a special user group used on some Unix systems (deliberately small letters used) to control access to the su command, which allows a user to masquerade as another user.

Advertisement

---

Sometimes, one user must assume the identity of another. For example, you might sit down at a friend’s terminal and want access to one of your protected files. Rather than forcing you to log your friend out and log yourself in, Unix gives you a way to change your user ID temporarily: it is the su command, which is short for “substitute user.” The most common use of the su command is to invoke superuser access.

In all modern Macbook Pro, there is no separate Backspace and Delete key. The one marked Delete is actually a Backspace key. If you want it to function as a PC Delete key hold down the “fn” key when hitting it (fn-delete combination is for the “delete-right” functionality). That most of the time, MOST OF THE TIME but not always, makes it a Delete key. Except when you actually want to Delete something. Then all you get is a BEEP and a Physical Feedback (only in extreme cases Return and Delete give this physical feedback). But in most programs to delete something to the right of the cursor fn+Delete will remove what is to the right.

Terminal is something different, because we are emulating UNIX of quite older days – shell can differ as we mentioned in our article on Unix Shell or Shell. This knowledge practically nothing when you are using OS X Superuser mode – you must be very very careful. We might need to change the permission of some files – CHMOD and CHOWN. After changing the ownership, one must return back to normal user mode. Although the Feedbacks are used for the keys – they might not be so intelligent to understand your mistake.

 

OS X Superuser Account : Ways

 

When we are using the default shell, that is packaged with OS X (The Bourne Shell Again) not ZSH or Oh My ZSH, these commands which are written works. Some package manager like Homebrew might fully refuse sudo command and throw funny output – “cowardly refused”, no doubt, this is a joke to the user for being over-smart and a protective mechanism.

OS X Superuser
  1. whoami command gives the username
  2. bash command switches from other Shell
  3. You need to use su username. The password for this account is requested, and then you’re user.
  4. You need to use the Directory Utility from GUI to create/enable root. Open Users & Groups preferences, click Login Options, then click the lock icon to unlock it. If necessary, type your password, then click Unlock. In the Network Account Server section, click Join or Edit. Click Open Directory Utility. Click the lock icon to unlock it, then enter your administrator name and password. Do one of the following: Choose Edit > Enable Root User, then enter a root user password in the Password and Verify fields. Choose Edit > Disable Root User. Choose Edit > Change Root Password, then enter a new root user password.
  5. sudo -s does give the root privilege from CLI. You must know, this is a shortcut – it is even not understandable that you are really using the root privilege, it becomes apparent by typing exit and hitting the Return key – Terminal App is not exited, but the su mode.
  6. Do not run GUI App as root user (with active Internet connection) unless in huge need.

 

There are paperback books on UNIX and Apple has their huge resource, please read them before manipulating serious files. OS X Superuser mode, not really needed for normal usage.

Tagged With superuser on os-x

This Article Has Been Shared 480 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to OS X Superuser : Enabling and Cautions

  • Getting Kids into Computing

    Getting kids into computing can be difficult work for the parents – mastering computing is must today. Making them aware of Privacy and Security is important.

  • Tilde : The Mystic Character

    Tilde (~) is a character in the form of a horizontal wavy line formed of two equal bays. The character is used as a punctuation mark, as diacritical marks and as a symbol in some technical language. It was first used in the polytonic orthography of Ancient Greek, as a variant of the circumflex, representing […]

  • Text-based User Interface (TUI)

    Text-based User Interface (TUI) was coined after the Graphical User Interface came and virtually became the standard over Command Line Interface (CLI).

  • What is Wheel Group in UNIX and Unix-Like OS?

    Wheel Group originated in the TENEX OS, distributed, widely used in 1960s. Wheel Group has wheel account, has additional system privileges.

  • IBM Mainframe Computer Reaches 50 Years

    On April 7, 1964 officially IBM announced the launch of System/360, which is natural considered to be the founder of modern mainframes, supercomputers for the execution of large amounts of data.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "OS X Superuser : Enabling and Cautions," in The Customize Windows, January 8, 2014, January 29, 2023, https://thecustomizewindows.com/2014/01/os-x-superuser-enabling-and-cautions/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT