09-18-2003
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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LOGIN(1) General Commands Manual LOGIN(1)
NAME
login - sign on
SYNOPSIS
login [ -p ] [ username ]
DESCRIPTION
The login command is used when a user initially signs on, or it may be used at any time to change from one user to another. The latter
case is the one summarized above and described here. See "How to Get Started" for how to dial up initially.
If login is invoked without an argument, it asks for a user name, and, if appropriate, a password. Echoing is turned off (if possible)
during the typing of the password, so it will not appear on the written record of the session.
After a successful login, accounting files are updated and the user is informed of the existence of mail. The message of the day is
printed, as is the time of his last login. Both are suppressed if he has a ".hushlogin" file in his home directory; this is mostly used to
make life easier for non-human users, such as uucp.
Login initializes the user and group IDs and the working directory, then executes a command interpreter (usually csh(1)) according to spec-
ifications found in a password file. Argument 0 of the command interpreter is the name of the command interpreter with a leading dash
("-").
Login also modifies the environment environ(7) with information specifying home directory, command interpreter, terminal type (if avail-
able) and user name. The `-p' argument causes the remainder of the environment to be preserved, otherwise any previous environment is dis-
carded.
If the file /etc/nologin exists, login prints its contents on the user's terminal and exits. This is used by shutdown(8) to stop users log-
ging in when the system is about to go down.
Login is recognized by sh(1) and csh(1) and executed directly (without forking).
FILES
/var/run/utmp accounting
/usr/adm/wtmp accounting
/usr/spool/mail/* mail
/etc/motd message-of-the-day
/etc/passwd password file
/etc/nologin stops logins
.hushlogin makes login quieter
SEE ALSO
init(8), getty(8), mail(1), passwd(1), passwd(5), environ(7), shutdown(8), rlogin(1c)
DIAGNOSTICS
"Login incorrect," if the name or the password is bad.
"No Shell", "cannot open password file", "no directory": consult a programming counselor.
BUGS
An undocumented option, -r is used by the remote login server, rlogind(8C) to force login to enter into an initial connection protocol. -h
is used by telnetd(8C) and other servers to list the host from which the connection was received.
4th Berkeley Distribution November 27, 1996 LOGIN(1)