Visit Our UNIX and Linux User Community

Special Forums Windows & DOS: Issues & Discussions Question regarding Reg entries Post 302850899 by bakunin on Friday 6th of September 2013 01:49:39 AM
Old 09-06-2013
The registry is a sort-of database and is manipulated using certain specialised tools (like regedt32.exe, etc.). Unfortunately Microsofts tools do not offer a lot of possibilities to automatically (that is: non-interactively) edit the registry at all, so you probably will need some replacement tool for this. This includes saving (part of) the registry into a file and then read such a file and add its contents to the registry again. Therefore, how in detail you have to do that depends on the tool you finally decide to use.

No Linux does have a registry (and neither do most Unixes). All configuration information is stored in clear-text files as a principle, because these can be manipulated by simple text editors and/or any text-manipulating tool. This way it is easy to write scripts and other software to (semi-)automatically rewrite such configuration information. This adds a lot of possibilities to the administration/configuration of Unix-like systems Windows-systems do seriously lack.

Nevertheless the registry was invented on a Unix system (IBMs AIX, to be precise), where it is called "ODM". In fact it was licensed by Microsoft from IBM way back in the beginning of the nineties, IIRC.

The ODM (Object Data Manager) serves a similar purpose in AIX as the registry in Windows (here is the link to wikipedia), but is not as exclusively used as there. The classical config files are still there and only some parts of the configuration (logical volume manager information, software inventory, extended user attributes, etc.) is stored in the ODM. For some aspects there are daemons which propagate settings done in the ODM to the "real machine" and vice versa so that machine configuration and ODM content remains consistent.

For instance: user information is still handled in the classical files ("/etc/passwd", "/etc/group", ...), but extended attributes of user accounts (max time for a password to expire, etc.) are stored in the ODM. There is a command ("chuser") to manipulate user accounts which will do all the necessary changes to the ODM as well as the files automatically.

Another example: static routes are stored in the ODM as part of the systems attributes. There is a command "chsys", which would do the necessary changes (like issuing a "route" command wiht the appropriate options) and also stores the changes in the ODM. The user can use the "route" command alone too, generating a change in the routing table which will not survive reboot. "chsys" itself has a flag to change the system immediately, coming into effect only after next reboot or both. It would be possible (but is not recommended) to use low-level commands ("odmchange", ...) directly to manipulate the ODM the same way "chsys" does and the effect would take place with the next reboot.

This is another major difference between ODM and the registry: the ODM comes with all the necessary tools to manipulate it (odmget, odmdelete, odmchange, ...).

I hope this helps.

bakunin
 
Test Your Knowledge in Computers #22
Difficulty: Easy
RAM is considered volatile memory in a computer system.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

reg files

Dear all, One of our jobs retrieves data from tables and writes it to files. This job was running for around 15 minutes for the past 8 months. Now, this job is runnig for 45-50 minutes. I checked with the DBA's and found no issues with database. The time taken by to job to write to the file is... (5 Replies)
Discussion started by: ranj@chn
5 Replies

2. UNIX for Dummies Questions & Answers

Help with Reg. Expression

I need help with this: Can any one tell me what does these below mean: 1. "\(.\).*") != '/' 2. sed 's+^\./++;s+/.*++' 3. sed "s+${f}/+ + Thanks in advance (7 Replies)
Discussion started by: moe2266
7 Replies

3. Shell Programming and Scripting

Reg: Gzip

Hi , I want gzip a folder te55 which has got 3 files test1.test2,test3 the name of the gzipped folder should be te55.gz with the 3 files as test1,test2,test3 itself... Is it possible... thanks in advance sam (5 Replies)
Discussion started by: sam99
5 Replies

4. Shell Programming and Scripting

need a help reg -d in shell

hi, I am using this to get previous month `date -d"1 month ago" "+%m"` But will it work for january?..will it return 12? Please advice. (2 Replies)
Discussion started by: vanathi
2 Replies

5. Shell Programming and Scripting

reg exp question

Hi, Should be a difference between ']]*' and ']+' ? I use them in bash with sed and grep. Thanks (1 Reply)
Discussion started by: ynir
1 Replies

6. Shell Programming and Scripting

Reg Ex question

Hi All, If I had a string that was a combination of plain text and quoted text - For ex String: This "sentence is" a combination of "multiple words" I wanted to know how I can write a reg-ex that splits the above string into the following result = This result = sentence is result = a... (7 Replies)
Discussion started by: garric
7 Replies

7. UNIX for Dummies Questions & Answers

Reg: MAILX

Hi all, I am trying to send a mail by using MAILX option to my YAHOO-Id. It is giving the following error. Can any one help me to find what is the problem? Do i need to get any kind of settings in my UNIX box for using MAILX? The bounce mail is as below: Message 1: From MAILER-DAEMON Tue... (2 Replies)
Discussion started by: Raamc
2 Replies

8. Solaris

Reg. VXVM

Hi Guys, I have a doubt either to Reboot the server after Replacing the disk0. I have two disks under vxvm root mirrored and i had a problem with primary disk so i replace the disk0 failed primary disk and then mirrored. After mirroring is it reboot required ? (7 Replies)
Discussion started by: kurva
7 Replies

9. Shell Programming and Scripting

Sorting - Reg.

Hi masters, I have one doubt, lets's say file1 has the following contents, 1 2.0 3.1 5.5 7 5.10 5.9 How to sort these contents to get the o/p like 1 2.0 3.1 5.5 5.9 5.10 7 (8 Replies)
Discussion started by: ecearund
8 Replies

10. UNIX for Dummies Questions & Answers

Reg:SFTP

I have a query in regards to SFTP....We have a SFTP ID/PWD, so say if the password changes Would it fail my SFTP? SFTP uses public/private keys for authentication right? So would it endanger my existing process???? (1 Reply)
Discussion started by: saggiboy10
1 Replies
gnash(1)																  gnash(1)

NAME
gnash, gtk-gnash, qt4-gnash, dump-gnash, fb-gnash, sdl-gnash, gnash-gtk-launcher, gnash-qt-launcher - GNU Flash (SWF) Player Synopsis gnash [option]... [URL] DESCRIPTION
Run the SWF movie player. -h, --help Print usage info. -V, --version Print the version number, and the configuration, of the Gnash player. Please provide this information when submitting bug reports. -s factor, --scale factor Scale the movie up/down by the specified factor. -c Produce a core file instead of letting SDL trap it -d num, --delay num Number of milliseconds to delay in main loop. -v, --verbose Be verbose; i.e. print log messages to stdout. -a Be very verbose about movie action execution. Must be used in conjunction with -v. -p Be very verbose about parsing. Must be used in conjunction with -v. -A file Audio dump file (wave format). --hwaccel none|vaapi Hardware Video Accelerator to use none|vaapi (default: none) -x xid, --xid xid The XID of the parent window Gnash should use instead of creating a new one. This is only used when embedding the player into another window. -w, --writelog Write the gnash-dbg.log debug log to disk. By default the plugin writes its log in your home directory when using a launcher from GNOME or KDE. -j width, --width width Set the width of the window. This is only used when embedding the player into another window. -k height, --height height Set the height of the window. This is only used when embedding the player into another window. -X x-pos, --x-pos x-pos Set window x position. -Y y-pos, --y-pos y-pos Set window y position. -1, --once Play once; exit when/if movie reaches the last frame. -g Start Gnash with a Flash debugger console so one can set breakpoints or watchpoints. -r [0|1|2|3] 0 disables rendering and sound (good for batch tests). 1 enables rendering, disable sound. 2 disables rendering, enable sound. 3 enables rendering and sound (default setting). -M ffmpeg|gst, --media ffmpeg|gst The media handler to use (default: ffmpeg). -R agg|cairo|opengl, --renderer agg|cairo|opengl The renderer to use (default: agg). -t sec, --timeout sec Timeout and exit after the specified number of seconds. -u url, --real-url url Set "real" url of the movie (useful for downloaded movies). -U url, --base-url url Set "base" url for this run (used to resolve relative urls, defaults to movie url) -P param, --param param Set parameter (ie. "FlashVars=A=1&b=2") -F x:y, --fd x:y Set file descriptors to use for external communications. x is use by the player to send commands to the plugin, y is used by the plugin to send commands to the standalone player. --max-advances num Exit after specified number of frame advances. --fullscreen Start in fullscreen mode. --hide-menubar Start without displaying the menu bar. --screenshot list Set a list of frame advances to be saved as screenshots. The list must be comma-separated. Valid values are integers and the phrase "last". If "last" is specified, the final frame before exit is saved. Invalid values are ignored. Frame numbers apply to the sequence of frames as the SWF is executed, not the frame sequence defined in the SWF. Use in combination with --screenshot-file to specify output filename. --screenshot-file file Specify the output pattern for screenshot filenames. The token %f in a pattern will be replaced with a frame identifier. If you specify multiple frames and do not use %f, the file will be overwritten for each screenshot. If this option is not specified but screenshots are requested, a default filename will be used. KEYS CTRL-Q Quit/Exit. CTRL-W Quit/Exit. CTRL-P Toggle pause. CTRL-R Restart the movie. CTRL-L Force immediate redraw. CTRL-F Toggle fullscreen. ESC also exits fullscreen. CTRL-O Save a spontaneous screenshot. If no screenshots were requested from the command line, a default filename is used. Otherwise, the same filename pattern is used for requested and spontaneous screenshots. Flash is a registered trademark of Adobe Corporation. 24 January 2014 gnash(1)

Featured Tech Videos

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