diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-07-04 22:55:21 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-07-04 22:56:06 (GMT) |
commit | a058c452957138b5c75bfccc4eb0dc203c08a558 (patch) | |
tree | e7b0f3f1e7eb82677bb97b95213504e50540db9e /scripts/ubuntu-tweaks | |
parent | d1bf08573a4e49b1db2c8f2abef528fddd7f025e (diff) |
Tweak ubuntu X configuration in check-system
And remove the instructions from README
Diffstat (limited to 'scripts/ubuntu-tweaks')
-rwxr-xr-x | scripts/ubuntu-tweaks | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ubuntu-tweaks b/scripts/ubuntu-tweaks new file mode 100755 index 0000000..be5ebf2 --- /dev/null +++ b/scripts/ubuntu-tweaks @@ -0,0 +1,6 @@ +#!/bin/sh + +XWRAPPERCONFIG=/etc/X11/Xwrapper.config + +sed -i '/^allowed_users.*/d' $XWRAPPERCONFIG +echo "allowed_users=anybody" >> $XWRAPPERCONFIG |