Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    mac


OS X :: How To Change Directory In Terminal To Network Drive

need to run a terminal command on my computer at home but it doesn't have screen sharing or remote management enabled. I do however have file sharing enabled and able to browse the drive freely. I want to run a sudo command on that drive but don't know how to run it from where I am.

View 11 Replies (Posted: Nov 12, 2009)

Sponsored Links:

Related Forum Messages for Mac:
OS X Leopard :: How To Restart Network In Terminal And Change Configuration
I change often my network configuration in my macbook, and I had a problem some time, I think in restart network also /etc/init.d/networking restart in Debian, but how I can do it in MacOSX, I try ifconfig restart, netstat restart.

Then how I can restart my network config?

One more question: How I change ip number, mask, gateway and DNS in file of confg? What file there this configuration number?

Mac OS X (10.5.8)

Posted: Nov 16, 2009

View 2 Replies!   View Related
OS X Leopard :: Manipulating Directory Path In Terminal
I'm looking for a simple terminal (unix) command that can take a long path resulted by the pwd command and remove some of the hierarchies from it.
For example if the input is: /Network/Servers/XXX/Volumes/YYY/home
The output should be: YYY/home

MacBook Pro
Mac OS X (10.5.3)

Posted: Jan 10, 2009

View 3 Replies!   View Related
OS X Leopard :: How To Set Terminal Title To Current Directory?
I'm wondering what variable I should export in order to show the current directory name on the title of a terminal. My shell is bash.

Mac OS X (10.5.8)

Posted: Oct 8, 2009

View 2 Replies!   View Related
OS X :: Dot Folders In Terminal/directory Path Setup For External Drives?
Ok, so I know that: mkdir .testhiddenfolder will create an invisible folder on my home directory. but how do i do this if i have an external drive called "G-Drive M2" .... is it mkdir G-DriveM2/.testhiddenfolder, or mkdir volumes/G-DriveM2/.testhiddenfolder

sorry if this is a way basic question. I'm totally new to unix and Termianl

Posted: Nov 6, 2008

View 14 Replies!   View Related
OS X Technologies :: Ftp Upload Via Terminal - 553 Rename/move Failure: No Such File Or Directory
Cannot seem to upload to a ftp server (permissions are correct on the home folder of the user!)But I get this result:

ftp> put /Users/[userfolder]/Documents/untitled.rtf
local: /Users/[userfolder]/Documents/untitled.rtf remote: /Users/[userfolder]/Documents/untitled.rtf
227 Entering Passive Mode (99,254,236,63,209,169)
553-Can't open that file: No such file or directory
553 Rename/move failure: No such file or directory  

Posted: Apr 24, 2012

View 1 Replies!   View Related
OS X :: IP Address Terminal Command On Network?
I used to know a command that would show all of the ip address and the name of the devices on your network. I have not use the command in a while and I forgot it.

Posted: May 27, 2009

View 11 Replies!   View Related
OS X :: Can Change Permissions On Directory?
I have a large music library that I have amassed over the years, but when I began ripping CDs there was no artwork on the iPod so it didn't matter, but now it would be nice to have it. I purchased a program called coverscout that finds artwork and automatically attaches it to the songs, but I have a problem. Somehow I have made every song read only. The program can't write the artwork to the tracks unless I change each one to rw. I tried to change just the directory, but that doesn't work.

Is there a terminal command to change all files in a directory to read/write? Just for your information all the songs are organized in a folder called music then subfolder of the artist and then a subfolder to that of the albums. It would be great to just change it all and then when I'm done change it back to read only.

Posted: Jan 27, 2009

View 10 Replies!   View Related
OS X Leopard :: Control Another Computer In The Same Network Using Terminal?
Is there a way to control another computer in the same network using terminal? I am having some problems at home where I need to control other computers.

Posted: May 23, 2009

View 3 Replies!   View Related
OS X Leopard :: Using Network Logins And Active Directory?
I work at K-12 college in ICT, we have windows 2003 servers. Just got 8 new iMac and trying to get them to work with Active Directory. All of them bound to Active Directory with the Directory Utility no problem. But some aren't show the option in System preferences > accounts > Login options "allow network users to login to this computer".

A few computers (new iMacs plus some older MacBooks) just won't show that option, I've removed and rebound it with Directory Utility a few times tried restarting, checked the time was same.

And some times "allow network users.." disappears for no reason and then comes back.

I've called Apple that said once it's bound in Directory Utility it show appear, that was it. Other than that try reinstalling OSX or try different user or delete the preferences (yet to try, but I doubt it will help since it's same issue on a brand computer as old one).

a range of models
Mac OS X (10.5.6)

Posted: Apr 20, 2009

View 6 Replies!   View Related
Pages 09 :: 4.0.3 Saving To Network Folder No Such File Or Directory
Someone we know has an error with Pages 09 v4.0.3

He saves his documents to a shared network folder on an XServe.

Normally this is ok, but periodically he can't save the file & has to save it to the desktop. The message he gets is:

The document "x.pages" could not be saved. No such file or directory.

Pages 09 v4.0.3

Posted: Apr 29, 2010

View 9 Replies!   View Related
Software :: Change/remove An Entry In Terminal?
I am a Mac user but do not know the technical or programming aspects of usage. A while ago I started with a new internet provider who attempted to give me a workaround to using bittorrenting without throttling (their service was being throttled by the parent line owner). The workaround involved putting some text into a Terminal window. I felt uncomfortable with this because i had heard you can really mess up your mac with Terminal if you dont know what your doing, but the guy i was talking to assured me this action he was leading me in was simple and wouldnt affect anything else. I did not finish the process he started me with (for fear of something going wrong), but I did enter enough text to wonder if its affecting my computer in some way. There are no signs of anything, but I'd rather make it as if I had never messed around with that to begin with, just incase. Its been about a month since this occured. I remember just closing the Terminal program and I havent touched it since. Can you please tell me what I can do to safely remove the entry?

Posted: Jan 29, 2009

View 1 Replies!   View Related
Snow Leopard :: How To Change Home Directory Name
Basically I am new to Mac and due to me being so excited when I received my new Mac I didn't realize that the short name would become the name of my home directory and I would like to change the name of this folder?

Macbook Pro
Mac OS X (10.6.4)

Posted: Aug 3, 2010

View 8 Replies!   View Related
Software :: Intermittent Spinning Beachball - Using Network Home Directory
What's happening is a class can be running and without warning all of them (or seemingly all of them) will get the spinning beach ball and won't be able to do any work for the 2 or so minutes before things return.

Here's what I currently know
- OS X version is 10.5 and is on the april (? around there) bug fixes
- Users are authenticating with Active Directory
- Users are using Network Home Directories with the files stored on a Server 2003 share
- I'm assured the network connection is fine but this hasn't been ruled out

Posted: Sep 30, 2009

View 7 Replies!   View Related
OS X Leopard :: How To Change Terminal Ssh Port Setting
My ISP changed its ssh port from 22 to 100. I've tried to change it in Terminal but it stays at 22. I opened etc/ssh_config as administrator, changed it there and saved the change, but it stays at 22.

Mac OS X (10.5.6)

Posted: Jan 16, 2009

View 2 Replies!   View Related
MacBook Pro :: Change Boot Options With Terminal?
How to Change Boot options with Terminal, or Startup Disk.

Problem I want to Install Boot Camp On my old Macbook Pro, But the "Superdrive" is not super anymore... So I only have the USB option.So I for instance partitioned my Extern HD and installed Lion in hope that it gave me the option to use the USB drive, since Boot Camp 4.0.1 have more options than 3.0.1 But all for nothing the macbook pros s EFI is set to only use the Superdriveport, and not like the Macbook air. I have seen I can use some rEFIt program to go in and change the preferred drive for starup. But I would rather like not to have a to change anything in the EFI with any program.

- So it must be possible to sort of make the Macbook Pro into an Air regarding the drives, if you know any kind of programming, which I dont.

Info:MacbookPro3,1, Mac OS X (10.6.6), Model Number A1226

Posted: Mar 25, 2012

View 1 Replies!   View Related
OS X Leopard :: Change User Folder (home Directory) Name?
Is there a way I can change "user folder" (home directory) name and also the MacBook name? The MacBook is brand new and I just finished basic set up (user account creation), so no files, no applications, no documents and so on are already installed.

Mac OS X (10.5.6)

Posted: Jul 15, 2009

View 6 Replies!   View Related
Applications :: Change IPhone / IPad Backup Directory
Is there a way to specify where iTunes stores iPhone/iPad backups? I'm trying to exclude these from the home directory on my new SSD. It's 30+ GB of stuff I don't need to access on a regular basis, so it's better off kept on another disk.

Posted: Jan 7, 2011

View 1 Replies!   View Related
OS X Leopard :: Network Icon Missing In Finder After Running Code In Terminal
I was attempting to run time machine on my NAS however, the NAS was not showing up in the time machine setup. I did some searching around and found on Mac Rumor Forms the following terminal command (defaults write TMShowUnsupportedNetworkVolumes 1) after running the command my network icon disparaged from the finder. I tried going to finder> Preferences and re clicking the Network box however, it is not there either. I ran software update and repaired my permissions with no luck. I'm running 10.5.8 on a G4 powerbook.

Powerbook G4 1.33
Mac OS X (10.5.8)

Posted: Oct 7, 2009

View 2 Replies!   View Related
OS X Leopard :: Active Directory Mobile User Hanging When Connected To Outside Network?
I have a Mac Book Pro running Leopard 10.5.5 joined to an AD Domain with the mobile account option configured in the Users panel. When connected to the domain the computer works fine. When I am not connected to the domain I experience very slow logins. If I turn airport off prior to logging in the computer logs in as normal, however once airport is re-enabled I can expect the computer to lock up within a few minutes. I can log in with airport enabled as a local user just fine.

I believe the computer is having trouble detecting whether it is on the domain or not. I made the mistake years ago of setting my domain up as simply rather than I wonder if the computer is able to resolve therefore it attempts to authenticate against it, but because I am not on correct network it fails.Can anybody tell me whether I am headed the right direction with this, and if so are there any workarounds you might be able to suggest?

MacBook Pro
Mac OS X (10.5.5)

Posted: Feb 13, 2009

View 1 Replies!   View Related
OS X V10.5 Leopard :: In Preview Change The Default Directory With Save As?
I have come across a problem where my default directory in Preview 4.2 won't change when I go to Save As.. Is there a way to change this default directory?

Mac mini, Mac OS X (10.5.8), Preview 4.2

Posted: Apr 19, 2012

View 2 Replies!   View Related
OS X V10.7 Lion :: Change User Account Name Or Home Directory Name?
I've a user who has been given a company shared MacBook Air. The account name was previously our company name, but I've sucessfully followed the guide [URL] to change this. Thus, the username is now now his firstname & lastname. The home folder is firstnamelastname. However, the old username (our company name) is still showing up as the username for some email recipients and airdrop.I'm guessing the email name might be saved localy on a few of the users contacts since he's been sending a few emails before the user name was updated. Can this be confirmed in any way?

MacBook Air, Mac OS X (10.7.3)

Posted: May 15, 2012

View 1 Replies!   View Related
Snow Leopard :: Set Terminal Network Browser Defaults To Ssh Protocol 1?
Is there a way to set terminal to honor the settings in /etc/ssh_config and use protocol 2 instead of 1 in the network browser?

it used to default to whatever the user chose, but now it pops up with ssh v1 for any new use of the network browser.

mbp 2.4, mbp 2.16, powerbook G4 1ghz, G4 400 mhz, dell test box, etc.
Mac OS X (10.6.1)
plain text 4 life

Posted: Nov 11, 2009

View 10 Replies!   View Related
Server V10.6 Snow Leopard :: Cannot Login To Open Directory From Wireless Network
I just setup a SL Server with DNS, OD, AFP. If I plug my MBP into the switch then I can login through OD with out any problems. The problem I'm having is when I disconnect from the switch & say go into a different room this time using wireless network I'm unable to login through OD. Now my Airport extreme is setup to be the Nat, DHCP server. I didn't let SL server reconfig it during the setup, only because the Airport Extreme is behind an AT&T uverse RG. On the airport extreme I did not put in the IP of the server in its DNS... could that be the answer?

Mac Pro Touch
3G iPhone
Mac OS X (10.6.1)
Mac OS X (10.6.4)

Posted: Sep 11, 2010

View 2 Replies!   View Related
Server V10.6 Snow Leopard :: PHD With NFS Network Home Directory
My environment consists of MacOS X 10.6 clients, Linux servers, and an NFS server running OpenSolaris 2009.06. I have a MacOS X 10.6 Server running OpenDirectory. User accounts have home directories set to /net/nfsserver/home/username. Mac, Solaris, and Linux needed hardly any configuring at all to get it to work and they are all happy with this set up. Luckily each OS has /net as an automounter for NFS shares. The problem arises when I bring Portable Home Directories (PHD) into the mix. PHD just won't sync to the /net location. First off, to enable it I set "Always create mobile account when a user logs on to the network" and create home using "network home with default sync settings."

I also enabled "always" for each of the tabs under Rules. Now the user logs on, gets a /Users folder created, and gets that Mobile Account "two houses" icon in the system tray area. However, when Sync Home Now is clicked, nothing happens. Also the "Mobile Account Settings" is greyed out in the user's preferences pane. Also I notice when using the "mount" command that the /net home folder is never mounted. Total PHD failure. I've had this working as a proof of concept using the OSX Server itself as the NFS server. The difference that I could tell was that NFS servers were mounted at /Network/Servers. Does this not work with a 3rd party NFS server?

Every Mac you can think of
Mac OS 8.6 or Earlier

Posted: Oct 29, 2010

View 1 Replies!   View Related
OS X V10.6 Snow Leopard :: Change User Account Name Or Home Directory Name?
I have renamed my home directory using the root then I restarted the computer. Then, I logged on with the same account that I have and I found that all the old folders have been moved to a new folder in the new directory under the old directory name.How to get back!I tried to rename it again by replacing the new name with the old name but it didn't work.. is there anyway to undo the change!!  
MacBook Pro, Mac OS X (10.6.8)

Posted: May 20, 2012

View 1 Replies!   View Related
OS X V10.6 Snow Leopard :: Change User Account Name Or Home Directory Name?
iMac OS X 10.6.8.  previously migrated account -- need to rename the account at the destination. Step 6 in the support page does not occur.  I never get a chance to hit OK to this: 6.  Click OK when "A folder in the Users folder already has the name 'account name'. Would you like to use that folder as the Home folder for this user account?" appears. Note: This will correct the ownership of all files in the Home folder, and avoid permissions issues with the contents. A red flag appears in the field that conflicts (either the short name or the full name). The name(s) cannot be changed! must cancel out. 

iMac, Mac OS X (10.6.8), Previously migrated account

Posted: May 23, 2012

View 3 Replies!   View Related
Server V10.6 Snow Leopard :: Need To Edit File In Terminal To Change Host Name?
Server is running 10.6.4 all updated on a fresh install. I have edited DNS zone so the zone name is and not - I have also changed the name server from to and left the name server as - finally I have the MX record set to

In server admin I have configured mail with an internet name and a hostname of as I understand it should be. In webmail messages only send and receive if they are sent to rather then Do I need to edit the squirrelmail file in the terminal to change the hostname for this to work?

MacBook Pro 13" 2.53GHz 4GB 250GB
Mac OS X (10.6.4)

Posted: Jul 6, 2010

View 7 Replies!   View Related
Server V10.6 Snow Leopard :: How To Change Directory Permissions To Non Visible User
In Get Info for a directory, I see these under "Sharing and Permissions":

tulip (Me): Read and Write Read only

everyone: Read only

I want to change the permissions so Filemaker Server can back up to it, to

fmserver: Read and Write

fmsadmin: Read and Write

everyone: Read only

However, I don't see the above users and groups in the choices when you click on the + sign.

And, they don't show up in Workgroup Manager.

However, fmserver and fmsadmin are valid users and groups, created when I installed FM Server.
I'd rather not get into the cmod command line.

So, the questions are:

1. How can I change directory permissions to a user and group in Get Info, when they don't show up here?

2. How can I see, or make visible, the "hidden" Users and Groups in Workgroup Manager?

Intel XServe
Mac OS X (10.6.2)

Posted: Mar 23, 2010

View 2 Replies!   View Related
Server V10.6 Snow Leopard :: Cannot Change From Standalone To Open Directory Master
Last night I did a regular software update for our OS X 10.6.4 Server. Shut the machine down, went to bed, in the morning the LDAP service was no longer working - looked in Server Admin/Open Directory and sure enough: "LDAP Server is: Stopped". Prior to this we have been running this server for about 9 months with regular updates and mostly smooth sailing (although LDAP has sometimes seemed slow for client logins). I spent hours researching lots of posts on this and related issues. Plenty of recommendations on how to manually recover the LDAP database which I followed (several times). But still not working.

So onto more drastic measures - several other posts recommended demoting the LDAP service to Standalone, then promoting it back to Open Directory Master. So I have changed it to Standalone in Server Admin but now I cannot change it back to Open Directory Master! Every time I try (Create Open Directory Master in Server Admin), it goes through all the steps, sits there for about 20 secs and then gives message: "There was a configuration error when configuring your server as an Open Directory master". It tells me to check the Configuration Log and this is what is in there: [Log]. Without LDAP nobody can logon to the server any more or use file sharing, etc.

Mac OS X (10.6.4)

Posted: Nov 28, 2010

View 4 Replies!   View Related
OS X Server V10.6 Snow Leopard :: Change The Ldap Ports Open Directory Uses?
How do I change the ports Open Directory runs on? Is there an LDAP config file somewhere? I need to change port 636 to something else

Posted: Jun 20, 2012

View 1 Replies!   View Related
Server V10.6 Snow Leopard :: How To Change Podcast Capture Web / Tmp Directory
I have a Mac Pro with 2 Partitions one small (100GB) one for the OS another (2.5TB) for the PCP Shared Files. When submitting large files with Podcast Capture Web the server runs out of space. This is due to the fact that PCW uses the /private/tmp directory to cache uploaded files. Is there a way to change this?

lots of different macs
Mac OS 8.6 or Earlier

Posted: Dec 23, 2009

View 1 Replies!   View Related
Server V10.6 Snow Leopard :: DNS Conflict When Running Open Directory Master Inside Of WIndows Network?
We installed Snow Leopard Server as an Open Directory Master in a building that already has a Windows Primary Domain Controller. The intent was to create a Mac network inside of the building with their own services. The Mac server does not pull LDAP/Kerberos/etc. from the Windows server and the Mac clients do not use the WIndows server for any other services.

Everything (Final Cut Server, Open Directory, DNS, File Sharing) worked fine for a day. The next day, all of the windows machines were getting DNS conflict messages on their screens every 15 minutes. After shutting down the Snow Leopard Server, the Windows machines are back to normal.

Xserve, Snow Leopard Server
Mac OS X (10.6.2)

Posted: Nov 24, 2009

View 4 Replies!   View Related
OS X V10.7 Lion :: Empty Trash May Not Delete Folders In Trash If Using Network Home Directory
I have two folders in my trash which I cannot empty. No matter how many times I try these folders will not go away. I have open the "info" link and marked them read and write without success.


Posted: Apr 23, 2012

View 4 Replies!   View Related
OS X Leopard :: Getting Drive Info From Terminal?
Is there a command I can run from Terminal to query the drive model & serial numbers and firmware revision for a particular volume or for all attached volumes?

Mac OS X (10.5.6)

Posted: Sep 24, 2009

View 3 Replies!   View Related
OS X :: Changing The Drive In Terminal Window?
I am a recent user of Mac and wondering about something. If I wanted to change the directory I am looking at in Command prompt in MSwindows I use a command, like unix/linux cd .. if I want to change the drive I want to explore in MS windows I use c: or d: or which ever drive I want to explore and then begin the exploration by using a dir or ls in the unix and cd to the folder.. how the l would I change drive from my primary to my seconary using the terminal window.. with a Mac? OS 10.4?

Posted: Jun 2, 2009

View 6 Replies!   View Related
OS X Leopard :: Network Share USB Drive On Local Ethernet Network
We have 1 USB external hard drive connected to my MacBook Pro 17". I need to be able to share this drive to two other users on my network. All users may have read/write permissions to the USB drive.Sharing is turned on and they can see and use my internal drive without issue, however can not use the external drive.

MacBook Pro 17"
Mac OS X (10.5.7)

Posted: May 16, 2009

View 3 Replies!   View Related
OS X :: Auto-mount A Network Drive After Connecting To A Wireless Network?
I am trying to figure out how to automatically connect a MacBook to a network drive after connecting to the wireless network that the drive is connected to.

Here is the situation:

I back-up my wife's MacBook via Time Machine to an external hard drive that is connected to my Apple desktop. It works great! I even have her system setup to automatically mount the drive upon log-in. Unfortunately, after leaving our wireless signal and then coming back the time machine drive isn't automatically mounted since she isn't "logging back-in". Is there an automator script that can be built to automatically connect to drive X after connecting to wireless network Z?

Posted: Sep 22, 2010

View 5 Replies!   View Related
Intel Mac :: Setup Network On 24, Have A Network Drive Installed Already?
Not sure even where to start. I have the Apple extreme router, WD network drive and 2 express units throughout the house. Looking to access the netwrk drive from MAcbook and TV that has internet connect through BLuRay disk.Router is behaving ok and the network drive is set up.Not sure where to from here. Any manuals available to take one through step by step?

iMac, Mac OS X (10.7)

Posted: Jun 15, 2012

View 13 Replies!   View Related
Applications :: Unable To Use Terminal / Terminal Stucks At Blank Login Window
Anybody see this before? I opened up and the window is completely blank. There is nothing in it whatsoever. Looks as if bash never started. The title bar simply says "Terminal — login — 80x24". I can type whatever I want in the Terminal window like it's a text document and nothing happens. If I restart the computer, this seems to fix the problem, but it seems to only be a temporary fix as the issue happens again soon after.

Posted: Oct 20, 2009

View 1 Replies!   View Related
Copyright 2005-08, All rights reserved