howto


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers howto
Prev   Next
# 1  
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question
createhomedir(1)					    BSD General Commands Manual 					  createhomedir(1)

NAME
createhomedir -- create and populate home directories on the local computer. SYNOPSIS
createhomedir [-scbalh] [-n directoryDomainName] [-u username] DESCRIPTION
createhomedir provides several options for creating and populating home directories. OPTIONS
-s creates home directories for server home paths only (default). -c creates home directories for local home paths only. -b creates home directories for both server and local home paths. -a creates home directories for users defined in all directory domains of the server's search path. -l creates home directories for users defined in the local directory domain. -n directoryDomainName creates home directories for users defined in a specific directory domain in the server's search path. -u username creates a home directory for a specific user defined in the domain(s) identified in the -a, -l, or -n parameter. If you omit the -a, -l, and -n parameters when you use the -u parameter, -a is assumed. -i reads username list from standard input and creates specified home directories. Each username should be on its own line. -h usage help. FILES
/usr/sbin/createhomedir location of tool CAVEATS
When using the -a option, search limits of various directory servers (such as Open Directory or Active Directory) can prevent all possible home directories from being created. In this case, you may need to specify the usernames explicitly. Mac OS X June 1, 2019 Mac OS X