You are not logged in.

#1 2004-03-08 15:43:54

Greycloack
Member
Registered: 2004-03-05
Posts: 166

runing proftpd with sudo

Hello, I wanted to be able to run proftpd on port 21 as a normal user, say john, so I tried to use sudo.
When I edit /etc/sudoer with visudo I add the line
john ALL=(ALL) /usr/sbin/proftpd NOPASSWD=ALL

and he tells me " Syntax error"
what am I doing wrong?

Offline

#2 2004-03-08 16:47:02

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: runing proftpd with sudo

Try:

john All = NOPASSWD: /usr/sbin/proftpd


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB