At Mon, 07 Apr 2008 12:55:59 -0500 Ignoramus10392
>
> On 2008-04-07, Keith Keller
> > On 2008-04-07, Ignoramus10392
> >>
> >> I do need from time to time to perform root tasks from scripts, for
> >> example restarting named after DNS zone files update.
> >
> > That is what su and sudo are for.
> >
> >
>
> I thought that both su and sudo require the user to enter a password?
Yes. su requires the root password and sudo requires the user's
password. In either case, the ssh login is for a non-priv username, not
root's. You generally should NOT log in as root, either locally or
remotely. You should NEVER log in as root and do any sort of non-admin
work, like surf the 'net, read E-Mail, play games, edit documents,
compile programs, etc.
>
> i
>
--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk