Startmol as non-root


Subject: Startmol as non-root
From: Philip Good (phil@go2taichi.com)
Date: Tue Nov 21 2000 - 10:09:50 MST


Here's a simple way to start MOL as non-root: use sudo. sudo allows you to
execute commands as root sithout having to change to root via su.

Setup sudo: (as root) by

visudo

edit this file. Here's some lines from mine:

Cmnd_Alias STARTMOL = /usr/bin/startmol
Cmnd_Alias MIRROR = /usr/bin/mirror
Cmnd_Alias VISUDO = /usr/sbin/visudo
Cmnd_Alias KILL = /usr/bin/kill

root ALL=(ALL) ALL
me ALL = NOPASSWD: KILL, STARTMOL, MIRROR
me ALL = REBOOT, VISUDO

Now, I just type "sudo STARTMOL" to start MOL.
To reboot or use visudo I'll need too use my password.

This won't allow you too put this as an applet on your menu bar but its
pretty easy.

Phil



This archive was generated by hypermail 2a24 : Tue Nov 21 2000 - 10:11:06 MST