Beiträge von chrisu

    Naja wenn man mit der Konsole arbeiten will und
    auch sein BSD etwas verändern will bzw. Konfigurationen
    per Konsole durchführen will, schein mir es schon sinnvoll zu sein,
    sich als root einzuloggen ...

    ... kann natürlich auch schief gehen :devil::shinner:

    TOPIC

    Follow steps in this article to enable the root user in Mac OS X, which is disabled by default.


    DISCUSSION


    This article describes the root user for Mac OS X and Mac OS X Server versions 10.0 and later.

    Important:
    1. If you are not familiar with the meaning of "root user," you should read this entire article to get important precautionary information before using the root user. You must have an Admin user name and password to complete the steps below.

    2. If you are using Mac OS X Server, root is already enabled by default. Advice contained in this article to disable root access when used infrequently does not apply to Mac OS X Server. It should remain enabled. For more information on related behavior, see technical document 106361: "Mac OS X, Mac OS X Server: Password Does Not Work as Expected After a Change"

    Sections of this document:

    I. Steps to enable the root user
    II. How to log in as root
    III. How to disable the root user
    IV. About the root user
    V. What is the root directory?


    I. Steps to enable the root user

    1. Click the Finder icon in the Dock.
    2. Choose Go ? Applications (Applications from the Go menu).
    3. Open the Utilities folder.
    4. Open the NetInfo Manager utility.
    5. Click the lock in the NetInfo Manager window.
    6. Enter the name and password of an Admin user, then click OK.
    7. For Mac OS X 10.2: Choose Security ? Enable Root User.
    For Mac OS X 10.0 and 10.1: Choose Domain ? Security ? Enable Root User.
    8. If you have not previously set a root password, an alert box may appear that says "NetInfo Error," indicating that the password is blank. Click OK.
    9. Enter the root password you wish to use and click Set.
    10. Enter the password again for verification and click Verify.
    11. The root user is now enabled.
    12. Click the lock again to prevent changes.


    II. How to log in as root

    For Mac OS X 10.2
    1. If you are logged in to Mac OS X, choose ? Log Out.
    2. If you are logging in from a list of user names with pictures, click Other.
    3. In the Name field, type: root
    4. In the Password field, type the password you defined in the steps above.

    For Mac OS X 10.0 to 10.1.5

    After enabling the root user, you must log out from Mac OS X and log back in as the root user. Logging in to Mac OS X from a list of user names is the default behavior for later versions of Mac OS X. Logging in by typing your user name in a text entry field is the default behavior in earlier versions of Mac OS X. You can choose either method in the Login pane of the System Preferences application. The root user does not appear in the list, so you need the text entry option. If necessary, follow these steps to change the login method to text entry:
    1. Choose ? System Preferences.
    2. Choose View ? Login.
    3. Click the Login Window tab.
    4. Select the radio button for "Name and password entry fields."

    Follow these steps to log in as root:
    1. If you are logged in to Mac OS X, choose ? Log Out.
    2. In the Name field, type: root
    3. In the Password field, type the password you defined in the steps above.


    III. How to disable the root user
    1. Open NetInfo Manager, located in the Utilities folder.
    2. Click the lock.
    3. Enter the name and password of an Admin user, then click OK.
    4. For Mac OS X 10.2: Choose Security ? Disable Root User.
    For Mac OS X 10.0 and 10.1: Choose Domain ? Security ? Disable Root User.


    IV. About the root user

    The user named "root" is a special user in UNIX-style operating systems that has read and write privileges to all areas of the file system.

    The root user should only be used for specific administration or monitoring tasks. After completing a task as the root user, you should log out of Mac OS X and log back in using a normal or Admin user account. You should disable root access if you do not use it often.

    Warning
    1. Only the owner of a computer or its designated administrator(s) should have Admin user status or the root password.
    2. Any Admin user can become the root user or reset the root password.
    3. A root password should be difficult to guess, containing both numbers and letters within the first eight characters.
    4. A root user has the ability to read other users' files.
    5. The root user has the ability to relocate or remove required system files and to introduce new files in locations that are protected from other users.


    V. What is the root directory?

    When reading technical documents, it helps to know that the term root is used in two distinct ways: The "root user" and the "root directory." The root directory is the highest directory level of a disk. The files and folders you see when you open (double-click) your hard disk icon are the contents of that disk's root directory.

    A user's short name is also the name of his Home directory. The root user shares its name with its own Home directory, which is the first (or highest) level of the disk directory.

    The Finder and the Terminal show different contents for the root directory. Some items in the root directory are made invisible when viewed in the Finder. This reduces visual clutter and enhances simplicity. Users familiar with UNIX command line may use the Terminal utility to view everything in a directory.

    Notes
    1. A directory is represented graphically as a folder. You may know your Home directory as your "Home folder." The terms "folder" and "directory" are generally interchangeable.
    2. The root user does not appear in the Users pane of System Preferences.

    stört das sonst niemanden das dieser shortcut 'fehlt' ?
    wie händel ihr das mit dem zoomen (wenn's schnell gehen soll also nit grad mit der mause) ?

    selber shortcut anlegen ?

    (vielleicht bin ich ja etwas kleinlich... :devil: )

    Zitat von MacOS X

    Also ich finde sie Apple-eigene Entwicklungsumgebung super. Was will man mehr :) - und kostet nix ;) ...

    Was meinst du genau?

    Emacs, Vi und Java Compiler sind dabei oder ?

    Aber C und C++ und PHP ??
    Welche Compiler werden installiert ?
    gcc ?

    Zitat von MacOS X

    Hat alles nix genützt. Dürfte also wirklich irgend ein gröberer Bug im OS X sein.

    Aber jetzt kommt das Beste:

    Ich hab die Datei trotzdem löschen können! :verycool:
    SAMBA Zugriff über Win XP -> löschen -> anstandlos weg.


    Komisch, nicht? :coolsmile Auf jeden Fall bin ich nur froh, dass der Datenmüll jetzt weg ist.

    Wenn es kein Bug war dann hatte es sicher mit den Rechten zu tun ..

    Hab auch schon von Win XP über Samba auf MacOSX kopiert und zwar als anderer User...
    Hab mir dann alle Rechte gegeben im Info Feld ...
    Und hatte dann das selbe Problem ...

    Natürlich kann man dann mit dem Win XP wieder alle Dateien über den Samba löschen da man ja die Rechte hat ...

    Musst mal probieren mit anderen User einloggen und dann löschen probieren und es geht ...

    Wenn alle Rechte vorhanden dann gehts ...

    Sieht man auch am besten im Terminal ...

    Einfach mit cd in den richtige ordner wechseln und dann mit ls -l die Rechte auflisten lassen ...