Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st November 2006, 08:58
krazydl krazydl is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy How can I give a user full privilege to manage ftp server by editing sudoers?

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!

Last edited by krazydl; 1st November 2006 at 09:18.
Reply With Quote
Sponsored Links
  #2  
Old 1st November 2006, 21:38
krazydl krazydl is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
Reply With Quote
  #3  
Old 2nd November 2006, 00:01
krazydl krazydl is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anybody????
Reply With Quote
  #4  
Old 2nd November 2006, 15:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by krazydl
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
Code:
which useradd
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
Webmail Relay Error palkat General 17 23rd April 2006 19:12
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 09:03
Website users? ctroyp General 25 6th January 2006 19:02
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01


All times are GMT +2. The time now is 08:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.