Some Linux goodies…. < /dev/null :)

0 Flares Facebook 0 Twitter 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×

uptime – Prints the system uptime.
w – Prints the current system users.
wall – Prints a message to each user except those who’ve disabled message reception. Type Ctrl-D to end the message.
no root!
If /etc/securetty is world writeable then root will not be able to log in.
Permission of /etc/securetty is 600
If you change this to 606, root can not log in.
how to make ur floppy bootable…???
fdformat /dev/fd0
mkfs /dev/fd0
mount /dev/fd0
cp ks.cfg /media/floppy

in the prompt type (without quotes) “linux ks=floppy”
wants to automount the samba shares
Edit the /etc/auto.master file

vi /etc/auto.master

# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
/misc /etc/auto.misc –timeout=60

Then save this file

Now edit the /etc/auto.misc file
vi /etc/auto.misc

# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

samba -fstype=smbfs,username=[username],passwo

rd=[password] ://server/share

# the following entries are samples to pique your imagination
#linux -ro,soft,intr
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0

Then restart the autofs service




Leave a Reply

Your email address will not be published. Required fields are marked *