OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: ic_admin (admin_at_i-concept.de)
Date: Fri Jul 12 2002 - 07:06:23 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello,

    that's it, but it works without setting the SUID bit on /usr/sbin/smbmount

    Many thanks

    Ruediger

    -------- Original Message --------
    Subject: RE: [suse-security] mount sambashare with non-root-user
    Date: Fri, 12 Jul 2002 12:11:37 +0200
    From: "Reckhard, Tobias" <tobias.reckhardsecunet.com>
    To: SuSE-Security_MailList <suse-securitysuse.com>

    > ... and I am able to mount this share as root and root is not
    > the owner
    > of the files.

    AFAIK, root doesn't have to have any permissions, she can do anything she
    likes (unless you're on a compartmented or otherwise restricted, i.e.
    non-standard system).

    > BUT when I try to mount this as an user I get the error
    > message: "cannot
    > mount on /mnt: operation is not allowed".

    Again AFAIK and from personal experience, you need to:
    * Set the SUID bit on /usr/sbin/smbmount and
    * have the mountpoint owned by the user in question.

    Cheers
    Tobias

    -- 
    To unsubscribe, e-mail: suse-security-unsubscribesuse.com
    For additional commands, e-mail: suse-security-helpsuse.com
    Security-related bug reports go to securitysuse.de, not here
    

    -- To unsubscribe, e-mail: suse-security-unsubscribesuse.com For additional commands, e-mail: suse-security-helpsuse.com Security-related bug reports go to securitysuse.de, not here