Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,244
» Latest member: dangyc
» Forum threads: 4,031
» Forum posts: 16,406

Full Statistics

Online Users
There are currently 462 online users.
» 0 Member(s) | 460 Guest(s)
Baidu, Yandex

Latest Threads
how to allow only steam t...
Forum: Xorg Problems
Last Post: moquber
2026-03-17, 09:40 PM
» Replies: 0
» Views: 299
Wi-Fi works for a few min...
Forum: Network Problems
Last Post: kabifff
2025-12-15, 12:57 AM
» Replies: 0
» Views: 668
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 4,029
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 125,236
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 75,389
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 5,406
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 9,225
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 47,569
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 166,525
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 98,052

 
  Microsoft Windows Admin
Posted by: kZo - 2003-12-15, 03:58 PM - Forum: General Chat - Replies (1)


January 5th I walk into a new corporate office, new faces, new jobs status, and a new administration position. Not sure what is going to transpire out of this new position, but I feel that it was a step that was needed.

 

December 9th 2003, I had given my resignation to my boss, the date is set for January 2nd 2003. It's amazing how people respond when they know you are actually leaving. I've felt both kindness, and the opposite. Sad when you give a company your life, and your technical abilities to transform their way of work, and the gratitude is almost non-existant.

 

My emotions have played a roll in the leaving of my current place of employment. Although I have transformed the network, and server side of this company, I have felt that it's time for me to leave. I will be leaving a position where I over see the whole IT department. Run the budget, purchase the servers, you name it I do it. I was a part of it all. I paid the bills, ran the backups, did some programming. Now I must leave, to have a "regular job."

 

This new position is, yes none other than an, Microsoft Server administrator. I have the oppertunity to work for a corporation server team. I am going to be one of the "new guys". The "Go-Fer" as some may put it. The bottom, the very sole of the foot of IT.

 

The technical ability is there, and I have the desire to move up, but the thought of starting at the bottom and working up to the top again has given me some doubts, and maybe some worries. Not to mention Linux is almost non-existent in this new company.

 

Linux administration has made my email life at my current place of employment an ease. I have had little to almost no trouble with it at all. It's still running, it would have been running with 0 reboots, or anything for almost 1.5 years if I had not upgraded the kernel. As we know, security calls for updates.

 

I will miss that more than anything I believe. Hope is there, for I may be able to have them impliment a new branch of Linux administration, maybe I can work my way to over see that department. Who knows, but I will strive to move Linux into the workplace envirionment. I hope it follows. I do.

 

Anyway, As I reach another chapter in my career I hope that it's well worth the decision to leave a comfortable spot. I do hope it's worth the time that I spend frustrated in making a new transition. I have all the hope and belief that it will be well worth it, but inside there is still a bit of disbelief and maybe some discomfort. [img]<___base_url___>/uploads/emoticons/default_ph34r.png[/img]

Print this item

  Delete a user
Posted by: Digerati - 2003-12-15, 02:49 PM - Forum: Tips and Tricks - No Replies


To delete a user to your system bring up a terminal window and issue these commands:

 

To delete a user use deluser [username]

 

All this must be carried out as super user

 

To become a super user just type su - and enter the root password.

Ex.

[digerati@rh9 /]$su -

password:

[digerati@rh9 root]# userdel scrote

 

To delete the user and their home and all their stuff do:

 

[digerati@rh9 root]# userdel -r scrote

 

 

All done.

Print this item

  ADD a user
Posted by: Digerati - 2003-12-15, 02:47 PM - Forum: Tips and Tricks - Replies (1)


To add a user to your system bring up a terminal window and issue these commands:

 

To add a user use useradd [username]

then password the name by using passwd like

passwd [username]

All this must be carried out as super user

 

To become a super user just type su - and enter the root password.

Ex.

[digerati@rh9 /]$su -

password:

[digerati@rh9 root]# useradd scrote

[digerati@rh9 root]# passwd scrote

Changing password for user scrote.

New password:

Retype new password:

passwd: all authentication tokens updated successfully.

 

All done.

Print this item

  Sync time with outside source
Posted by: Digerati - 2003-12-15, 02:41 PM - Forum: Tips and Tricks - Replies (1)


To set the time on a linux box to one of those goverment time servers use

ntpdate time-b.nist.gov

 

Ex.

[digerati@rh9 /]$ ntpdate time-b.nist.gov

Print this item

  password expirey level
Posted by: Digerati - 2003-12-15, 02:39 PM - Forum: Tips and Tricks - No Replies


To edit the password expirey level edit the /etc/login.def.

 

 

# Password aging controls:

#

# PASS_MAX_DAYS Maximum number of days a password may be used.

# PASS_MIN_DAYS Minimum number of days allowed between password changes.

# PASS_MIN_LEN Minimum acceptable password length.

# PASS_WARN_AGE Number of days warning given before a password expires.

#

PASS_MAX_DAYS 30

PASS_MIN_DAYS 0

PASS_MIN_LEN 5

PASS_WARN_AGE 7

Print this item

  chkconfig
Posted by: Digerati - 2003-12-15, 02:38 PM - Forum: Tips and Tricks - No Replies


To check what starts on start up do chkconfig [servicename]

or chkconfig --list to see whats going on

or do chkconfig [servicename] on for one that is off

EX # chkconfig ssh on

There are runs levels or boot modes that may need attention:

EX:postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Levels 5 is gui mode; 3 is shell boot mode, so anywhere from 2~5 is good.

Print this item

  To untar a file
Posted by: Digerati - 2003-12-15, 02:37 PM - Forum: Tips and Tricks - Replies (1)


To untar a file use tar -xvf [filename]

If its in tar.gz then first gunzip [filename] and then untar.

Print this item

  notes
Posted by: Digerati - 2003-12-15, 02:32 PM - Forum: Tips and Tricks - Replies (3)


Make yourself a notes file to keep documentation on changes you made on your system or just general notes about commands and things.

 

I created a file called notes.txt at /var/notes.txt and when I want to add to it simply do this

 

 

[digerati@rh9 /]$ cat >> /var/notes.txt

type something and hit ctrl d when finished.

 

Since this >> appends to the file I like to add a # sign before the actual typing like:

 

 

[digerati@rh9 /]$ cat >> /var/notes.txt

#

type something and hit ctrl d when finished.

Print this item

  ProFTPd - handy links
Posted by: Digerati - 2003-12-15, 02:08 PM - Forum: FTP Server - Replies (10)


http://castaglia.proftpd.de/

 

Good place to get started.

 

http://proftpd.linux.co.uk/

 

I thought these links were a good thing to add for now.

Print this item

  Custom Icons
Posted by: Digerati - 2003-12-15, 02:05 PM - Forum: LAMP - Replies (1)


Use custom icons with Apache directory listings

 

 

 

If you are running apache, you can replace the default icons used when a directory is listed with your own. The icons are usually in /usr/share/httpd/icons/, /var/www/icons, or in windows it will be under your apache directory under icons and I would suggest backing all of these up before you mess with them. you can do this quickly by typing:

 

# cp -r /var/www/icons /var/www/icons.bak

 

You can use the Get Info (Command-I in the Finder) command to view the icon for a certian type of file, then copy it and use Photoshop or something to save the icon as a gif. Then replace the default icon file with the one you have just created. Now when list a dirctory you should see your customized icon.

 

You can also add new types by edditing you httpd.conf file (/etc/httpd/httpd.conf). Add the line:

 

AddIcon [PathToIcon] [Extensions]

 

For example, if you want an icon to show up for disk images then add the line:

 

AddIcon /icons/diskimg.gif .dmg .cdr .smi

 

I would suggest adding these lines in with all of the others that are already in the httpd.conf file.

 

You can also comment out a few lines to protect them using the # sign in front.

 

Here is what my icon listing looks like.

 

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

 

#AddIconByType (TXT,/icons/text.gif) text/*

#AddIconByType (IMG,/icons/image2.gif) image/*

AddIconByType (SND,/icons/sound2.gif) audio/*

AddIconByType (VID,/icons/movie.gif) video/*

 

#AddIcon /icons/binary.gif .bin .exe

AddIcon /icons/exe.gif .bin .exe .EXE

AddIcon /icons/msi.gif .msi .MSI .Msi

AddIcon /icons/dll.gif .dll .DLL .Dll

AddIcon /icons/ini.gif .ini .INI .Ini .inf .INF .Inf

AddIcon /icons/bat.gif .bat .BAT .Bat

AddIcon /icons/binhex.gif .hqx

AddIcon /icons/tar.gif .tar

AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv

AddIcon /icons/compressed.gif .Z .z .tgz .gz

AddIcon /icons/a.gif .ps .ai .eps

#AddIcon /icons/layout.gif .shtml

#AddIcon /icons/text.gif .txt

AddIcon /icons/txt.gif .txt .TXT

AddIcon /icons/c.gif .c

AddIcon /icons/p.gif .pl .py

AddIcon /icons/f.gif .for

AddIcon /icons/dvi.gif .dvi

AddIcon /icons/msword.gif .doc .DOC

AddIcon /icons/msexcel.gif .xls .XLS .xlt

AddIcon /icons/dwg.gif .dwg .DWG

AddIcon /icons/ppt.gif .ppt .PPT

AddIcon /icons/zip.gif .zip .ZIP .dat .DAT .cab .CAB .Cab .cat .CAT

AddIcon /icons/msg.gif .msg

AddIcon /icons/msie.gif .html .htm

AddIcon /icons/pdf.gif .pdf

AddIcon /icons/bmp.gif .bmp .gif .jpg .jpeg

AddIcon /icons/uuencoded.gif .uu

AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl

AddIcon /icons/tex.gif .tex

AddIcon /icons/bomb.gif core

 

AddIcon /icons/back.gif ..

AddIcon /icons/hand.right.gif README

AddIcon /icons/folder.gif ^^DIRECTORY^^

AddIcon /icons/blank.gif ^^BLANKICON^^

 

#

# DefaultIcon is which icon to show for files which do not have an icon

# explicitly set.

#

DefaultIcon /icons/unknown.gif

 

See how I commented some and also added all types of extensions so that apache will not get ticky about it.

 

 

Here are what a few look like that I created and use.

[/url][url=http://www.thebatchfile.com/junk/list/]http://www.thebatchfile.com/junk/list/

Print this item