Sponsored Content
Operating Systems OS X (Apple) the best way of editing .plist files Post 302160346 by PxT on Monday 21st of January 2008 05:46:39 PM
Old 01-21-2008
Use the 'defaults' command which is included with the OS, or the GUI Property List Editor which comes with the Developers toolkit. If you are on Leopard there is also a tool called PlistBuddy.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using defaults read to get value from plist

Hi there, I'm trying to retrieve a value from a plist file, which I have done before with no problems, however this plist file looks a little different.... Normally it's like this; <plist version="1.0"> <dict> key>KeyName</key> <string>blah</string> I want the value of KeyName, so... (1 Reply)
Discussion started by: davewg
1 Replies

2. UNIX for Dummies Questions & Answers

max os x .plist not running as scheduled?

Hello all, I am admittedly a newbie and have created a plist designed to fire off a shell script everyday at 3:00pm. It is located in /Library/LaunchDaemons/. I use it to mirror a hard local drive with a remote one. It worked one time but not again after that. I never restart the machine... (0 Replies)
Discussion started by: Movomito
0 Replies

3. Shell Programming and Scripting

editing files

Is there any command which I can apply from the command line to find and replace a particular text say "00:00:00:00" with "00" from all the files( where ever this text exists) of the current directory? (17 Replies)
Discussion started by: cobroraj
17 Replies

4. Shell Programming and Scripting

Editing files to add some thing in all the files in a folder

Hi All, I have a folder that contains 100's of files and each file have a similar content like the following format: ((STBJa:200.0,((STBTz:200.0,(STSwe:200.0,(STDUw:200.0,(ST4Bu:200.0,STL2b:200.0):127.0):86.0):80.0):120.0, STAHr:200.0):134.0):200.0,STuNg:200.0);What I need is to do is add "#1"... (2 Replies)
Discussion started by: Lucky Ali
2 Replies

5. OS X (Apple)

Plist to Unix Executable

I'm using an old conversion method for converting a plist into an XML file, but that's not what I'm needing just via terminal now. What I'm looking for is an answer to convert a plist file into an executable. I'd like to import it into Casper and have the JSS push it out onto an image. In this... (6 Replies)
Discussion started by: unimachead
6 Replies

6. Shell Programming and Scripting

Parsing plist file ?

Hi, I wondered if it was possible to parse a plist file like this http://dl.dropbox.com/u/14586156/stuff/Bookmarks.plist so it will afterwards look like this <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"... (0 Replies)
Discussion started by: pasc
0 Replies

7. Shell Programming and Scripting

editing files.

hello, i have a problem. suppose file.txt i want to add lines over those lines in a file if it starts and ends with how and "?" respectively. i want output like output file.txt thanks (4 Replies)
Discussion started by: yashwantkumar
4 Replies

8. Shell Programming and Scripting

Bash script deleting my files, and editing files in subdirectories question

#!/bin/bash # name=$1 type=$2 number=1 for file in ./** do if then filenumber=00$number elif then filenumber=0$number fi tempname="$name""$filenumber"."$type" if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies

9. UNIX for Dummies Questions & Answers

Editing files

This is a smallpart of my input file.I want to change the ID values of entries having CMW as an entry. Cont_1.266 . CMW 2958 3269 . - 0 PARENT=t:UM06506T0;ID=UM06506P0;rank=6 Cont_1.266 . CMW 3394 3505 . - 0 ... (3 Replies)
Discussion started by: sasdf
3 Replies
radiusconfig(8) 					    BSD System Manager's Manual 					   radiusconfig(8)

NAME
radiusconfig -- tool to configure radiusd SYNOPSIS
radiusconfig command [command-options] [-q] DESCRIPTION
radiusconfig is a utility for configuring radiusd and its configuration files. It must be run by root. USAGE
-q Suppress prompts. Queries -getconfig [RADIUS-DB-Directory] Returns configuration data from radiusd.conf and eap.conf in plist format. Reads the configuration files from /etc/raddb unless RADIUS-DB- Directory is specified. -getconfigxml [RADIUS-DB-Directory] Returns configuration data from radiusd.conf and eap.conf in xml plist format. Reads the configuration files from /etc/raddb unless RADIUS- DB-Directory is specified. -nascount Returns the number of RADIUS clients. -naslist [--with-status] Returns the list of RADIUS clients in plist format. If the --with-status option is used, an IMCP ping is sent to each client and the responses, or lack thereof, are included in the results. -naslistxml [--with-status] Returns the list of RADIUS clients in xml plist format. If the --with-status option is used, an IMCP ping is sent to each client and the responses, or lack thereof, are included in the results. -help Print usage information. -ver Displays version information. Setup ---capture-base-station base-station-IP primary-RADIUS-IP [secondary=IP] [wpa-key-timeout=minutes] [wait-for-restart] Pairs an Airport Base Station to a RADIUS server. The shared secret is set in the RADIUS client database and on the base station. -disable-tls Changes eap.conf to contain a commented-out TLS section. -enable-tls Changes eap.conf to contain an active TLS section. -installcerts private-key certificate [trusted-ca-list [yes | no [common-name]]] Changes eap.conf to contain an active TLS section and configures the certificates. The yes or no option specifies whether or not to check a certificate revocation list. The random file is replaced and the dh file is created if absent. -addclient nas-name shortname [type] Adds a client. -importclients xml-plist-file Imports a list of clients from a file. -removeclient nas-name [nas-name ...] Removes a client. -setconfig key value [key value ...] Sets parameters in the radiusd.conf and eap.conf files. -setgroup nas-name group-name Assigns an access control group for a specific client of the RADIUS server. -rotatelog [-n file-count] base-file Preserves file-count log files. -autorotatelog [on | off | status] [-n file-count] Configures a periodic task to rotate the radius logs on a daily basis. -getssid host Queries the base station at the host address for its WiFi network name (SSID). -start Tells launchd to keep RADIUS running. -stop Disables RADIUS in launchd. FILES
/usr/sbin/radiusconfig /etc/raddb/eap.conf /etc/raddb/radiusd.conf SEE ALSO
radiusd(8) MacOSX June 2, 2019 MacOSX
All times are GMT -4. The time now is 07:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy