1819750 Members
3246 Online
109606 Solutions
New Discussion юеВ

Samba smbnull account

 
SOLVED
Go to solution
RJA
Advisor

Samba smbnull account

On all but one of my servers, the account smbnull has this entry in the /tcb/fles/auth/s/smbnull file:

:u_pwd=*:\

Does this just mean that the account is disabled?

The other server has the following entry:

:u_pwd=:\

This is being flagged by the security team as negative due to a null passwd. Can I just change this to:

:u_pwd=*:\

Thanks
6 REPLIES 6
Aussan
Respected Contributor

Re: Samba smbnull account

u_pwd=*:\ is setting the password to *, which means it's locked, but for smbnull it should be * as you are not using the smbnull to login

The tongue weighs practically nothing, but so few people can hold it
Marco A.
Esteemed Contributor

Re: Samba smbnull account

The :u_pwd=:\ means that the user has not password, the * means that for the security level you are using the /etc/shadow file , you need to check the /etc/shadow of the system in which appears in blank, if you see the encrypted password for that user, then you can put an * right there without any issues.

Regards
Just unplug and plug in again ....
Steven E. Protter
Exalted Contributor

Re: Samba smbnull account

Shalom,

This user must remain for samba to function. It has no rights and probably can't even log in.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Aussan
Respected Contributor
Solution

Re: Samba smbnull account

Marco the * for Shadow password is in /etc/passwd

this is the trusted system user security file in /tcb/files/auth/s/smbnull

the * in this case means account is locked

smbnull is a guest account, it's needed to make samba work, but not needed to login. as long as the account is there then it's ok,

The tongue weighs practically nothing, but so few people can hold it
IT Response
Esteemed Contributor

Re: Samba smbnull account

Yes, you are right with that!
RJA
Advisor

Re: Samba smbnull account

Thanks all for the replies ..