Samba keeps warning 'Session closed for user nobody'. Why?
up vote
10
down vote
favorite
I've set up an Ubuntu 14.04 server, using Samba to share files to our Windows clients.
Everything appears to be working correctly, but while checking my auth logs, I see the line 'session closed for user nobody' repeated many many times, though no sessions opened for that user. All of the session opened messages have the correct user name included.
I understand the role of the nobody user, but am unsure why Samba keeps generating this message. On one line the 'session closed' message is repeated 58 times with no other auth log messages interrupting.
Is it likely that Samba is incorrectly configured?
I'm happy to post any logs/confs/outputs necessary, if that helps.
EDIT:
I've previously disabled Samba password sync using pam-auth-update to stop the 'No Talloc Stackframe' message, like so, could that be generating all of these session closed messages?
14.04 samba authentication file-sharing
add a comment |
up vote
10
down vote
favorite
I've set up an Ubuntu 14.04 server, using Samba to share files to our Windows clients.
Everything appears to be working correctly, but while checking my auth logs, I see the line 'session closed for user nobody' repeated many many times, though no sessions opened for that user. All of the session opened messages have the correct user name included.
I understand the role of the nobody user, but am unsure why Samba keeps generating this message. On one line the 'session closed' message is repeated 58 times with no other auth log messages interrupting.
Is it likely that Samba is incorrectly configured?
I'm happy to post any logs/confs/outputs necessary, if that helps.
EDIT:
I've previously disabled Samba password sync using pam-auth-update to stop the 'No Talloc Stackframe' message, like so, could that be generating all of these session closed messages?
14.04 samba authentication file-sharing
add a comment |
up vote
10
down vote
favorite
up vote
10
down vote
favorite
I've set up an Ubuntu 14.04 server, using Samba to share files to our Windows clients.
Everything appears to be working correctly, but while checking my auth logs, I see the line 'session closed for user nobody' repeated many many times, though no sessions opened for that user. All of the session opened messages have the correct user name included.
I understand the role of the nobody user, but am unsure why Samba keeps generating this message. On one line the 'session closed' message is repeated 58 times with no other auth log messages interrupting.
Is it likely that Samba is incorrectly configured?
I'm happy to post any logs/confs/outputs necessary, if that helps.
EDIT:
I've previously disabled Samba password sync using pam-auth-update to stop the 'No Talloc Stackframe' message, like so, could that be generating all of these session closed messages?
14.04 samba authentication file-sharing
I've set up an Ubuntu 14.04 server, using Samba to share files to our Windows clients.
Everything appears to be working correctly, but while checking my auth logs, I see the line 'session closed for user nobody' repeated many many times, though no sessions opened for that user. All of the session opened messages have the correct user name included.
I understand the role of the nobody user, but am unsure why Samba keeps generating this message. On one line the 'session closed' message is repeated 58 times with no other auth log messages interrupting.
Is it likely that Samba is incorrectly configured?
I'm happy to post any logs/confs/outputs necessary, if that helps.
EDIT:
I've previously disabled Samba password sync using pam-auth-update to stop the 'No Talloc Stackframe' message, like so, could that be generating all of these session closed messages?
14.04 samba authentication file-sharing
14.04 samba authentication file-sharing
edited Apr 13 '17 at 12:23
Community♦
1
1
asked Feb 10 '15 at 10:27
Arronical
12.9k84689
12.9k84689
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
4
down vote
I had this concern myself so I did some digging and ran into a lot of unanswered forum questions, but then I found this answer:
nobody is a system user that is used to run services e.g. apache and samba on Linux distros. Root has to start the service and then pass on control to the user nobody.
add a comment |
up vote
0
down vote
You have created a shared folder owned by "nobody/nogroup"
sudo chown -R nobody.nogroup /path_to_share/share_folder
But, you can change that, by changing ownership
sudo chown -R root.root /path_to_share/share_folder
sudo chown -R user.user /path_to_share/share_folder # "user" is echo $USER
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
I had this concern myself so I did some digging and ran into a lot of unanswered forum questions, but then I found this answer:
nobody is a system user that is used to run services e.g. apache and samba on Linux distros. Root has to start the service and then pass on control to the user nobody.
add a comment |
up vote
4
down vote
I had this concern myself so I did some digging and ran into a lot of unanswered forum questions, but then I found this answer:
nobody is a system user that is used to run services e.g. apache and samba on Linux distros. Root has to start the service and then pass on control to the user nobody.
add a comment |
up vote
4
down vote
up vote
4
down vote
I had this concern myself so I did some digging and ran into a lot of unanswered forum questions, but then I found this answer:
nobody is a system user that is used to run services e.g. apache and samba on Linux distros. Root has to start the service and then pass on control to the user nobody.
I had this concern myself so I did some digging and ran into a lot of unanswered forum questions, but then I found this answer:
nobody is a system user that is used to run services e.g. apache and samba on Linux distros. Root has to start the service and then pass on control to the user nobody.
edited Dec 16 '16 at 16:50
user308164
answered Dec 16 '16 at 15:23
kkalin72
412
412
add a comment |
add a comment |
up vote
0
down vote
You have created a shared folder owned by "nobody/nogroup"
sudo chown -R nobody.nogroup /path_to_share/share_folder
But, you can change that, by changing ownership
sudo chown -R root.root /path_to_share/share_folder
sudo chown -R user.user /path_to_share/share_folder # "user" is echo $USER
add a comment |
up vote
0
down vote
You have created a shared folder owned by "nobody/nogroup"
sudo chown -R nobody.nogroup /path_to_share/share_folder
But, you can change that, by changing ownership
sudo chown -R root.root /path_to_share/share_folder
sudo chown -R user.user /path_to_share/share_folder # "user" is echo $USER
add a comment |
up vote
0
down vote
up vote
0
down vote
You have created a shared folder owned by "nobody/nogroup"
sudo chown -R nobody.nogroup /path_to_share/share_folder
But, you can change that, by changing ownership
sudo chown -R root.root /path_to_share/share_folder
sudo chown -R user.user /path_to_share/share_folder # "user" is echo $USER
You have created a shared folder owned by "nobody/nogroup"
sudo chown -R nobody.nogroup /path_to_share/share_folder
But, you can change that, by changing ownership
sudo chown -R root.root /path_to_share/share_folder
sudo chown -R user.user /path_to_share/share_folder # "user" is echo $USER
edited Nov 21 at 19:39
answered Nov 21 at 19:24
ajcg
509310
509310
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%2faskubuntu.com%2fquestions%2f583731%2fsamba-keeps-warning-session-closed-for-user-nobody-why%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