How to change user on SWAT page (or how to control Samba by nonprivileged user)Samba non-root user can't...

Would glacier 'trees' be plausible?

Roll Dice to get a random number between 1 and 150

Junior developer struggles: how to communicate with management?

Selecting a secure PIN for building access

Airbnb - host wants to reduce rooms, can we get refund?

Manager is threatning to grade me poorly if I don't complete the project

Reconstruct a matrix from its traces

Why do money exchangers give different rates to different bills?

Would "lab meat" be able to feed a much larger global population

Would a 1/1 token with persist dying trigger on death effects a second time?

Do I really need diodes to receive MIDI?

Am I getting DDOS from crawlers?

Can Ghost kill White Walkers or Wights?

How to improve/restore vintage Peugeot bike, or is it even worth it?

Was there ever a Kickstart that took advantage of 68020+ instructions that would work on an A2000?

Besides the up and down quark, what other quarks are present in daily matter around us?

If Earth is tilted, why is Polaris always above the same spot?

Type-check an expression

What happens if I start too many background jobs?

Why is C# in the D Major Scale?

Can't remove one character of space in my environment

Unknowingly ran an infinite loop in terminal

Short story with physics professor who "brings back the dead" (Asimov or Bradbury?)

Pressure inside an infinite ocean?



How to change user on SWAT page (or how to control Samba by nonprivileged user)


Samba non-root user can't write to shareUnable to access SAMBA Share From WindowsFedora 20: Users cannot enter their home directoryMount Samba Share(Linux server) on Linux client machinesamba smbpasswd NT_STATUS_ACCESS_DENIED gid_to_sid: winbind failed to find a sid for gid 100Samba - use LDAP for authentication only?mount samba when a user logs inmount.cifs error(-13) - permissons deniedUnable to change home folder setting in Samba/WinbindSamba: share is not accessible for AD groups






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















I logged into SWAT with my nonprivileged user, since the root account is usually disabled on modern Linux systems. I cannot control any Samba parameters by this user. Once I enable the root account, how should I logout from SWAT and re-login into SWAT as root?



Or how should I make my nonprivileged user to be able to control Samba parameters? Put the user into certain group? Specify the user in some SWAT config as a privileged one?










share|improve this question














bumped to the homepage by Community 49 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Okay, I've found how to re-login into the SWAT page - just add another user name in URL, like staff@localhost:901, and during the page reload it will ask another user login/password. However, the second question still stands: how to control Samba by non-privileged user in the scenario where root login is prohibited or where some other user is assigned to maintenance the Samba.

    – mbaitoff
    Jun 22 '11 at 8:45


















4















I logged into SWAT with my nonprivileged user, since the root account is usually disabled on modern Linux systems. I cannot control any Samba parameters by this user. Once I enable the root account, how should I logout from SWAT and re-login into SWAT as root?



Or how should I make my nonprivileged user to be able to control Samba parameters? Put the user into certain group? Specify the user in some SWAT config as a privileged one?










share|improve this question














bumped to the homepage by Community 49 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Okay, I've found how to re-login into the SWAT page - just add another user name in URL, like staff@localhost:901, and during the page reload it will ask another user login/password. However, the second question still stands: how to control Samba by non-privileged user in the scenario where root login is prohibited or where some other user is assigned to maintenance the Samba.

    – mbaitoff
    Jun 22 '11 at 8:45














4












4








4








I logged into SWAT with my nonprivileged user, since the root account is usually disabled on modern Linux systems. I cannot control any Samba parameters by this user. Once I enable the root account, how should I logout from SWAT and re-login into SWAT as root?



Or how should I make my nonprivileged user to be able to control Samba parameters? Put the user into certain group? Specify the user in some SWAT config as a privileged one?










share|improve this question














I logged into SWAT with my nonprivileged user, since the root account is usually disabled on modern Linux systems. I cannot control any Samba parameters by this user. Once I enable the root account, how should I logout from SWAT and re-login into SWAT as root?



Or how should I make my nonprivileged user to be able to control Samba parameters? Put the user into certain group? Specify the user in some SWAT config as a privileged one?







samba






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 22 '11 at 5:45









mbaitoffmbaitoff

1,74862128




1,74862128





bumped to the homepage by Community 49 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 49 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Okay, I've found how to re-login into the SWAT page - just add another user name in URL, like staff@localhost:901, and during the page reload it will ask another user login/password. However, the second question still stands: how to control Samba by non-privileged user in the scenario where root login is prohibited or where some other user is assigned to maintenance the Samba.

    – mbaitoff
    Jun 22 '11 at 8:45



















  • Okay, I've found how to re-login into the SWAT page - just add another user name in URL, like staff@localhost:901, and during the page reload it will ask another user login/password. However, the second question still stands: how to control Samba by non-privileged user in the scenario where root login is prohibited or where some other user is assigned to maintenance the Samba.

    – mbaitoff
    Jun 22 '11 at 8:45

















Okay, I've found how to re-login into the SWAT page - just add another user name in URL, like staff@localhost:901, and during the page reload it will ask another user login/password. However, the second question still stands: how to control Samba by non-privileged user in the scenario where root login is prohibited or where some other user is assigned to maintenance the Samba.

– mbaitoff
Jun 22 '11 at 8:45





Okay, I've found how to re-login into the SWAT page - just add another user name in URL, like staff@localhost:901, and during the page reload it will ask another user login/password. However, the second question still stands: how to control Samba by non-privileged user in the scenario where root login is prohibited or where some other user is assigned to maintenance the Samba.

– mbaitoff
Jun 22 '11 at 8:45










1 Answer
1






active

oldest

votes


















0














Basically, you need to chgrp/chown the /etc/samba/smb.conf file.. depending on what linux you are using it could be there or a few other places.



I'm still trying to figure out what broke mine, users should be able to reset their own passwords with it!..




It is even simpler than that for Ubuntu (I’m using 11.04). Just change
ownership on the smb.conf file to the user designated as the Samba
administrator. For example on my personal machine I am the only use so
I am the Samba admin, so …



sudo chown coreigh.coreigh /etc/samba/smb.conf



easy peasy.
From: http://missingreadme.wordpress.com/2010/05/06/how-to-get-samba-swat-working-on-ubuntu/







share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f15402%2fhow-to-change-user-on-swat-page-or-how-to-control-samba-by-nonprivileged-user%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Basically, you need to chgrp/chown the /etc/samba/smb.conf file.. depending on what linux you are using it could be there or a few other places.



    I'm still trying to figure out what broke mine, users should be able to reset their own passwords with it!..




    It is even simpler than that for Ubuntu (I’m using 11.04). Just change
    ownership on the smb.conf file to the user designated as the Samba
    administrator. For example on my personal machine I am the only use so
    I am the Samba admin, so …



    sudo chown coreigh.coreigh /etc/samba/smb.conf



    easy peasy.
    From: http://missingreadme.wordpress.com/2010/05/06/how-to-get-samba-swat-working-on-ubuntu/







    share|improve this answer




























      0














      Basically, you need to chgrp/chown the /etc/samba/smb.conf file.. depending on what linux you are using it could be there or a few other places.



      I'm still trying to figure out what broke mine, users should be able to reset their own passwords with it!..




      It is even simpler than that for Ubuntu (I’m using 11.04). Just change
      ownership on the smb.conf file to the user designated as the Samba
      administrator. For example on my personal machine I am the only use so
      I am the Samba admin, so …



      sudo chown coreigh.coreigh /etc/samba/smb.conf



      easy peasy.
      From: http://missingreadme.wordpress.com/2010/05/06/how-to-get-samba-swat-working-on-ubuntu/







      share|improve this answer


























        0












        0








        0







        Basically, you need to chgrp/chown the /etc/samba/smb.conf file.. depending on what linux you are using it could be there or a few other places.



        I'm still trying to figure out what broke mine, users should be able to reset their own passwords with it!..




        It is even simpler than that for Ubuntu (I’m using 11.04). Just change
        ownership on the smb.conf file to the user designated as the Samba
        administrator. For example on my personal machine I am the only use so
        I am the Samba admin, so …



        sudo chown coreigh.coreigh /etc/samba/smb.conf



        easy peasy.
        From: http://missingreadme.wordpress.com/2010/05/06/how-to-get-samba-swat-working-on-ubuntu/







        share|improve this answer













        Basically, you need to chgrp/chown the /etc/samba/smb.conf file.. depending on what linux you are using it could be there or a few other places.



        I'm still trying to figure out what broke mine, users should be able to reset their own passwords with it!..




        It is even simpler than that for Ubuntu (I’m using 11.04). Just change
        ownership on the smb.conf file to the user designated as the Samba
        administrator. For example on my personal machine I am the only use so
        I am the Samba admin, so …



        sudo chown coreigh.coreigh /etc/samba/smb.conf



        easy peasy.
        From: http://missingreadme.wordpress.com/2010/05/06/how-to-get-samba-swat-working-on-ubuntu/








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 11 '13 at 5:54









        GrizlyGrizly

        22819




        22819






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f15402%2fhow-to-change-user-on-swat-page-or-how-to-control-samba-by-nonprivileged-user%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...