1 |
On 02/02/2010 04:37 PM, Valmor de Almeida wrote: |
2 |
> On Mon, Feb 1, 2010 at 1:57 PM, Nikos Chantziaras<realnc@×××××.de> wrote: |
3 |
>> On 02/01/2010 08:06 PM, Valmor de Almeida wrote: |
4 |
> [snip] |
5 |
>> |
6 |
>> Don't know about the server configuration on Gentoo. I only run the client |
7 |
>> on my Gentoo box. The server runs on a Debian machine and IIRC the |
8 |
> |
9 |
> Here are the steps I followed to configure and test the server. |
10 |
> |
11 |
> 1) emerge x2goserver (needed to rebuild the kernel with FUSE) |
12 |
> 2) following message from emerge of postgresql-8.1.11 did: |
13 |
> emerge --config =postgresql-8.1.11 |
14 |
> 3) /etc/init.d/postgresql start |
15 |
> 4) visudo and added |
16 |
> users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper |
17 |
> 5) run script to create database |
18 |
> cd /usr/share/x2go/script |
19 |
> ./x2gocreatebase.sh |
20 |
> 6) /etc/init.d/postgresql restart |
21 |
> 7) /etc/init.d/x2goserver start |
22 |
> |
23 |
> The /var/log/messages file is filled with |
24 |
> |
25 |
> Feb 1 17:45:56 xeon0 sudo: root : TTY=unknown ; PWD=/ ; USER=root |
26 |
> ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot xeon0 |
27 |
> Feb 1 17:45:56 xeon0 sudo: pam_unix(sudo:session): session opened for |
28 |
> user root by (uid=0) |
29 |
> Feb 1 17:45:56 xeon0 sudo: pam_unix(sudo:session): session closed for user root |
30 |
> Feb 1 17:45:56 xeon0 su[3869]: Successful su for postgres by root |
31 |
> Feb 1 17:45:56 xeon0 su[3869]: + ??? root:postgres |
32 |
> Feb 1 17:45:56 xeon0 su[3869]: pam_unix(su:session): session opened |
33 |
> for user postgres by (uid=0) |
34 |
> Feb 1 17:45:57 xeon0 su[3869]: pam_unix(su:session): session closed |
35 |
> for user postgres |
36 |
> Feb 1 17:46:02 xeon0 sudo: root : TTY=unknown ; PWD=/ ; USER=root |
37 |
> ; COMMAND=/usr/bin/x2gopgwrapper listsessionsroot xeon0 |
38 |
> Feb 1 17:46:02 xeon0 sudo: pam_unix(sudo:session): session opened for |
39 |
> user root by (uid=0) |
40 |
> Feb 1 17:46:02 xeon0 sudo: pam_unix(sudo:session): session closed for user root |
41 |
> Feb 1 17:46:02 xeon0 su[3880]: Successful su for postgres by root |
42 |
> Feb 1 17:46:02 xeon0 su[3880]: + ??? root:postgres |
43 |
> Feb 1 17:46:02 xeon0 su[3880]: pam_unix(su:session): session opened |
44 |
> for user postgres by (uid=0) |
45 |
> Feb 1 17:46:02 xeon0 su[3880]: pam_unix(su:session): session closed |
46 |
> for user postgres |
47 |
> |
48 |
> Any ideas on how to stop this? |
49 |
|
50 |
I get that too. I just ignore it though. If the messages bother you, I |
51 |
guess you can have syslog-ng filter them out. It would probably be |
52 |
cleaner to suppress them at their origin - that would be sudo and su - |
53 |
but I don't know how. |