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

Discussion in 'HOWTO-Related Questions' started by krazydl, Nov 1, 2006.

  1. krazydl

    krazydl New Member

    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: Nov 1, 2006
  2. krazydl

    krazydl New Member

    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...
     
  3. krazydl

    krazydl New Member

    Anybody????
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    which useradd
    ?
     

Share This Page