1 |
On Thu, 2009-11-12 at 22:18 +0000, Mick wrote: |
2 |
> On Thursday 12 November 2009 22:09:01 Alan McKinnon wrote: |
3 |
> > Gdm itself has a config option to disallow root logins |
4 |
> |
5 |
> Ahh, unfortunately I can only access it remotely via ssh at this stage. |
6 |
> Hopefully the pam method will work fine. |
7 |
|
8 |
You don't need anything more to configure gdm than ssh access - this is |
9 |
Linux after all & a good program has text based configurations :) |
10 |
|
11 |
Edit /etc/X11/gdm/custom.conf |
12 |
|
13 |
In the section [security] add: |
14 |
AllowRoot=false |
15 |
|
16 |
You may then have to restart xdm. |
17 |
|
18 |
However, if someone has the root password to log in to X, then what's to |
19 |
stop them changing anything you do now? |
20 |
|
21 |
-- |
22 |
Iain Buchanan <iaindb at netspace dot net dot au> |
23 |
|
24 |
BOFH Excuse #112: |
25 |
|
26 |
The monitor is plugged into the serial port |