Root privileges in VFS module
Александр Корков
korkov at ya.ru
Sat Sep 1 07:17:18 GMT 2007
>
> On Fri, 2007-08-31 at 23:12 +0400, Александр Корков wrote:
> > Hi All,
> >
> > I wrote my VFS module.
> > I need use root privileges when guests connect to the my
> > services, but smbd runs process from user nobody...
> > How I can get root privileges in my VFS module?
> > (I want to write some files in )
> > Even on a short time interval.
>
> become_root();
>
> <code>
>
> unbecome_root();
>
>
> Simo.
>
>
>
> --
> Simo Sorce
> Samba Team GPL Compliance Officer
> email: idra at samba.org
> http://samba.org
>
Thank you, it works.
--
Alexander Korkov
More information about the samba-technical
mailing list