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?
samba
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.
add a comment |
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?
samba
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
add a comment |
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?
samba
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
samba
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
add a comment |
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
add a comment |
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/
add a comment |
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/
add a comment |
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/
add a comment |
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/
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/
answered Nov 11 '13 at 5:54
Grizly
22819
22819
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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