Sponsored Content
Full Discussion: howto
Top Forums UNIX for Dummies Questions & Answers howto Post 40554 by tamemi on Thursday 18th of September 2003 03:54:46 AM
Old 09-18-2003
Error 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
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

pop3 service- howto?

Hello , I have this RH6.2 box with sendmail8.9.3-20 (configured and running properly ) I have also (procmail3.14-2 , fetchmail5.3.1-1 ) installed but I don't know about them. (( all installed as rpm packages)) okay ,,, here what I need: I need to be able to use OUTLOOK or any other... (3 Replies)
Discussion started by: t_zone
3 Replies

2. UNIX for Dummies Questions & Answers

Full Duplex Howto

Dear Members, I was reading a few posts and saw something about installing two Nics so one could use Full Duplex. I remember back in the day of dial up, you could have two modems and use one for upstream and one for downstream. This was called shotgunning. It seems that you can now do the same... (4 Replies)
Discussion started by: Phobos
4 Replies

3. Windows & DOS: Issues & Discussions

windows howto find

Hi all! How would you do the equivalent of find ! -type f..... under windows? Meaning, how under a directory could you find all files except those named *.mp3 for example? the command under linux would be: find $DIR ! -name "*.mp3" what would be that under windows? Thanx for any ideas... (3 Replies)
Discussion started by: penguin-friend
3 Replies

4. UNIX for Dummies Questions & Answers

system () howto ??

How do you write a command to : A text line to a file in ./DATA1/archive.log using system () in awk TodayDate Time scriptname.ksh filename.dat system(echo `date '+%D %T` scriptname.ksh >> ./DATA/archive.log) --> syntax error +%D Thanks for your help (0 Replies)
Discussion started by: britney
0 Replies

5. Linux

boot cd linux HOWTO?

i have linux bootable cd. I want similar bootalbe cd with some chnage in the disk. i.e, some file from the old cd has to replaced in newer one. how do i do it? (3 Replies)
Discussion started by: yogesh_powar
3 Replies

6. Shell Programming and Scripting

Howto create a file

Hi folks, How do we create a file using shell script? i mean to say that do we use is it a good approch to do echo "abc" >file echo "xxxx" >>file or is there any better method? Thanks, Amit (5 Replies)
Discussion started by: amit4g
5 Replies

7. Solaris

Looking for CIFS howto

I just skimmed through the Administration Guide about LDAP and CIFS. Well that's a whole lot of text. Does someone know a tutorial/introduction with some steps to make? TIA (14 Replies)
Discussion started by: PatrickBaer
14 Replies

8. Shell Programming and Scripting

Howto use grep command

Hi all , i am having a table which contains start date and end date for ex .. startdate enddate 12/03/2011 12/04/2012 11/03/2011 20/05/2011 11/04/2011 28/07/2011 how to grep startdate = 12/03/2011 enddate = 28/07/2011 i need output :- startdate:12/03/2012... (4 Replies)
Discussion started by: Venkatesh1
4 Replies

9. UNIX for Dummies Questions & Answers

Q: Howto compare 2 files

Greetings, I made an extraction on 2 different databases. What I need to do is to compare those extractions to know what is on database1 which is not on database2 and vice versa. In those files, there are only numbers. So each line is just a number witch should be present on both file. If... (6 Replies)
Discussion started by: Sekullos
6 Replies

10. Shell Programming and Scripting

Howto cancel I/O redirection ?

Hi on AIX systems (6.x and 7.x) I have ksh scripts redirecting I/O, and running another script script000.ksh ie : # my script ... >${LOG} >${LOGCTRL} exec >>${LOG} 2>>${LOG} . ${PROJECT}/.../script000.ksh # hereafter, restore default I/O ... Is it possible at the end of the... (2 Replies)
Discussion started by: Fundix
2 Replies
local.users(4)						     Kernel Interfaces Manual						    local.users(4)

NAME
local.users - Specifies mail recipients on the local host. DESCRIPTION
The local.users file contains a list of user names whose mail is to be delivered to the local host and whose return address is user- name@hostname. Entries in the local.hosts file are in addition to other local users (such as root and postmaster). See sendmail.cf(4) for a description of other local users. You can add entries to this file if the host is configured as a simple client and either of the following is true: The user wants their mail delivered on this machine rather than being forwarded to the mail server. You are adding aliases to the /var/adm/sendmail/aliases file. When the host is configured as a simple client, the alias must be added to this file and the aliases file. A simple client is defined as a host that had the mail system configured using the MailConfig application from the System Management utili- ties or configured using the mailsetup utility's Quick Setup menu. The format of the file is as follows: User names are separated by blanks or new lines. Multiple user name can be specified on a line. Blank lines are ignored. A comment mark (#) ends the line. After modifying the local.users file, you must restart the sendmail daemon to apply the changes. Use the following command: # /sbin/init.d/sendmail restart EXAMPLES
root postmaster rw # A comment followed by an ignored blank line. # Another comment. mariah # Another comment. carey # Leading blanks are acceptable. FILES
Specifies the path name for the file. RELATED INFORMATION
Files: sendmail.cf(4). delim off local.users(4)
All times are GMT -4. The time now is 08:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy