Tag Info

Hot answers tagged


HOSTALIASES might meet your requirements. The question is related to: Can I create a user-specific hosts file to complement /etc/hosts? Here is a resource where HOSTALIASES is explained: http://blog.tremily.us/posts/HOSTALIASES/


Very likely you cannot make screen use the BSD pseudo terminals because it is compiled to use a specific style of pseudo terminal (never both). There are two main flavors with variations: a function (such as openpty) provides the names for the master and slave devices the program searches through a list of master/slave pairs for an unused pair In the ...


Yes, you can give your user the right to run sudo du /var with no password, I'll show you how later. However, do you really want this? There are very few files and subdirectories that du needs root access to. The difference is reported size between sudo du /var and du /var is tiny (at least on my system): $ sudo du -s /var/ 1830596 /var/ $ du -s /var/ ...


Vesa K's version of Ryan Novosielski's answer works for me, but the lines are in: /etc/pam.d/sshd not: /etc/pam.d/login In my case, I just want UID 1000 under Ubuntu 14.04 LTS to be allowed to login via SSH. # Disallow non-root logins when /etc/nologin exists. account [success=1 default=ignore] pam_succeed_if.so quiet uid eq 1000 account required ...

Only top voted, non community-wiki answers of a minimum length are eligible