>>> On Mon, May 12, 2008 at  2:51 PM, in message
<[EMAIL PROTECTED]>,
James Melin <[EMAIL PROTECTED]> wrote: 
-snip-
> Back in the day at the recommendation of the 'Lpar to virtual server' 
> redbook, I did the bastille hardening which appended this to syslog.conf

Mike et. al. recommended Bastille?  I didn't think much of anyone did that any 
more.

-snip-
> So this is clearly why syslog has /dev/tty7, 8 and 12 allocated.

You can have the same level of logging, just point them to real files in 
/var/log/ somewhere.

> the problem exists on the golden mastet structure on my cloning system and 
> every linux derived from it, so I suspect the damage was done a long time
> ago, back when I knew considerably less than I do now.
-snip-
> THe question is.. how do I re-create these device entries so that the are not 
> regular files anymore?

Change your /etc/syslog.conf.  Shut down syslog.  Do an "rm /dev/tty7 /dev/tty8 
/dev/tty12".  Then:
mknod -m 620 /dev/tty7 c 4 7
mknod -m 620 /dev/tty8 c 4 8
mknod -m 620 /dev/tty12 c 4 12
chown root:tty rm /dev/tty7 /dev/tty8 /dev/tty12

Then restart syslog.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to