1754379 Members
3060 Online
108813 Solutions
New Discussion юеВ

SWAT privelege

 
ricky2
Frequent Advisor

SWAT privelege

Hi Guys,

I have configured samba and swat successfully on RedHat Enterprise and working well.
I have a sudo superuser access and I login into the server as root by sudo.
Now I want to modify the samba shares using SWAT but as I dont have the root password Iam not able to do it.
Is there any option where I can provide this special privilege to my login to modify the samba shares using SWAT as how root can do?
Thanks in advance...

Regards,
Ricky
4 REPLIES 4
Luk Vandenbussche
Honored Contributor

Re: SWAT privelege

Hi,

Start swat with option -a

The swat man pages says

- a
This option disables authentication and puts swat in demo mode. In that mode anyone will be able to modify the smb.conf file.

WARNING: Do NOT enable this option on a production server.

ricky2
Frequent Advisor

Re: SWAT privelege

Hi Luk,

Thanks for the info,I allready tried with this option but it doesnt work.
Anything more?

Rgds,
Ricky
Peter Godron
Honored Contributor

Re: SWAT privelege

Ricky,
sampublishing "Using SWAT for Web-based Samba configuration" says you need to log in as root to have full access. All other accounts only get a subset of options.
Hope i'll get proven wrong!
ricky2
Frequent Advisor

Re: SWAT privelege

Hi Peter,

To some extent I feel you are right...just want to check if there is any other way to provide this special privelege to one user other than root.

Regards,
Ricky