How to set the screensaver timeout on Red Hat?

How is it possible to set the screensaver timeout on red hat.

For solaris I understand it is :

for file in /usr/dt/config/*/sys.resources; do
dir=`dirname $file | sed s/usr/etc/`
mkdir -p $dir
echo 'dtsession*saverTimeout: 10' >>$dir/sys.resources
echo 'dtsession*lockTimeout: 10' >>$dir/sys.resources
chown root:sys $dir/sys.resources
chmod 444 $dir/sys.resources
done