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











up vote
4
down vote

favorite












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 2 days 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















up vote
4
down vote

favorite












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 2 days 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













up vote
4
down vote

favorite









up vote
4
down vote

favorite











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









mbaitoff

1,62862028




1,62862028





bumped to the homepage by Community 2 days 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 2 days 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

















up vote
0
down vote













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',
    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








    up vote
    0
    down vote













    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

























      up vote
      0
      down vote













      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























        up vote
        0
        down vote










        up vote
        0
        down vote









        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









        Grizly

        22819




        22819






























             

            draft saved


            draft discarded



















































             


            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

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt