Menu

#941 ACL Settings for Webmin Users

1.050
open
5
2003-01-17
2003-01-17
Anonymous
No

I have a user that I want to be able to give them access
to thier own website in apache, thier own dnz zone, thier
own mysql database, and thier own home directory in
the file manager. Everything but the file manager works
fine in restricting the user to thier own home dir. I have
set the "Access files on server as user" option to both
same as webmin user, and the picked the actual user
from the system, neither makes a difference. I want to
restrict them to thier own home dir of for
example /home/moonet.

When i login as that user and run the file manager, i get
the following error "Failed to list / : Invalid argument"
Is this a bug, or am I just being dense and not
configuring it correctly. Any help would be greatly
appreciated. Also upon reply can you please copy/paste
and email to allan@zandahar.net as I will probably forget
I've posted this. Attached is screen capture of settings i
have

Discussion

  • Nobody/Anonymous

    Screen Capture of Settings

     
  • Nobody/Anonymous

    Logged In: NO

    Just in case it matters, i forgot to include that its running on
    Debian GNU/Linux 3.0

     
  • Jamie Cameron

    Jamie Cameron - 2003-01-17

    Logged In: YES
    user_id=129364

    Does the moonet user have permissions to list the /
    directory if he is logged in normally? That could be the
    cause ..

     
  • Nobody/Anonymous

    Logged In: NO

    yes, under normal circumstances when logged in, they can
    successfully do an ls in /

     
  • Jamie Cameron

    Jamie Cameron - 2003-01-18

    Logged In: YES
    user_id=129364

    Try installing the updated module attached to this email -
    it should give a more useful error message at least.

     
  • Jamie Cameron

    Jamie Cameron - 2003-01-18

    Updated File Manager module

     
  • Nobody/Anonymous

    Logged In: NO

    Is the updated module one that will come down if I run the
    module update in the webmin config section ? As I have
    already updated all the modules to current versions.
    Otherwise if its one thats not normally available, sure I will
    install and try it :)

     
  • Jamie Cameron

    Jamie Cameron - 2003-01-20

    Logged In: YES
    user_id=129364

    It's one that is not normally available .. so give it a try,
    and see if the error message is any different.

     
  • Nobody/Anonymous

    Logged In: NO

    Okay, tried this module. With the same settings i get "Unable
    to list / : permission denied" Mind you as I said, login via ssh,
    i can do a ls in / fine. Back to the drawing board ? :) Or is it
    just not possible to be able to do what I want ?

     
  • Nobody/Anonymous

    Logged In: NO

    Ohh hey what, when you asked me that last time, I could
    list / Hey someone is playing funny games with me here.
    *goes back and checks some stuff* But otherwise, do they
    have to be able to list / ? if you really want to lock them into
    thier own home dir and nowhere else....

     
  • Jamie Cameron

    Jamie Cameron - 2003-01-20

    Logged In: YES
    user_id=129364

    Yes, they really do have to be able to list / .
    The module can cope with not being able to list /home , but
    / is a necessity. I'm sure lots of other programs expect to
    be able to as well ..

     

Log in to post a comment.

Auth0 Logo