PDA

View Full Version : How can I give a user full previlege to manage ftp server by editing sudoers?


krazydl
1st November 2006, 08:58
Hi!
I am really new at this and I have been trying a couple of days to make this work but couldn't do it and about to go crazy.
I have to assign a user to manage ftp server in linux by editing sudoers file.
I have been searching for a solution for this all over the place but can't find a right solution.
Can someone help me with this, please?
Sorry to ask this kind of question but I am really desparate right now.
Please help me.....

Thank you!

krazydl
1st November 2006, 21:38
Ok, I somehow figured out how to do a part of it.
I edited sudoers to start, stop ftp service and allowed user to edit any files in vsftpd.
Now another problem.
I cannot add users or groups to ftp server....
I add a line "Cmnd_Alias COM = /usr/sbin/* [A-z]*", but whenever I run sudo useradd ***, it says can't find this command.
Can Anybody help me this time???
Thanks in advance...

krazydl
2nd November 2006, 00:01
Anybody????

falko
2nd November 2006, 15:12
I add a line "Cmnd_Alias COM = /usr/sbin/* [A-z]*", but whenever I run sudo useradd ***, it says can't find this command.

What's the output of which useradd?