127
65
I think I understand the differences between an interactive, a login and a batch shell. See the following links for more help: What is the difference between a 'Login' and an 'Interactive' bash shell (from the sister site: serverfault.com) 2.1: Types of shell: interactive and login shells (from A User's Guide to the Z-Shell ) My question is, how can I test with a command/condition if I am on an interactive, a login or a batch shell? I am looking for a command or condition (that returns true or false ) and that I could also place on an if statement. For example: if [[ condition ]] echo "This is a login shell" fi
shell
share | improve this question
...
5
I am trying to create new users using useradd command using root credentials it is getting created properly but when I log in with the newly created user with its credentials using a PuTTY Console, I am able to enter the username but when I give the password, it hangs there for a long time until the PuTTY window session timeout happens and the window is closed. However when I use root credentials, it quickly enters the session. I tried checking the AllowUsers under file /etc/ssh/sshd_config but I didn't find any matching entry, so, I manually tried adding AllowUsers temipuser where temipuser is the username I created. Post making this change from another PuTTY Console I again tried entering this username but it is again the same. I am totally clueless why is this happening. Another thing is, if I add...
2
1
A while back I installed i3 on my MATE box, and I'm quite happy with it, however despite disabling Caja Desktop ( x-caja-desktop ) when setting i3 as the default window manager through dconf editor, every time I install a .deb package via the gui installer, the desktop "window" opens and overlays my entire screen. This is incredibly annoying, and hitting super-shift-q to close the window doesn't work, which forces me to just move it to an unused workspace. Is there anything I can do to stop this from happening without installing a different file manager?
mate-desktop i3 caja
share | improve this question
edited Apr 27 '16 at 1...