Search Results

Search: Posts Made By: CBarraford
5,423
Posted By CBarraford
that's a prett good idea, I didn't think of that....
that's a prett good idea, I didn't think of that. The only issue is the user has admin rights, so they could override if they wanted to. Thanks for your help.
5,423
Posted By CBarraford
The user needs access so an application can...
The user needs access so an application can install a package from the network drive. But I don't want the user to get a copy of it. So I am tring to hide the network drive.
5,423
Posted By CBarraford
Hide network mount from df commands
I am trying to write a script that mounts a network drive. The network drive must be as secure and hidden as possible, including being hidden from commands such as df, etc. Any suggestions?
44,198
Posted By CBarraford
found my own answer sed '/^MAC address/ d'
found my own answer

sed '/^MAC address/ d'
44,198
Posted By CBarraford
Remove Line that contains specific string
I am looking for a way to remove any line in a text file that contains the string "Mac address". I guess you would grep and sed, but I am not sure how to do this. Thanks for you help.
Forum: OS X (Apple) 05-02-2007
4,028
Posted By CBarraford
yeah, i am aware of using a browser, but I hoping...
yeah, i am aware of using a browser, but I hoping to get it from unix directly
Forum: OS X (Apple) 05-01-2007
4,028
Posted By CBarraford
Get print job information
Hi all,
I am on a mac and I am trying to get more information about print jobs i have. "lpq" only displays the document printing, size, and job ID. I need the status (if its on hold or not). Anyway...
Forum: OS X (Apple) 03-05-2007
7,863
Posted By CBarraford
thanks man, making my own ntp.conf file works...
thanks man, making my own ntp.conf file works great. I tried using ntpdate, but just couldn't get it to work right
Forum: OS X (Apple) 03-04-2007
23,791
Posted By CBarraford
found an even better way of doing it sudo...
found an even better way of doing it

sudo scutil --set ComputerName "newcompname"
sudo scutil --set LocalHostName "newhostname"

this is much smoother than editing the plist manually and does...
14,119
Posted By CBarraford
hey cjajohnson thanks for your help. I thought...
hey cjajohnson
thanks for your help. I thought there was a "system" user because when i go to get info (im on a mac), it says "system" under owner

when i ran the code "ls -l" on the file, it came...
Forum: OS X (Apple) 03-03-2007
23,791
Posted By CBarraford
solved my own problem user plist buddy (more...
solved my own problem

user plist buddy (more info at http://www.dreness.com/blog/archives/6)

the plist containing the computer and hostname is located...
14,119
Posted By CBarraford
change owner of a file
im running into changing the ownership of a file. I am trying to change the ownership to "system", but it doesn't want to work. I

sudo chown system /preferences.plist
Password:
chown: system:...
Forum: OS X (Apple) 03-02-2007
11,308
Posted By CBarraford
thanks zazzy. I didn't know deleting a user would...
thanks zazzy. I didn't know deleting a user would be so dangerous.
Forum: OS X (Apple) 03-02-2007
7,863
Posted By CBarraford
this is what i get ComputerName ~ $ sudo...
this is what i get

ComputerName ~ $ sudo ntpdate timeserver.something.com
Password:
2 Mar 12:02:13 ntpdate[8910]: the NTP socket is in use, exiting
ComputerName ~ $

so then i kill running...
Forum: OS X (Apple) 03-01-2007
7,863
Posted By CBarraford
change network time protocol
by default, a mac syncs its time and date with time.apple.com (located system prefs->Date&Time). Is there a way in unix to change it to another address?

my attempts to use ntpdate and ntpd have...
Forum: OS X (Apple) 03-01-2007
11,308
Posted By CBarraford
Delete User?
is there a way to delete a mac os x user using unix?
Forum: OS X (Apple) 03-01-2007
23,791
Posted By CBarraford
Change Computer Name
I am trying to change my computer name (located in system prefs-> sharing) using unix

i've tried

Macbook-Pro:~ user$ hostname
Macbook-Pro.local
Macbook-Pro:~ user$ sudo hostname hello...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 04:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy