On 05/13/2018 03:20 PM, Knurpht @ openSUSE wrote:
Op maandag 14 mei 2018 00:14:36 CEST schreef John Andersen:
Is it customary and usual for User nobody to have /bin/bash as a shell? It seems that Opensuse is the only linux I have that allows this.
Most have nologin or /bin/false. IIRC it's been like that for ages. Question: did you try to login as user nobody? If you can't ......
I can't directly log in because I don't know the password. But it stops and asks for one. This sequence does yield a shell as user nobody: sudo -s su nobody So now I have a shell as nobody. Of course, I had root, so you say its sort of a false test, but still that DOES NOT work on any other linux that I am aware of. The oldest opensuse I have access to allows a shell for nobody. SLES allows a shell for nobody. But none other do. I wonder if it slipped into the distro a long time ago, and was simply forgotten? Admittedly not much uses "nobody" routinely any more. In days past portmap used to run as nobody, and further in the past several daemons used to run that way. Now I suspect it is purely transient things. There may be a risk that something running as nobody could be crashed to a shell. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org