LinuxQuestions.org latest posts

Syndicate content LinuxQuestions.org
LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.
Updated: 1 hour 9 min ago

getting aliases to work as root???

Sun, 08/22/2010 - 05:15
How can I get aliases working as root?
Here is my Slackware 13.1's /etc/profile file followed by my *Slackware 11's* /etc/profile file [as a comparison]. My Slackware 11's root aliases work in addition to my username ones *without* needing a separate .bashrc in my home dir.
In S13.1 I have created a .bashrc for my username and it works fine, but I want those same aliases operating when I'm root, and cannot for the life of me figure how to achieve it. Why???

S13.1 /etc/profile:

# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.

# Set the values for some environment variables:

export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"

# If the user doesn't have a .inputrc, use the one in /etc.
if [ ! -r "$HOME/.inputrc" ]; then
export INPUTRC=/etc/inputrc
fi

# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/sbin:/usr/local/sbin:/sbin"

# Let's try some aliases!!!!

alias l='ls -la|more'
alias cd='cd /home/pargoo'
alias start='/etc/rc.d/rc.inet1 restart'
alias stop='/etc/rc.d/rc.inet1 stop'


# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH. Some means of connection don't add these by default (sshd comes
# to mind).
if [ "`id -u`" = "0" ]; then
echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
if [ ! $? = 0 ]; then
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
fi
fi

# I had problems with the backspace key using 'eval tset' instead of 'TERM=',
# but you might want to try it anyway instead of the section below it. I
# think with the right /etc/termcap it would work.
# eval `tset -sQ "$TERM"`

# Set TERM to linux for unknown type or unset variable:
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
TERM=linux
fi

# Set ksh93 visual editing mode:
if [ "$SHELL" = "/bin/ksh" ]; then
VISUAL=emacs
# VISUAL=gmacs
# VISUAL=vi
fi

# Set a default shell prompt:
PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" ]; then
PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
PS1='! ${PWD/#$HOME/~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then
PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
PS1='$ '
else
PS1='\u@\h:\w\$ '
fi
PS2='> '
export PATH DISPLAY LESS TERM PS1 PS2

# Default umask. A umask of 022 prevents new files from being created group
# and world writable.
umask 022

# Notify user of incoming mail. This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
biff y 2> /dev/null
fi

# Append any additional sh scripts found in /etc/profile.d/:
for profile_script in /etc/profile.d/*.sh ; do
if [ -x $profile_script ]; then
. $profile_script
fi
done
unset profile_script

# For non-root users, add the current directory to the search path:
if [ ! "`id -u`" = "0" ]; then
PATH="$PATH:."
fi

...And my Slackware 11 /etc/profile:


# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.

# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"

# Set a few aliases (hopefully!!)

alias l='ls -la|more'
alias p='cd /home/pargoo'
alias start='/etc/rc.d/rc.inet1 restart'
alias stop='/etc/rc.d/rc.inet1 stop'


# If the user doesn't have a .inputrc, use the one in /etc.
if [ ! -r "$HOME/.inputrc" ]; then
export INPUTRC=/etc/inputrc
fi

# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"

# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH. Some means of connection don't add these by default (sshd comes
# to mind).
if [ "`id -u`" = "0" ]; then
echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
if [ ! $? = 0 ]; then
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
fi
fi

# I had problems with the backspace key using 'eval tset' instead of 'TERM=',
# but you might want to try it anyway instead of the section below it. I
# think with the right /etc/termcap it would work.
# eval `tset -sQ "$TERM"`

# Set TERM to linux for unknown type or unset variable:
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
TERM=linux
fi

# Set ksh93 visual editing mode:
if [ "$SHELL" = "/bin/ksh" ]; then
VISUAL=emacs
# VISUAL=gmacs
# VISUAL=vi
fi

# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" ]; then
PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
PS1='! ${PWD/#$HOME/~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then
PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
PS1='$ '
else
PS1='\u@\h:\w\$ '
fi
PS2='> '
export PATH DISPLAY LESS TERM PS1 PS2

# Default umask. A umask of 022 prevents new files from being created group
# and world writable.
umask 022

# Notify user of incoming mail. This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
biff y 2> /dev/null
fi

# Append any additional sh scripts found in /etc/profile.d/:
for profile_script in /etc/profile.d/*.sh ; do
if [ -x $profile_script ]; then
. $profile_script
fi
done
unset profile_script

# For non-root users, add the current directory to the search path:
if [ ! "`id -u`" = "0" ]; then
PATH="$PATH:."
fi

I have searched for days for a solution and it is extremely annoying to be baulked by such a small glitch. All help appreciated!


Time change in Linux (Fedora 10)

Sun, 08/22/2010 - 05:10
Hi,

I get a problem about changing time in linux. My server date & time show my correct time. But when i run openwebmail the time show 1 hour increase. So now what can i do???


LXer: How Oracle might kill Google’s Android and software patents all at once

Sun, 08/22/2010 - 04:40
Published at LXer:

In reality, Oracle is a major proponent of open software, pushing Linux and taking a stand against the notion of software patents themselves. Yes, that's right, the company filing the year's biggest software patent infringement case is also a major critic of the idea of software patents in general. When somebody points a gun at you, you point one back even if you don't like the idea of guns. You might even shoot first. Oracle likes Linux so much that it funds Btrfs, a GPL licensed, futuristic and advanced new file system that supports pooling, snapshots, checksums, and other features that sound a lot like Sun's ZFS, which Oracle now also owns. The difference is that Oracle didn't mire Btrfs in legal quandary the way Sun did with ZFS before Oracle bought them.

Read More...


Monitor "out of scan range" when hibernating

Sun, 08/22/2010 - 04:38
My system was working fine. Then, I upgraded from Fedora 9 to 13. Now the system sets a scan range outside of what the monitor can handle when it hibernates. I copied /etc/X11/xorg.conf from the Fedora 9 installation. I added a monitor section with horizontal and vertical frequency ranges. Xorg restarts faster, but the problem is unchanged.

CTRL-ALT-BS doesn't recover the system. CTRL-ALT-F2 doesn't give me a viewable text screen. I can ssh in and "killall Xorg".

The monitor is an 11 year old Vivitron 17 CRT.
I'm using the on board video.
I'm using version: X.Org X Server 1.8.2
OS: Fedora 13 with KDE desktop


Trouble burning a DVD-R disc in DAO mode & a possible Growisofs solution

Sun, 08/22/2010 - 04:13
Growisofs fails to burn DVD-R discs in DAO mode. Here are the commands I've tried & the error message received:
growisofs -dvd-compat -use-the-force-luke=dao -Z /dev/sr0=dvd.iso
growisofs -dvd-compat -use-the-force-luke=dao:1617459 -Z /dev/sr0=dvd.iso
growisofs -dvd-compat -use-the-force-luke=dao -use-the-force-luke=tracksize:1617459 -Z /dev/sr0=dvd.iso

:-[ WRITE@LBA=600c0h failed with SK=0h/ASC=00h/ACQ=03h]: Input/output error
:-( write failed: Input/output error
/dev/sr0: flushing cache
/dev/sr0: reloading tray

The above 1617459 value is the number of 2KB blocks reserved by growisofs for burning my dvd.iso image. Growisofs
& K3b will automatically determine this size value for you if you don't don't enter it.

Here is where the block reserve number comes from:
filesize of my dvd.iso file ..........3312556032 bytes
block (sector) size of a dvd .........2KB (2048 bytes)

block (sector) reserve = image_size / 2048
block (sector) reserve = 3312556032 / 2048
block (sector) reserve = 1617459

Growisofs appears needs to reserve a minimum of 1617459 2KB dvd blocks to fit my 3312556032 byte dvd.iso image on a DVD-R disc
But, this reserve doesn't work. I discovered (thru trial & error) that growisofs actually needs a bigger reserve inorder to burn
a DAO DVD-R disc successfully. Increasing the reserve blocks by one or more blocks results in a successful burn.

Here are the growisofs commands I used to successfully burn a Memorex DVD-R disc in DAO MODE:
growisofs -dvd-compat -use-the-force-luke=dao:1617460 -Z /dev/sr0=dvd.iso
growisofs -dvd-compat -use-the-force-luke=dao:1617559 -Z /dev/sr0=dvd.iso
growisofs -dvd-compat -use-the-force-luke=dao -use-the-force-luke=tracksize:1617460 -Z /dev/sr0=dvd.iso
growisofs -dvd-compat -use-the-force-luke=dao -use-the-force-luke=tracksize:1617559 -Z /dev/sr0=dvd.iso

Unfortunately, I don't know why adding extra reserve blocks works. It could be that my EXT4 system doesn't report the dvd.iso
filesize correctly or it could be a bug in Growisofs or my Linux Kernel-2.6.35. If anyone can offer more information about this
matter, I would appreciate hearing from you.

Also, if you want to play arround with Growisofs & avoid spoiled (costers) add the "dummy" option Which is the equal to the
"simulate" option in K3b.

(eg.) growisofs -dvd-compat -use-the-force-luke=dao -use-the-force-luke=dummy -Z /dev/sr0=dvd.iso


screen brightness for iMac G5 w/ radeon x600 xt.

Sun, 08/22/2010 - 03:56
I have come to the conclusion there is no way to adjust brightness for this iMac besides xgamma tweaking. Can someone explain why it is not possible?


LXer: 10 Beautiful Ubuntu 10.10 Wallpapers From Official Ubuntu Artwork Pool

Sun, 08/22/2010 - 03:42
Published at LXer:

Ubuntu Artwork Pool in Flickr is buzzing with activity once again. With the release date of Ubuntu 10.10 Maverick getting nearer everyday, the submissions onto Ubuntu Artwork Pool in Flickr keeps piling on. Here are a few of those wallpapers that I think, are worth mentioning. Click on the links provided to get wallpapers with different resolutions.

Read More...


Set Top Boxes (IP Video)

Sun, 08/22/2010 - 03:36
I have DSL Internet and it also does my TV... So each TV has a "Set Top Box" with a Cat 5 input and then TV output (no COAX in cable)

Is there any Linux Software to read the Video stream from a Cat 5 port? I've done a little research but I haven't seen anything useful...

The Set Top Box details:
- 2 inputs: Cat-5, Power Cable
- Composite & Component Output, HDMI Out
- Does a PXE Boot on Startup
- Brand is Entone and is a Hydra Model
- Can record 2 video streams at once


mdadm is letting me down (won't recover my raid)

Sun, 08/22/2010 - 02:56
I HAD a fedora 11 server with md RAID 1 across two 1TB SATA drives. The md0 space was set up to be an LVM PV and the single LVM VG was carved up into 5 or 6 LVs. The MB on this system died and I wound up buying a new one.

Now I want to recover the data from the RAID1 setup on the new server. However, when I attach the two 1TB drives to a new fedora 13 setup, mdadm is only able to find one of the two drives. The partition on the second drive shows "busy" during an mdadm -A -s -v to scan for md volumes.

Well, one drive should be enough since this is RAID1, right? Well, when I do a pvscan -v, the other drive shows up as a "NEW" pv not allocated to a VG. In addition, vgscan does print "Invalid metadata header checksum" when it runs but it doesn't point at any particular PV. I'm afraid to go any further with LVM since I can't afford to lose the data on this system. It is backed up offsite, but the restore will take several days and I can't afford to be down that long.

Are there any tools or techniques where I can dig deeper into what each drive, in the RAID1 pair, has right and wrong with it and pick one that I can force into a usable VG so that I can recover the data?

Thanks in advance,
Marc


C and ncurses on ubuntu linux.

Sun, 08/22/2010 - 02:53
See the example below, please. My question is this (ncurses in C): If I don't write code like this with the getch() under comment /* Write to each window */ , it doesn't show anything. Otherwise, works fine.
Also, some other question, in C and ncurses, it is like touchwin() has no effect it should has. The second example I mean, it doesn't work like both the main window and help can be switched among the work properly. I run on Ubuntu 9.10.

EXAMPLE 1.
#include <ncurses.h>
#include <stdlib.h>

void bomb(void);

int main(void)
{
WINDOW *a,*b,*c,*d;
int maxx,maxy,halfx,halfy;

initscr();

/* calculate window sizes and locations */
getmaxyx(stdscr,maxy,maxx);
halfx = maxx >> 1;
halfy = maxy >> 1;
/* create four windows to fill the screen */
if( (a = newwin(halfy,halfx,0,0)) == NULL) bomb();
if( (b = newwin(halfy,halfx,0,halfx)) == NULL) bomb();
if( (c = newwin(halfy,halfx,halfy,0)) == NULL) bomb();
if( (d = newwin(halfy,halfx,halfy,halfx)) == NULL) bomb();

/* Write to each window */
getch(); /*-----------------THIS--------------------------*/
mvwaddstr(a,0,0,"This is window A\n");
wrefresh(a);
mvwaddstr(b,0,0,"This is window B\n");
wrefresh(b);
mvwaddstr(c,0,0,"This is window C\n");
wrefresh(c);
mvwaddstr(d,0,0,"This is window D\n");
wrefresh(d);
getch();

endwin();
return 0;
}

void bomb(void)
{
addstr("Unable to allocate memory for new window.\n");
refresh();
endwin();
exit(1);
}




**********************************************************************

EXAMPLE 2.

#include <ncurses.h>

void showhelp(void);

WINDOW *help;

int main(void)
{
int ch;

initscr();

/* build help menu */
if((help = newwin(0,0,0,0)) == NULL)
{
addstr("Unable to allocate window memory\n");
endwin();
return(1);
}
mvwaddstr(help,6,32,"Help menu Screen");
mvwaddstr(help,9,28,"Press the ~ key to quit");
mvwaddstr(help,12,28,"Press ENTER to go back");

/* now start the program loop */

addstr("Typer Program\n");
addstr("Press + for help:\n\n");
refresh();
noecho();
do
{
ch = getch();
refresh();
if(ch == '+')
showhelp();

else
addch(ch);
} while (ch != '~');

endwin();
return 0;
}

void showhelp(void)
{
touchwin(help);
wrefresh(help);
getch(); /* wait for key press */
touchwin(stdscr);
refresh();
}


Mounting ext4 partition

Sun, 08/22/2010 - 02:50
Hi, I'm still new to Gentoo
I have compiled my kernel with ext4 support and done instructions in wiki but I'm still unable to mount my ext4 partition.

The output says: "Unknown fs type ext4"

Any idea how to solve my problem?
Thanks.


block multiple port from lan going out the net

Sun, 08/22/2010 - 02:35
Gudday everyone, can anyone help me how to block multiples ports from my internal lan going out to the internet?, I want to prevent LAN user's in accessing this kind of ports for example port from 1500-10000.

by the way guys im making a personal firewall script, im just testing it for just curiositie's sake.

will i use the foreward chain policy?? to drop all packets, like port 1500:10000
note '#' stands for root

#iptables -A FORWARD -s 192.168.0.1/24 -p tcp --dport 1500:10000 -j DROP
#iptables -A FORWARD -s 192.168.0.1/24 -p udp --dport 1500:10000 -j DROP

linux newbie here.. tnx in advance.


Trouble viewing websites. What do I need to install?

Sun, 08/22/2010 - 02:16
Using Debian Lenny

I have been trying to view this website:
http://www.fendrihan.com/shaving-soaps-c-2.html
When I click on the categories on the right nothing appears on the page.
I use Iceweasel for a browser. I have the following packages installed:
i A sun-java6-bin
i sun-java6-jdk
i A sun-java6-jre
i sun-java6-plugin

Apparently there is something else I need to install. Can someone
help me with this?

Thanks


how to install webmin on thinstation lightweight OPerating system

Sun, 08/22/2010 - 02:12
hi there
can i install webmin lightweight linux O.S thinstation ?
if yes .then help me how to add it ?thanks in advance


telnet error ---

Sun, 08/22/2010 - 02:10
i set up a MAC power pc with ubuntu.
i can ssh into it, but i cannot telnet.

this is what i get when i telnet to the host

i can only telnet to port 80

icasper@casper-laptop:~$ telnet 192.168.1.2 80
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.
w
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>w to /index.html not supported.<br />
</p>
<hr>
<address>Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.6 with Suhosin-Patch Server at caspermac.nyc.rr.com Port 80</address>
</body></html>
Connection closed by foreign host.
casper@casper-laptop:~$


Hello from Idaho!!!

Sun, 08/22/2010 - 01:55
New to the site.
Fairly new to linux.
have dabbled in it for a while now, but now am ready to go in head over heels :)
looking to get rid of my "needs" for microsoft.
Fedora is doing the trick so far, but i am sure i will be using these forums quite a bit!


My grub didn't work :(

Sun, 08/22/2010 - 01:44
I am poor in English~ thanks~
I used Archlinux 2010-05 ISO to install in a USB Hard Disk
ex>
/dev/sdc1 -- /
/dev/sdc3 -- /home
/dev/sdc5 -- swap

means grub and archlinux both in USB Hard Disk

but grub cannot lead archlinux.

when i reboot it(USB-HDD first).
it's just show me a grub shell...

can you understand what i want to ask?:banghead:


Linux enthusiast help needed in Connecticut

Sun, 08/22/2010 - 01:29
Years ago I installed Kubuntu 7 for my neighbors in CT. He is an military retiree and I didn't charge him. Now I've moved and can't help them any more. It appears they attempted a dist-upgrade and borked it.

If there is anybody in proximity of Willimantic willing to help, please PM me.

The task is:
Back up user files to a USB stick.
Install Lubuntu as base (they have the CD) + help them to install software they need.
The HW is something like AMD 1.3 GHz with 512 MB of RAM (of my memory serves me correctly), nothing exotic. Standard internet connection via DSL modem with built-in NAT router.


mysql compare two rows

Sun, 08/22/2010 - 01:05
i would like to compare to mysql rows as follows:

select count(*) from stocks2.historical where
close*1.05 < (select open from stocks2.historical where date = date_add(date,interval 1 day))
and year(date)=2010;

the problem is with the "date" in bold... i want that date to be the date of the previous row. is there a way to do that purely with mysql? (naturally, i can write a script to go through and compare each date; what i'm asking for is a mysql solution.)


problems with hidden password

Sun, 08/22/2010 - 00:52
I am trying to setup proftpd but think I have security issues with linux
[error]
webserver.albanysite.com - mod_lang/0.8: binding to text domain 'proftpd' using locale path '/usr/share/locale'
webserver.albanysite.com - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
webserver.albanysite.com - ProFTPD 1.3.1 (stable) (built Tue Oct 27 10:09:08 UTC 2009) standalone mode STARTUP
webserver.albanysite.com - no matching vhost found for ::ffff:192.168.1.151#21, using DefaultServer 'ProFTPD Anonymous Server'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - FTP session requested from unknown class
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - performing module session initializations
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - performing ident lookup
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - ident lookup returned 'UNKNOWN'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - connected - local : ::ffff:192.168.1.151:21
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - connected - remote : ::ffff:192.168.1.1:1676
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - FTP session opened.
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER ftp' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER ftp' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER ftp' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER ftp' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching CMD command 'USER ftp' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching POST_CMD command 'USER ftp' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching LOG_CMD command 'USER ftp' to mod_log
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching CMD command 'PASS (hidden)' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - USER ftp (Login failed): Invalid shell: '/bin/false'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - FTP session closed.
webserver.albanysite.com - no matching vhost found for ::ffff:192.168.1.151#21, using DefaultServer 'ProFTPD Anonymous Server'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - FTP session requested from unknown class
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - performing module session initializations
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - performing ident lookup
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - ident lookup returned 'UNKNOWN'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - connected - local : ::ffff:192.168.1.151:21
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - connected - remote : ::ffff:192.168.1.1:1728
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - FTP session opened.
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER anonymous' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER anonymous' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'USER anonymous' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching CMD command 'USER anonymous' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching POST_CMD command 'USER anonymous' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching LOG_CMD command 'USER anonymous' to mod_log
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching CMD command 'PASS (hidden)' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - USER ftp (Login failed): Invalid shell: '/bin/false'
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
webserver.albanysite.com (DD-WRT.albanysite.com[::ffff:192.168.1.1]) - FTP session closed.

[/error]