1 |
On Monday 03 July 2006 00:46, Iain Buchanan wrote: |
2 |
> On Sun, 2006-07-02 at 13:50 +0100, Dave S wrote: |
3 |
> > On Sunday 02 July 2006 12:40, Bo Ørsted Andresen wrote: |
4 |
> > > On Sunday 02 July 2006 09:09, Dave S wrote: |
5 |
> > > > < HOME = /root |
6 |
> > > > --- |
7 |
> > > > |
8 |
> > > > > HOME = /home/vanda |
9 |
> > > |
10 |
> > > This is only a theory but could it be that one reads config files in |
11 |
> > > /root and the other in /home/vanda? |
12 |
> > |
13 |
> > The only related config I can find is for /etc/gksu.conf and thats not |
14 |
> > user dependent. I cant find any config relevent in /root or /home/vanda |
15 |
> |
16 |
> you'll probably find its a gnome (or kde) theme that is causing the |
17 |
> issue, and the gnome (or kde) themes are stored in $HOME. Since you |
18 |
> usually don't log in graphically as root (which is usually good) you |
19 |
> don't have theme folders set up in root's home... am I making sense?! |
20 |
> |
21 |
You sure are :) |
22 |
|
23 |
|
24 |
> try running `visudo` and commenting out the line: |
25 |
> Defaults env_reset |
26 |
> |
27 |
> I don't know if gksudo uses this file, but if it does, your problem |
28 |
> should go away... If it does go away, then uncomment the line and do |
29 |
> something better like: |
30 |
> |
31 |
> Defaults:yourname env_keep-=TERMCAP |
32 |
Unfortunately my /etc/gksudo is pretty sparse - it consists of ... |
33 |
|
34 |
root@dave-comp:/etc# cat sudoers |
35 |
# /etc/sudoers |
36 |
# |
37 |
# This file MUST be edited with the 'visudo' command as root. |
38 |
# |
39 |
# See the man page for details on how to write a sudoers file. |
40 |
# |
41 |
|
42 |
# Host alias specification |
43 |
|
44 |
# User alias specification |
45 |
|
46 |
# Cmnd alias specification |
47 |
|
48 |
# Defaults |
49 |
|
50 |
Defaults !lecture,tty_tickets,!fqdn |
51 |
|
52 |
# User privilege specification |
53 |
root ALL=(ALL) ALL |
54 |
|
55 |
# Members of the admin group may gain root privileges |
56 |
%admin ALL=(ALL) ALL |
57 |
root@dave-comp:/etc# |
58 |
|
59 |
|
60 |
> |
61 |
> HTH, |
62 |
> -- |
63 |
> Iain Buchanan <iaindb at netspace dot net dot au> |
64 |
> |
65 |
> It's not reality that's important, but how you perceive things. |
66 |
|
67 |
-- |
68 |
gentoo-user@g.o mailing list |