|
发表于 2011-5-27 14:08:33
|
显示全部楼层
111.sh:
#!/bin/sh
echo "AutomaticLoginEnable=true" >/etc/gdm/custom.conf
echo "AutomaticLogin=root" >>/etc/gdm/custom.conf
echo "TimedLoginEnable=true" >>/etc/gdm/custom.conf
echo "TimedLogin=root" >>/etc/gdm/custom.conf
echo "TimedLoginDelay=10" >>/etc/gdm/custom.conf
可以不?
记得chmod 777 111.sh |
|