ADMINISTRATION:
-apropos/info copy --> gives a similar commands to copy
up2date -l --> list of updates from the internet
-p --> packeges
-u --> update , get the rpms, than
instales them.
-lynx --> command line web browser
-to lock an account put "*" before the incripted
password at /etc/shadow:
peter: *$WEfswfWEFRWgwef
-to add user equal to root: adduser, password user,
copy first line from
/etc/passwd and paste it at the last line there.
change root to other_name.
can delete between colons & get
with no password
uptime --> the servers up time
/etc/X11/gdm/gdm.conf --> Browser=1 for
html welcome 2 X.
/etc/motd -->massage of the day (enter the install date)
/etc/issue --> clear "redhat.." and enter "ros"
(or add echo "1" into /proc/sys/net/ipv4/ip_forward
(never write into
/proc)<-- means that the karnel can pass packets
not belonging to him)
-last :who is loges in -also drom smb and ncp
/etc/login.defs -->manage paswords, put home dir...
/etc/shadow -->all paswords there
less /etc/inittab --> for changing from x to consol
also shows alt+ctrl+del, can add till 12 consoles
/etc/fstab -->write dir that go up with the system
/etc/mtab -->who is in mount
lspci --> shows all hardware installed (setpci)
free --> memory condition
/etc/modules.conf --> modules that the box is loading
|