published by root on вт, 16/03/2010 - 13:49
#!/bin/bash
#
# retreiveip.txt - Script containing two functions to automatically grab IP
# dynamically
#
# Copyright (C) 2001 Oskar Andreasson <bluefluxATkoffeinDOTnet>
#
# Originally written and provided by Jelle Kalf <jkalfATunoDOTnl>. All
# greetings, thanks and feedback should be sent to him for this script.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program or from the site that you downloaded it
published by root on вт, 09/03/2010 - 10:16
Настройка SSH
/etc/ssh/sshd_config
# Prevent root logins:
PermitRootLogin no
SSH logins can be limited to only certain users who need remote access. If you have many user accounts on the system then it makes sense to limit remote access to only those that really need it thus limiting the impact of a casual user having a weak password. Add an AllowUsers line followed by a space separated list of usernames to /etc/ssh/sshd_config. For example:
AllowUsers alice bob
and restart the sshd service.
published by root on пт, 19/02/2010 - 09:17
$man col | col -bfx > col.txt
published by root on пт, 19/02/2010 - 09:08