The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Howto create a file amit4g Shell Programming and Scripting 5 02-07-2007 05:15 AM
boot cd linux HOWTO? yogesh_powar Linux 3 06-12-2006 04:53 AM
system () howto ?? britney UNIX for Dummies Questions & Answers 0 04-05-2006 09:36 PM
windows howto find penguin-friend Windows & DOS: Issues & Discussions 3 05-20-2005 02:48 AM
HOWTO: Installing man-pages postmaster UNIX for Dummies Questions & Answers 2 03-05-2002 05:39 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-18-2003
Registered User
 

Join Date: Feb 2002
Posts: 78
Exclamation howto

Dear All ,

Kindly I have some questions , I need hints or answers please .

I have sparc4 , sun solaries 7 , mail server . i have about 5000 users , with no login shell , or home directories for the users .

they only have mail boxes in /var/mail dir .

now , I do not have any type of back up , what is the easiest solution to take back up for my server , or lets say for my 5000 user info. and emails , is there a utility that i can use in order to backup !!

I know /etc/passwd , /etc/shadow and /etc/group files .

any advice ?!?!?

------------------------------------------------------------------------

i was thinking of a silly solution ,,, i do not know if i can apply it ,,, for example if i took ( copy ) , /etc/passwd , /etc/shadow and /etc/group files , then i installed a new server and pasted them again ,,, am i gunna get same users and passwd's ??



thanks
__________________
Muhannad Tamemi
Forum Sponsor
  #2  
Old 09-18-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
Hi Tamemi,

This is not a very stupid remark. As long as your users do not login the most important files are /etc/passwd, /etc/shadow and /etc/group. Of course your /var/mail directory would be important of course as well.

But, why don't you attach a simple backup-unit to the server. You take quiet a risk here !!

Else rebuilding the data on the other server each day using rsync could be a solution as well of course. Please know for sure that your server is not that important!

B.T.W. : tar could already be ok for the things you need, ufsdump is a more extensive program.

Regs David
  #3  
Old 09-18-2003
Registered User
 

Join Date: Feb 2002
Posts: 78
what i need to be sure of ,, or what i understood from your answer , is that i can restore all users info. and passwords , if my existing server dropped down , and I set up a new one ??

i mean ( want to be sure of ) , can i have all users defined again , without manual defining !! redefining 5000 user ??

later on i will buy something llike tape in order to back up important files on it .

also i need to know , does ufsdump or tar , back up all emails in my users mail boxes ??

thanks
__________________
Muhannad Tamemi
  #4  
Old 09-18-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
Yes, you can for a hundred percent sure rebuild your users by simply making a copy of your passwd-files (passwd,shadow and group) I can asure you !!

A mailbox is nothing else than a simple flat file. So also yes, you can easily backup mailboxes. Please refer to the man-pages for details on how to backup the filesystems you want.

Regs David
  #5  
Old 09-18-2003
Registered User
 

Join Date: Feb 2002
Posts: 78
now everyting is clear ..

Thanks .

Do you know i have another questions ,,, not related to back up !!


1. Why unix system could not be infected ith viruses !!

2. how can i stop many many spam emails , which are getting me and my users crazy !!

is there any FREE antispamm software that works with solaries7 , sendmail 8.9.3

Thanks
__________________
Muhannad Tamemi
  #6  
Old 09-18-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
Hi,

There definitly are multiple anti-spam progs. Please post a new question for this (In the Sun forum?). To be honest I am not an expert on that area, so you need the help of our friends.

Unix is different build than Windows. To explain it all might be a bit too much to explain. It's possible thought, but it's just not popular and is less easy to do.

Regs David
  #7  
Old 09-18-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Unix is a collection of operating systems that run on any hardware. Unix people rarely download executables except from very trusted sources.

Windows users will download executables very frequently and virtually all of them use a cpu that uses intel's instruction set.

True viruses are machine specific. So you can create a SunOS true virus or an HP-UX true virus. But a unix true virus cannot be written.

The first internet based attack was the morris worm which targeted several versions of unix simultaneously. It took down many unix based systems. It even crossed over to Milnet and took down hundreds of military systems. That was well over 10 years ago and unix security has improved a lot since then.

Unix tends to treat email as something for a human to read. It is very rare for a unix system to attempt to execute an incoming email message automatically. It also helps that there are other operating systems that are very vulnerable to viruses. They divert the attention of virus authors away from unix. Finally, unix still has several security problems of its own. A cracker who wants to breech unix security will target one of those.

These are the big factors that act to protect unix from viruses. True viruses that is....

However, people use the term virus loosely. I know the difference between a virus and a worm. However, I would not be amused if the virus scanning software that I bought for my laptop intentionally ignored worms.

And evil software doesn't always perfectly match the classical definitions. Those email viruses that target windows are not true viruses. But it's not clear what to call them... they are sort of a cross between a trojan horse and a worm or something.

Now consider your mail server: if an email virus targeted toward Windows arrives on your server, it will not magically disappear. Sure, it won't affect your unix based mail server. That doesn't mean that you want to forward it to your user's computer. I would call a unix mail server waiting to download windows viruses "infected". What other term would you use? (Actually, I kinda like the term "subclinical infection".)

So unix can be infected with anything and after you loosen up the definition of "virus" enough to include all evil software, unix can be affected by viruses.

As for antispam, click on home, then click on answers to frequently asked questions, then click on email antispam techniques and email filtering
Google The UNIX and Linux Forums
Closed Thread

Tags
sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0