2
votes
3answers
68 views

How do i change the global login shell on a unix system?

I want to set the login shell (the shell they get when they log in) of all existing and future users. The correct way to change the login shell seems to be chsh. But this only allows me to change the ...
3
votes
1answer
577 views

Can't log in to FTP on Debian with vsftpd

Linux noob here so please bear with me :) I'm trying to setup FTP access to my Apache server but I'm receiving a 530 Login Incorrect error. I installed the vsftp package via sudo apt-get install ...
0
votes
1answer
103 views

dmesg time vs system time time isn't correct

I hope that here is somebody that can help me with this strange problem. I think that i know why it is happening but i don't know how to solve it. Maybe it is because the BIOS time isn't set correct ...
-2
votes
2answers
55 views

How to block access to a local user to a local port?

How to block access to a local user to a local port? Example: user Elvis should not have access to the port 25600 on the same server.
0
votes
1answer
68 views

Debian mysql-proxy reserved connections

I was looking in too the mysql-proxy configuration, and decied to install it in order to make an access point to my servers whenever they reach high peak, however i want to have 5-10 reserved ...
0
votes
2answers
202 views

Terminal output being cut off

I'm using ZSH as my shell and running a Debian 7 installation on a Linode box. When I ssh into this box and run any command where the output is larger than the window, the output that extends beyond ...
0
votes
1answer
132 views

View multiple remote desktops at the same time in Debian [closed]

I would like to be able to view multiple remote desktops at the same time. All the machines are running Debian. Ideally, if I could get the view on a windows machine that would be perfect. However, ...
8
votes
2answers
3k views

Making libmagic/file detect .docx files

As seen elsewhere, docx, xlsx and pttx are ZIPs. When uploading them to my web application, file (via libmagic andpython-magic) detects them as being ZIP. I store the contents of the file as a blob ...
0
votes
1answer
342 views

Directadmin exim don't start anymore

We have VPS server and currently we are having the following error when trying to start exim: root@c58-76:/usr/local/directadmin/scripts# /etc/init.d/exim start Starting exim: /etc/init.d/exim: line ...
2
votes
3answers
177 views

Updating a manually compiled unix programme with new version?

I want to update a version of a program I have previously compiled manually to /opt. Can I just compile the new version and let it overwrite its previous install (Assuming there are no compatibility ...
1
vote
3answers
558 views

SSL error when connecting via SSL for email settings

I would try to give more info but I have no idea why this error is being caused. I have found a number of these errors in the error.log file. I am using Debain and iRedMail. Can anybody help with ...
2
votes
2answers
197 views

Backup/Zip all server files once to local hard drive

I have backup2l scheduled to take daily backups that are stored on an external server, this work fine although I would also like to take a full backup of the whole server and store this on my local ...
3
votes
3answers
2k views

apt-get update/upgrade list without changing anything

I would like to view what packages are available for update/upgrade without actually changing any files becuase there are some packages I wouldn't like to update. Would it then be possible to apt-get ...
0
votes
1answer
133 views

Debian terminal caching executable paths?

It appears that Debian 6.0.2.1 terminal caches path of executables, which is avoiding fresh executables to be run on the same terminal. I would like to know if this is a feature and if so, how to ...
0
votes
2answers
191 views

MySql does not start on Debian 5 VPS server

I have a 128MB RAM VPS server. I have Debian 32bit OS running on it and I have decided to install some light weight LAMP, so I installed lighthttpd and MySQL but then it had to be started It said it ...
4
votes
2answers
525 views

Custom error message for sshd

Is it possible to set a custom error message for users denied to access a server? In fact, I'd like to only display this message if a user was rejected due to IP filter set in sshd_config. But one ...
0
votes
2answers
577 views

How can I remove a directory that I own when it contains subdirectories owned by another user?

I have created a directory /home/web/test on a Debian server using a basic unprivileged account web. Another account — tomcat — then created some subdirectories and files in that folder (as you might ...
2
votes
4answers
5k views

How do I know what processes are using the network?

Sometimes I can see heavy usage of network in my Gnome System Monitor. I wonder what process is downloading/uploading data. Is there any tool which can show me: what processes are using the Internet ...
1
vote
1answer
33 views

Discrepancies in `groups` output

why is it that when I execute groups the output doesn't contain the adm group, while the output of groups $USER has it? The user is supposed to be in that group.
0
votes
1answer
2k views

smbldap-tools: how do I list groups

I'm using smldap-tools to administrate a small office network. Whenever I add a new user I always forget which groups I've created and therefore which groups I need to add a user to. Is there an easy ...
10
votes
2answers
1k views

Linux/Debian - What does 'pee' in moreutils do?

I recently discovered the 'moreutils' package in Debian (and Ubuntu). It's a collection of convenient unix tools. One of the commands is 'pee'. The man page says: pee is like tee but for pipes. ...
1
vote
4answers
127 views

View logs of past logins to the server

I am using a server running the Debian operating system. Is there a way i can check who logged in to the server, i mean the past logins . I would like to do this to monitor the security on the server. ...
0
votes
2answers
2k views

404 not found error for virtual host

In my /etc/apache2/sites-enabled, i have a file site2.com.conf, which defines a virtual host as follows : <VirtualHost *:80> ServerAdmin hostmaster@wharfage ServerName site2.com ...
0
votes
1answer
3k views

Apache virtual host configuration on debian

Im new to apache configuration and would be really glad if someone helped me with the following.Im running apache on a virtual private server, running the debian operating system. In ...
3
votes
6answers
2k views

Creating a UNIX-based VPN: pointers, guidelines and pitfalls?

Does someone have first hand experience with creating a UNIX-based Virtual Private Network? What are the best VPN clients / tools available for accomplishing this? Are there any common pitfalls that ...