Sponsored Content
Full Discussion: File Permissions in Mac OS X
Top Forums UNIX for Dummies Questions & Answers File Permissions in Mac OS X Post 18559 by chenly on Friday 29th of March 2002 11:48:26 PM
Old 03-30-2002
Computer

If you boot from OS 9, you can do whatever you want to that file. Be careful! Additionally, if you follow file path /Applications/Utilities/NetInfo Manager and launch NetInfo Manager, you can follow the menu path Domain>Security to setup and enable the root user on your maching, aka the superuser. WRITE THE ROOT USER PASSWORD DOWN AND PUT IT IN A SAFE PLACE! DO *NOT* PROCEED UNTIL THIS IS DONE! After this is done, choose "Logout" from the Apple menu and log back in as the superuser by clicking on "Other" and typing in "root" as the username and the password you assigned. If "Other" does not appera, choose "System Preferences" from the Apple menu and go to the Users pane; you will be able to control what shows in the login window there. Once you are logged in as the superuser, all application programs, including the Finder, Terminal, and everything else launches with root access, and you can do pretty much whatever you want, but, again, BE CAREFUL. If you tell UNIX to do something silly, it won't second-guess you--it'll just do it, often before you even realize it's started.
 

6 More Discussions You Might Find Interesting

1. HP-UX

To give the "unzip" permissions & "create" file permissions

Hi, I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory. Thanks in advance. Mike (3 Replies)
Discussion started by: Mike1234
3 Replies

2. Shell Programming and Scripting

Retain file permissions when saving .sh file from internet [OS X]

Hello. I have written a bash script that I am sharing with an OS X community I am a member of. The purpose of the script is to execute a series of commands for members without them having to get involved with Terminal, as it can be daunting for those with no experience of it at all. I have renamed... (4 Replies)
Discussion started by: baza210
4 Replies

3. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

4. Shell Programming and Scripting

Changing file permissions of a file created by another user

Hi, I have used expdp for datapump. The .dmp file is created by the "oracle" user. my requirement is to make a zipped file of this .dmp file. What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
Discussion started by: qwertyu
3 Replies

5. Shell Programming and Scripting

Mac. PHP fopen() does not create a file. Permissions.

5Thank you to those who responded. After a crazy amount of troubleshooting and getting hints and feedback from others, I was so darn determined to get on with my tutorials and I found the solution myself. Keyword search: php and 'Mac computer' and fopen and chmod. Using:php and Mac and... (1 Reply)
Discussion started by: iHaveAQuestion
1 Replies

6. Web Development

Mac. PHP. fopen( ) does not create a file. Permissions.

Thank you to those who responded. After a crazy amount of troubleshooting and getting hints and feedback from others, I was so darn determined to get on with my tutorials and I found the solution myself. Keyword search: php and 'Mac computer' and fopen and chmod. Using: php and Mac and... (2 Replies)
Discussion started by: iHaveAQuestion
2 Replies
svcsetup(8)						      System Manager's Manual						       svcsetup(8)

Name
       svcsetup - set up the svc.conf file

Syntax
       /usr/etc/svcsetup [[-d directory] -o name_service_order]

Description
       The  command  allows  you  to  print  and modify the contents of the file on the current system.  This file must be modified when adding or
       removing a naming service, such as Yellow Pages or BIND/Hesiod. The security parameters also included in the file can only  be  changed	by
       Changes take effect immediately.

       Modifications to this file can also be made via an editor.

       You  can  supply  the  name  service ordering for all databases from the command line using the -o option. The combination of the -o and -d
       options allows you to set up a diskless client from the diskless server.

       When you run interactively, and choose from the configuration menu, you can choose to modify any number of the databases listed by entering
       each  number  separated by space at the prompt. When choosing a naming service order for a database, enter one number from the menu choices
       shown which corresponds to the naming service order desired.

Options
       -d directory
	    These two arguments are required if you are setting up a diskless client from the diskless server. The directory is the full  pathname
	    of	the root directory for your system (a diskless client) on the diskless server. The following is an example of a root directory for
	    a diskless client named
	    /dlclient0/orange.root

       -o name_service_order
	    This is the name service order to be set for all database entries in the file. The name service order can be  one  of  the	following,
	    which are the only valid strings for name_service_order argument:

       o   local

       o   local,yp

       o   local,bind

Restrictions
       The recommended configuration is that you have as the first entry for all databases.

       You must have as the first entry for the and databases.

       You must have as the entry for the database.

       You must have either or as the entry for the database.

       You must be superuser to run

Files
       Services order configuration file

       System header file

See Also
       svc.conf(5)

																       svcsetup(8)
All times are GMT -4. The time now is 03:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy