summaryrefslogtreecommitdiff
path: root/doc/faq.html
blob: deb1fae98ba48f2b8b855c1b6988398b225c076f (plain)
  1. <ul>
  2. <p><li><h4>Error on converting from SQL-Ledger:
  3. ERROR: column "chart_id" contains null values</h4>
  4. SQL-Ledger does not enforce a NOT NULL constraint on the chart_id field in the
  5. acc_trans table. Consequently, it is possible in cirtain circumstances to
  6. insert transactions into the database with invalid information including NULL
  7. chart_id's. When this occurs, normally the Chart of Accounts and Trial Balance
  8. will fail to balance. So this is a serious problem with data integrity.
  9. LedgerSMB prevents this by adding the NOT NULL constraing but this can cause
  10. prevent people from migrating when they have invalid data in their databases.
  11. <br/><br/>
  12. If you get an error like this the first thing to do is seek technical support
  13. whether or not you wish to continue the migration. In general the providers of
  14. support for LedgerSMB and SQL-Ledger will all be able to help. Unfortunately
  15. because this problem involves information loss, no solution can be automated
  16. without invalidating your accounting information.
  17. </li></p>
  18. <p><li><h4>PostgreSQL 8.x</h4>
  19. PostgreSQL added a restriction in v8.x that a sequence cannot be dropped
  20. after if it is referenced by a table. However backups created with
  21. LedgerSMB v2.6.13 and earlier have a DROP SEQUENCE step in the backup
  22. which will fail. To fix this edit the backup before restoring on a 8.x
  23. system.
  24. <p>This typically looks like this:
  25. <pre>
  26. DROP SEQUENCE id ;
  27. CREATE SEQUENCE id START 10579;
  28. --
  29. DROP SEQUENCE invoiceid ;
  30. CREATE SEQUENCE invoiceid START 11096;
  31. --
  32. DROP SEQUENCE orderitemsid ;
  33. CREATE SEQUENCE orderitemsid START 178;
  34. --
  35. DROP SEQUENCE jcitemsid ;
  36. CREATE SEQUENCE jcitemsid START 53;
  37. </pre>
  38. <p>Change it to:
  39. <pre>
  40. CREATE SEQUENCE id;
  41. SELECT SETVAL('id', 10579);
  42. CREATE SEQUENCE invoiceid;
  43. SELECT SETVAL('invoiceid', 11096);
  44. CREATE SEQUENCE orderitemsid;
  45. SELECT SETVAL('orderitemsid', 178);
  46. CREATE SEQUENCE jcitemsid;
  47. SELECT SETVAL('jcitemsid', 53);
  48. </pre>
  49. <p><li><h4>PostgreSQL template1</h4>
  50. template1 is a template to build new databases
  51. from. Anything you put into template1 will be copied to a new database.
  52. So when you try to create a new dataset, the tables are already created from
  53. template1 and when LedgerSMB tries to create them you'll get an error that
  54. the tables already exist.
  55. <p><li><h4>PostgreSQL 8.0+</h4>
  56. To use LedgerSMB with 8.0+ you have to modify Pg-tables.sql The file
  57. is in the sql directory.
  58. <pre>
  59. CREATE TABLE orderitems (
  60. trans_id int,
  61. parts_id int,
  62. description text,
  63. qty float4,
  64. sellprice float8,
  65. discount float4,
  66. unit varchar(5),
  67. project_id int,
  68. reqdate date,
  69. ship float4,
  70. serialnumber text,
  71. id int default nextval('orderitemsid')
  72. ) WITH OIDS;
  73. CREATE TABLE inventory (
  74. warehouse_id int,
  75. parts_id int,
  76. trans_id int,
  77. orderitems_id int,
  78. qty float4,
  79. shippingdate date,
  80. employee_id int
  81. ) WITH OIDS;
  82. CREATE TABLE assembly (
  83. id int,
  84. parts_id int,
  85. qty float,
  86. bom bool,
  87. adj bool
  88. ) WITH OIDS;
  89. </pre>
  90. This change is only required for LedgerSMB versions 2.6.3 and below.
  91. <p>If you already built a dataset without this change you will get
  92. an error when you try to save a PO or assembly.
  93. <p>"ERROR: column "oid" does not exist"
  94. <p>Drop the tables and rebuild WITH OIDS.
  95. <p><li><h4>Japanese characters</h4>
  96. modify apache so that EUC_JP is the main additional language.
  97. <br>comment out all unrelated languages except, UTF_8 shift jis, EUC_JP
  98. <br>restart apache
  99. <br>Fire up psql and do the encoding as per the table:-
  100. <br>Table 5-2. Postgres Client/Server Character Set Encodings
  101. <p>Server Encoding Available Client Encodings
  102. <br>EUC_JP EUC_JP, SJIS
  103. <br>EUC_TW EUC_TW, BIG5
  104. <br>LATIN2 LATIN2, WIN1250
  105. <br>LATIN5 LATIN5, WIN, ALT
  106. <br>MULE_INTERNAL EUC_JP, SJIS, EUC_KR, EUC_CN, EUC_TW, BIG5, LATIN1 to LATIN5, WIN, ALT, WIN1250
  107. <p>Create the dataset from admin.pl, now the Japanese shows up in multibyte encoding
  108. <p>Now you can write in Hiragana, Katakana, Kanji and English
  109. <p><li><h4>Error posting a check/receipt</h4>
  110. <pre>
  111. DBD::Pg::db do failed: ERROR: syntax error at or near "," at character 114
  112. Error!
  113. INSERT INTO acc_trans (trans_id, chart_id, transdate,amount)
  114. VALUES (13314, , '03-22-2005',1.00 * 1)
  115. ERROR: syntax error at or near "," at character 114 </pre>
  116. This error is caused by a transaction which does not have links to
  117. an AR/AP account.
  118. <br>set up your chart of accounts properly and create at least one
  119. AR and AP account. Then edit all your transactions and repost.
  120. <p><li><h4>SELinux</h4>
  121. <a href=http://fedora.redhat.com/docs/selinux-faq-fc3/index.html>http://fedora.redhat.com/docs/selinux-faq-fc3/index.html</a>
  122. <p>modify /etc/selinux/conf and set SELINUX=permissive
  123. <p>use audit2allow and add the following to policy.conf,
  124. then run "make reload"
  125. <p>#line 83
  126. <br>allow httpd_sys_script_t port_type:{ tcp_socket udp_socket } { send_msg
  127. recv_msg };
  128. <br>allow httpd_sys_script_t sysctl_kernel_t:dir search;
  129. <br>allow httpd_sys_script_t sysctl_t:dir search;
  130. <br>allow httpd_sys_script_t tmp_t:sock_file write;
  131. <br>allow httpd_sys_script_t httpd_sys_content_t:lnk_file read;
  132. <br>allow httpd_sys_script_t sysctl_kernel_t:file read;
  133. <br>allow httpd_sys_script_t unconfined_t:unix_stream_socket connectto;
  134. <p><li><h4>session timeouts</h4>
  135. If you get frequent timeouts or can't even log in synchronize
  136. the clocks from the server and workstation.
  137. <p><li><h4>lineitems not printing</h4>
  138. Templates designed on a UNIX platform don't work on a DOS platform.
  139. To make them work load the template either with the builtin template editor
  140. or a text editor and save. Templates designed on a Windows platform have the
  141. same problem and won't work on a UNIX platform. Once you strip the ^M's
  142. the'll work just fine.
  143. <p><li><h4>UTF-8 character encoding</h4>
  144. Most of the translations are in ISO format. To convert the translations
  145. change directory to locale/cc and convert the files with iconv to UTF-8.
  146. You should also convert the COAs too and make sure you select UTF-8
  147. encoding when you set up a new dataset.
  148. <p><li><h4>characterset problems</h4>
  149. If you have problems displaying the correct characterset try adding
  150. <pre>
  151. AddDefaultCharset On</pre>
  152. in your httpd.conf file.
  153. <p><li><h4>About installation</h4>
  154. The easiest is to use the setup.pl script as root.
  155. You don't need to know very much about your system, just login as root,
  156. run 'perl setup.pl' and follow the prompts.
  157. <p>setup.pl does not check for missing software packages and it is your
  158. responsibilite to make sure you have the required software
  159. installed either from source or from a package.
  160. <p>Requirements are clearly indicated in the README file and on the
  161. download page.
  162. <p><li><h4>cannot create function</h4>
  163. <ol>
  164. <li>either run createlang and install the plpgsql language handler or
  165. install yourself. For more information how to do that, visit
  166. <a href=http://www.postgresql.org/docs/>PostgreSQL</a> and
  167. read the interactive documentation for procedural languages.
  168. <li>load admin.pl
  169. <li>unlock the system
  170. <li>login
  171. </ol>
  172. <p><li><h4>The requested URL /ledger-smb/admin.pl was not found</h4>
  173. Your webserver doesn't know where to find the script. Most commonly this
  174. is from distributions hiding webserver configuration files in different
  175. locations or files and setup.pl wasn't able to configure the location for
  176. you. Find out which file (httpd.conf, httpdcommon.conf, ...)
  177. controls your webserver configuration and add
  178. <pre>
  179. # LedgerSMB
  180. Include /etc/httpd/ledger-smb-httpd.conf</pre>
  181. Create a file 'ledger-smb-httpd.conf' in /etc/httpd and copy the next part
  182. into the file.
  183. <pre>
  184. AddHandler cgi-script .pl
  185. AddDefaultCharset On
  186. Alias /ledger-smb /var/www/ledger-smb/
  187. &lt;Directory /var/www/ledger-smb&gt;
  188. Options ExecCGI Includes FollowSymlinks
  189. &lt;/Directory&gt;
  190. &lt;Directory /var/www/ledger-smb/users&gt;
  191. Order Deny,Allow
  192. Deny from All
  193. &lt;/Directory&gt;</pre>
  194. replace '/etc/httpd' and '/var/www' with the appropriate directories.
  195. <p><li><h4>users/members : Permission denied</h4>
  196. Your webserver must have write access to the users directory.
  197. If your server runs as user/group 'apache:apache' then set the
  198. users directory to owner/group apache:apache.
  199. <pre>
  200. # chown -R apache:apache users</pre>
  201. <p><li><h4>Dataset newer than version</h4>
  202. You are trying to use an older version with a dataset which was
  203. created with a newer version.
  204. <p><li><h4>PDF option not working</h4>
  205. Check if you have latex and pdflatex installed.
  206. <p><li><h4>Apache 2.0 "error 500"</h4>
  207. Some of the early versions of Apache 2.0 (< patchlevel 44) had a rewrite engine
  208. which decoded escaped strings. This created a lot of problems and I worked
  209. around it by escaping strings twice.
  210. If you get a server 500 error 'filename too long' or if collapsed menus
  211. don't expand you may have to adjusted the following code in
  212. SL/Form.pm and change the number (44) on line 84.
  213. <pre>
  214. # for Apache 2 we escape strings twice
  215. if (($ENV{SERVER_SIGNATURE} =~ /Apache\/2\.(\d+)\.(\d+)/) && !$beenthere) {
  216. $str = $self->escape($str, 1) if $2 < 44;
  217. }</pre>
  218. <p><li><h4>IDENT Authentication failed for user "sledger-smb"</h4>
  219. Edit pg_hba.conf and change authentication to
  220. <pre>
  221. local all all MD5</pre>
  222. The file is in the 'data' directory of your postgresql installation.
  223. This is different with every distribution so look for it.
  224. <pre>
  225. # find / -name 'pg_hba.conf'</pre>
  226. <p>Some people can't read and seem to think 'localhost' is just some
  227. fancy word for a local machine.
  228. 'localhost' is a host like any other host on a network.
  229. A 'local' entry in pg_hba.conf will allow socket connections ONLY and
  230. not allow a host connection. If you then try to connect to 'localhost'
  231. postgres will come back with an authentication error.
  232. <p>So, forget you ever heard there is such a thing as 'localhost' and leave
  233. the Host portion blank.
  234. <p><b>WARNING!</b> DO NOT just put a 'host all all trust' in pg_hba.conf
  235. unless you know what you are doing.
  236. <p><li><h4>DBD-Pg for Mandrake 9.0</h4>
  237. Mandrake did not package a compiled DBD-Pg package again, so install DBD-Pg
  238. from the source package.
  239. Install perl-DBD-Pg-1.01-4mdk.i586.rpm from the 'contrib' area.
  240. (Mandrake / 9.0 / contrib / RPMS)
  241. <p><li><h4>LaTeX error</h4>
  242. If for some reason LaTeX produces an error message check for strange
  243. characters in your account description and parts description
  244. and use \usepackage[latin1]{inputenc} in the preamble.
  245. <p><li><h4>LaTeX templates</h4>
  246. If you don't want to edit tex code by hand,
  247. you could use Lyx, Abiword, or any WYSIWYG editor capable of exporting
  248. latex code.
  249. To do that you must change the tokens for the variables <% and %> to something
  250. like << and >>. % is the comment character in tex. There is also a
  251. pagebreak block which must be commented out.
  252. When you are done with the changes
  253. replace << and >> with <% and %> and uncomment the pagebreak block.
  254. <p>LaTeX is difficult but it also offers a much superior environment
  255. to produce professionally looking forms in postscript and PDF format.
  256. Unfortunately with all that power there is also a steep learning curve.
  257. <p><li><h4>W3M</h4>
  258. pass terminal=mozilla when you start w3m
  259. <pre>
  260. $ w3m -F http://localhost/ledger-smb/login.pl?terminal=mozilla</pre>
  261. To use without frames
  262. <pre>
  263. $ w3m http://localhost/ledger-smb/login.pl?terminal=lynx</pre>
  264. <p><li><h4>PDF option disappeared</h4>
  265. Edit ledger-smb.conf and set $latex = 1;
  266. <br>ledger-smb.conf is perl code, check if it compiles, if it does not,
  267. the internal defaults are used which turn off $latex, hence no PDF option.
  268. <p><li><h4>Installation on Windows (WIN32)</h4>
  269. <ul>
  270. <li>install Apache, perl,
  271. <a href=http://techdocs.postgresql.org/guides/InstallingOnWindows>Postgres</a>
  272. or Oracle, DBI and the appropriate DBD
  273. module
  274. <br>if you can't compile DBD-Pg here is a precompiled
  275. <a href=http://http://pgfoundry.org/projects/dbdpgppm/>DBD-Pg module</a>
  276. <li>download the latest version of <a
  277. href=http://ledger-smb.sourceforge.net>LedgerSMB</a>
  278. <li>extract the files to c:\apache\ledger-smb
  279. <li>run 'perl shebang' to change the first line of the scripts. If perl
  280. is not in c:\perl\bin' change '#!c:\\perl\\bin\\perl' to the location where
  281. your perl binary is.
  282. <li>edit c:\apache\conf\httpd.conf and add
  283. <pre>
  284. Alias /ledger-smb "c:/apache/ledger-smb/"
  285. &lt;Directory "c:/apache/ledger-smb"&gt;
  286. AllowOverride All
  287. AddHandler cgi-script .pl
  288. AddDefaultCharset On
  289. Options +ExecCGI
  290. Order Allow,Deny
  291. Allow from All
  292. &lt;/Directory&gt;
  293. &lt;Directory "c:/apache/ledger-smb/users"&gt;
  294. Order Deny,Allow
  295. Deny from All
  296. &lt;/Directory&gt;
  297. </pre>
  298. <li>start Apache
  299. <li>start Postgres|Oracle|DB2
  300. <li>connect to http://localhost/ledger-smb/admin.pl and set up users
  301. and datasets
  302. <li>connect to http://localhost/ledger-smb/login.pl and login
  303. </ul>
  304. <p><li><h4>What do I enter for the language</h4>
  305. If you use English, nothing, if you want to use a foreign language for
  306. the login screen and admin stuff enter the language code, this is the
  307. directory in the locale directory.
  308. <p><li><h4>printing to a printer</h4>
  309. Printers are defined in ledger-smb.conf
  310. <pre>
  311. %printer = ( 'Default' => 'lpr', 'Color' => 'lpr -PEpson' );</pre>
  312. Check in your /etc/printcap file for the names of available printers.
  313. <p>If you have LaTeX installed set
  314. <pre>
  315. $latex = 1</pre> in ledger-smb.conf
  316. <p>To send the document to the printer check the "Postscript" or "PDF" format,
  317. enter the number of copies and click on the "Print" button.
  318. <p>The printer you enter in your preferences is the default printer.
  319. You can choose any other available printer. This makes it possible
  320. to print from anywhere on the network to any printer.
  321. <p>Note: html format is for screen preview. Use the "Print" option from your
  322. browser to print to a printer.
  323. <p><li><h4>Using samba to send printjobs to a printer attached to a Windows XP workstation</h4>
  324. The next part applies to roll your own print filters only. If you use CUPS or
  325. LPRng your milage may vary but you can still use this as a guide how it works.
  326. I use the printer 'Epson' as an example which is
  327. attached to a XP workstation called Raven.
  328. <pre>
  329. /etc/printcap entry on the server which runs lpd
  330. epson:Epson\
  331. :sh:\
  332. :lp=/dev/null:\
  333. :sd=/var/spool/output/epson:\
  334. :if=/usr/libexec/lpr/epson/prnfilter:\
  335. # end of entry in /etc/printcap
  336. # prnfilter shell script
  337. #!/bin/sh
  338. # Filter for Epson Stylus
  339. PATH="$PATH:/usr/local/bin"
  340. #read first_line
  341. read tmp
  342. first_line=`echo $tmp | cut -b1-2 | sed -n '1p'`
  343. first_chr=`expr "$first_line" : '\(.\)'`
  344. first_two=`expr "$first_line" : '\(..\)'`
  345. rewindstdin
  346. if [ "$first_two" = "%!" ]; then # Postscript file
  347. gs @st640p.upp -dSAFER -dNOPAUSE -q -sOutputFile=/tmp/$$ -
  348. else
  349. # text file
  350. cat &gt; /tmp/$$
  351. echo -n "^L" &gt;&gt; /tmp/$$
  352. smbclient '\\Raven\Epson' "" -c 'printmode text'
  353. fi
  354. smbclient '\\Raven\Epson' "" -P -c "print /tmp/$$"
  355. rm /tmp/$$
  356. # EOF
  357. rewindstdin is a small program to rewind the filehandle for STDIN
  358. save the next part up to EOF to a file rewindstdin.c and compile
  359. #include &lt;sys/types.h&gt;
  360. #include &lt;unistd.h&gt;
  361. extern int errno;
  362. main()
  363. {
  364. if( lseek(0,0,0) == 0 ){
  365. errno = 0;
  366. }
  367. return( errno );
  368. }
  369. # EOF
  370. compile to an executable
  371. gcc -o /usr/local/bin/rewindstdin rewindstdin.c
  372. </pre>
  373. <p><li><h4>beginning balances</h4>
  374. Add a GL Journal entry and enter the beginning balance for your accounts.
  375. Beginning balances are the balances from your last balance sheet. If you also
  376. add open invoices to account for COGS for inventory, add the invoices
  377. and make the appropriate adjustments.
  378. <p><li><h4>establish a beginning inventory</h4>
  379. add the parts with a vendor invoice. Use the <b>real cost</b> for the items,
  380. not zero. If you use zero cost then the cost of goods will be zero when you
  381. sell the item.
  382. <p><li><h4>Assemblies</h4>
  383. Assemblies are manufactured goods assembled from parts, services and
  384. assemblies. Because you do not buy assemblies you 'stock assemblies' by
  385. adding assembled units to your inventory. The quantity for individual parts
  386. is reduced and the quantity for the assembly increased. To disassemble an
  387. assembly you simply return the parts to inventory by entering a negative
  388. quantity for the number of assemblies to stock.
  389. <p><li><h4>DBD-Pg not installed</h4>
  390. Most modern distributions now package DBD-Pg. If it is
  391. not packaged follow this recipe to get it working.
  392. <ul>
  393. <li>check if you have the header files for PostgreSQL
  394. <br>$ find / -name 'libpq-fe.h'
  395. <br>if nothing shows up install the development package for PostgreSQL
  396. <li>download and untar DBD-Pg
  397. <li>set the environment variables POSTGRES_LIB and POSTGRES_INCLUDE
  398. <li>cd to DBD-Pg directory
  399. <br>as ordinary user
  400. <br>$ perl Makefile.PL
  401. <br>$ make
  402. <br>$ make test
  403. <br>if all went well su to root
  404. <br># make install
  405. <li>remove DBD-Pg
  406. </ul>
  407. <p><li><h4>login.pl has compilation error</h4>
  408. This could be because of a missing configuration file in the users directory
  409. <p>check the permission for the users directory. The directory must be
  410. set writeable for the webserver. If your webserver runs ias user/group
  411. nobody.nogroup set the directory to
  412. <pre>
  413. drwx--x--x 2 nobody nogroup 1024 May 26 16:49 users
  414. or
  415. drwxrwx--x 2 johndoe nogroup 1024 May 26 16:49 users</pre>
  416. <p><li><h4>script not executing, shows in browser instead</h4>
  417. Add
  418. <pre>
  419. AddHandler cgi-script .pl</pre>
  420. in your httpd.conf file.
  421. <p><li><h4>unknown terminal!</h4>
  422. the frontend script couldn't figure out which browser you are using
  423. <p>include the terminal variable on the URL
  424. <pre>
  425. http://localhost/ledger-smb/login.pl?terminal=lynx</pre>
  426. Valid terminal variables are lynx, mozilla and js
  427. <p><li><h4>permission denied</h4>
  428. Check if your web server has write permission to write to the following
  429. files and directories:
  430. <pre>
  431. users/
  432. templates/
  433. users/members
  434. # chown nobody:nogroup users templates users/members
  435. </pre>
  436. <p><li><h4>permission denied to access tables</h4>
  437. The user you entered in the "Database section" must be a valid
  438. database user who has rights to access the tables.
  439. <p>If the tables are owned by 'joe' and you enter 'mary' as the dba
  440. you might run into this problem if mary doesn't have the rights to
  441. access tables owned by joe.
  442. <p><li><h4>html and graphics files don't show up on screen</h4>
  443. Enable Includes and FollowSymlinks Options in your httpd.conf file
  444. <pre>
  445. &lt;Directory /usr/local/ledger-smb&gt;
  446. Options ExecCGI Includes FollowSymlinks
  447. &lt;/Directory&gt;
  448. </pre>
  449. <p><li><h4>switch display to a foreign language</h4>
  450. Load your preferences and select the language.
  451. <br>Language selection is in accordance to
  452. <a href=http://www.unece.org/cefact/locode/service/main.htm>
  453. ISO 3166-1</a> standards.
  454. <p><li><h4>Text shows in English when I use a foreign language</h4>
  455. This is because the corresponding hash entry is missing.
  456. Add the missing text in the locale/cc/all or locale/cc/missing
  457. file and run 'perl locales.pl' from the command line to rebuild
  458. the individual files.
  459. <br>cc refers to the country code.
  460. <p><li><h4>switch to a foreign language for the login and admin screen</h4>
  461. Edit ledger-smb.conf and enter the code for the $language variable
  462. <pre>
  463. $language = "de";</pre>
  464. <p>This is a global change and applies to all logins, individual settings
  465. may be changed by setting the language in your Preferences.
  466. </ul>
  467. <p>
  468. <hr>
  469. <a name=security>
  470. <h1>LedgerSMB security</h1>
  471. </a>
  472. <ul>
  473. <li>The security features built into LedgerSMB provide encrypted passwords
  474. and access control which makes it fairly safe out of the box to run even in
  475. front of a firewall.
  476. Some precautions which are out of our control must be taken though.
  477. It matters where you install SL and how you configure your web server and
  478. SQL server.
  479. <pre>
  480. Typical setups:
  481. /usr/local/vh/www <- DocumentRoot for virtual host
  482. /usr/local/vh/ledger-smb <- Alias for ledger-smb
  483. /usr/local/vh/users <- users directory out of reach
  484. <hr width=60% align=left>
  485. /usr/local/vh/www <- DocumentRoot for virtual host
  486. /usr/local/vh/www/ledger-smb <- Alias for ledger-smb
  487. /usr/local/vh/www/ledger-smb/users <- users configuration files and tmp space
  488. &lt;Directory /usr/local/vh/www/ledger-smb/users&gt; <- disable webserver access
  489. Order Deny,Allow for users directory
  490. Deny from All
  491. &lt;/Directory&gt;
  492. </pre>
  493. The location for the users directory can be specified in ledger-smb.conf
  494. <p><li>Set permission for the users and templates directory to 711
  495. <p><li>If you do not want anyone to change the templates with the built-in
  496. editor set the files in templates/directory/ to read only or disable
  497. the menu item to edit the templates.
  498. <p><li>You can set up a read-only environment if you disable the menu items
  499. to add data. i.e 'Add Transaction' if unchecked you will not be able to add
  500. a transaction or repost a transaction. You may look at it but nothing else.
  501. <p><li>There are various settings for audit control and you may disable
  502. reposting entirely or up to a certain date. And with the audit trail enabled
  503. you can keep tab of who is doing what.
  504. <p><li>For PostgreSQL you may also set who has access to the server in the file
  505. pg_hba.conf
  506. <br>Authentication crypt does not work because not all SQL servers
  507. accept encrypted passwords.
  508. <p><li>in addition you can secure the tables from unauthorized access by
  509. setting up a different database user and GRANT rights. For instance,
  510. users without DELETE rights will still be able to use the program, change
  511. customers and vendors, add transactions but will not be able to delete or
  512. repost transactions.
  513. <br>To lock all the tables to create a RO system GRANT SELECT rights only.
  514. <p><li>Other security options include a secure shell, your webserver's
  515. authentication system, SSL, encrypted tunnels, ...
  516. </ul>
  517. </BODY>
  518. </HTML>