• 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 362 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Domain-Driven Design (DDD)? January 23, 2021
  • Top 10 Anti Hacking Software for Microsoft Windows January 22, 2021
  • What is Software Modernization? January 21, 2021
  • Cloud Computing : Cybersecurity Tips for Small Business Owners January 20, 2021
  • Arduino : Independently Blink Multiple LED January 18, 2021

 

About This Article

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

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

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

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

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