Rishi Gangoly wrote:
>2. Reset ownership of files and folders since they may not match.
Use 'p' option of tar while backing up that will preserve attributes etc
when u untar(as root).
Amish.
Hi,
Need some advise if I'm on the wrong path.
GOAL: Backup data (/home and /volx) , Re-format a GNU/Linux system and
Re-install fresh from scratch. But I do not want to recreate the users and
passwords...
This is that I'm planning to do after restoring the /home folder.
1. Overwrite the following files from the old hard disk
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
2. Reset ownership of files and folders since they may not match.
Sample script:
This could be addressed by running a for loop:
-------------------- -------------------- --------------------
USERS=`awk -F: '{print $1}' /etc/passwd`
for USER in $USERS ; do
chown -R $USER /home/$USER
chown $USER /var/spool/mail/$USER
done
-------------------- -------------------- --------------------
I have created a lot of groups folder in a folder called /vol1 and /vol2
-------------------- -------------------- --------------------
GROUPS=`awk -F: '{print $1}' /etc/group`
for GROUP in $GROUPS ; do
chown -R :$GROUP /vol?/$GROUP
done
-------------------- -------------------- --------------------
Any comments on this approach being good / bad or flawed?
Regards
Rishi
Hi
can any1 let me know some mailscanners in qmail.
i hv chked with qmailscanner (it does not clean the msg) and qscan (cannot reattach the MIME part) and amavis takes a lot of resources.Also MailScanner it seems doesnt hv a qmail support.
pls name some, other than these.C based scanners will be preferable.
Balajee
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!
Hi there,
I read an advertisement by CMC and Thakur Institute of Career Advancement
about a 3 month course in Embedded Systems. ( Fees, 40K ) The course is a
Diploma in Embedded Systems and course contents are :
1. Foundation Module, comprising of Advanced C and its Data Structures
2. Programming of Microprocessors
3.Programming of Microcontrollers
4Digital Signal Processing
5. RTOS ( Two industry standard versions)
6. Project
I have worked on these things during college( B.E. Electronics ) (except for
RTOS). So i am looking at this from a certification point of view. currently
i am working in VC++ on non-embedded systems and just dont want to really
continue like this.
any thoughts on this ?
Thanks,
rahul
Let this go out for all those faint hearted or still full of doubts about the future of computing ever coming out of a monopoly...(´monosoft´)....I installed Linux on my home PC without any ¨technical help¨...just by downloading the software...and I am using it happily for 6 months now. And now I cannot think of ever using the earlier all pervasive OS, simply because this is so good.
This led my to the next step- linux on my laptop.
While on my PC, I still have the Windows 2000 as a dual boot option that I seldom use, my laptop is LInux-only.
All thru the ¨windows¨ years I was so dependent on my ¨support¨ person, the local assembler for software re-installs also. Now with Linux, I can do everything myself. It is a great feeling.
SO who says Linux is difficult? It may have been five years ago. Now with graphical systems in place and some incredible installers available..it is a breeze.
I say this as a Desktop user. My needs are the common ones..I have some superb applications for those..in every way better than their windows equivalents....For all documents, I use Openoffice.org..for instant messaging I use Gaim..for playing DVD/VCD there is Xine..for audio there is XMMS...and Mozilla Firebird is a terrific browser, way out of the competition.
SO what is left? Yes, I occassionally use a palmtop computer..and it syncs easily with J-pilot.
No doubt now that linux will be the system of choice for desktops also...it is a matter of time. Thanks to the largest collaborative project in human history...creation of the linux operating system.
--- "Shiv Kumaar,91-22-28906693, 9820320927 (mobile)" <journoshiv(a)yahoo.co.in> wrote:
aaah here's an opportunity for a total newbie to post!!! the first time I
tried linux three yrs ago, the comp was so slow, I asked the cybercafe chap
to assign me to a Windows machine. last week at the World Social Forum the
Debian Knoppix (that's what I saw when the system booted) was sleek though
several programs like firebird (i think) didn't work.
also i realize a non-techie shouldn't venture really deep in to the OS since
it opens the code!!! maybe the programmers should have multiple options: the
version for dummies and the one for techies right at the time of
booting.....
as for installing linux, the garden variety of engineers who maintain
machines, install pirated sofware, etc in Mumbai refuse to do it.....
shiv kumar
----- Original Message -----
From: "Philip S Tellis" <philip.tellis(a)gmx.net>
To: "GNU/Linux Users Group, Mumbai, India" <linuxers(a)mm.ilug-bom.org.in>
Sent: January 29, 2004 5:13 PM
Subject: Re: [ILUG-BOM] RE: introducing myself
> On Thu, 29 Jan 2004, Parul.Mathur wrote:
>
> > I just want to know how much easier it has become over the years for a
> > total newbie to accept a GNU/Linux desktop, as opposed to the familiar
> > Microsoft one.
>
> Until PCs come with linux preinstalled, there will always be a barrier
> to cross. Installation of any operating system is tough. Most windows
> users have never installed windows in their lives and probably never
> will.
>
> If faced with a preinstalled, preconfigured linux desktop, I do not
> think that there would be trouble except for the usual getting used to
> that has to be done when switching from one system to another. This is
> true of all systems, not just computers.
>
> I too am interested in knowing what the newbie has to say.
>
> Philip
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/
Hi
I wanted to trigger a conversation here on why Viruses infect Windows PCs and
not GNU/Linux systems,
Dr. Nagarjuna explained the concept of a file in a posix file system is never
set with execute permissions by default and that's why a GNU/Linux system
cannot get infected with a Virus.
The only way a program (virus) could infect the system would be is if a user
actually saved an attachment to disk, then did a 'chmod 755 attachment' and
then executed it by either double clicking it or ./attachment... Thus the
user would have to be really dumb to infect his computer. ;-)
Anyone care to comment or add to this?
All thoughts are most welcome since I am keen on the education more than
anything. Also I'm also wondering if I could be mistaken and that there are
potentially problems / vulnerabilities on a GNU/Linux system...
Regards
Rishi
Sometime on Jan 29, Satish Alwani assembled some asciibets to say:
> When i do major transfers to this box, the machine ends up hanging.
>
> Average transfer speeds in excess of 7000K or even higher than 10,000K at
> times.
Your hang has nothing to do with the spurious IRQ7. IRQ7 is the
parallel port interrupt, and it generally means that the interrupt was
generated, but no one sent it. This can happen for example if you have
some static near the parallel port pins.
What network card do you have?
Philip
--
Beer -- it's not just for breakfast anymore.
I'am sorry if my explanation is completely
illogical...but this is what I figured out ........pls
inform me if my notion is completely wrong.....
In a system like Windoze
---->DLL--->EXE (RAM)---->Compiled but no check for
size of compiled output.
In GNU/Linux OS
---->object/.so----->binary/daemon(RAM)---->Compiled
and checked for size of compiled
o/p.
And as for shell scripts, and rpm's which we blindly
execute sometimes........pls do a md5 verification to
check for trusted signatures........
So it's 98% safe to open mails on a linux system than
any other system........these days a lots of
executable stuff on the prowl.....
bothered abt bugs in the system......well the
community is so alert that you'll definitely know abt
it before the hacker knows it.........
hope this leads us somewhere,
bijucyborg
>>.On a sidenote : Guys what do think abt Bill gates
getting knighthood for >>Services to global
enterprise<<<
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
Because GNU/Linux systems are not written by MS guys who
simply execute any file just because it pretended its content-type
to be an audio file.
In my opinion MS always had policy to make system more
user-friendly(trying to auto-play a sound file for user) at cost
of security(and executing exe instead). This bug and so many
other bugs are so obvious(assuming MS has good developers!)
that sometimes I feel they are kept on purpose, so that they can
ask user to upgrade to their new OS/apps claiming to be MORE
safe.
Amish.
Rishi Gangoly wrote:
> >Hi
>
>I wanted to trigger a conversation here on why Viruses infect Windows PCs and
>not GNU/Linux systems,
Because GNU/Linux systems are not written by MS guys who
simply execute any file just because it pretended its content-type
to be an audio file.
In my opinion MS always had policy to make system more
user-friendly(trying to auto-play a sound file for user) at cost
of security(and executing exe instead). This bug and so many
other bugs are so obvious(assuming MS has good developers!)
that sometimes I feel they are kept on purpose, so that they can
ask user to upgrade to their new OS/apps claiming to be MORE
safe.
Amish.
Rishi Gangoly wrote:
> >Hi
>
>I wanted to trigger a conversation here on why Viruses infect Windows PCs and
>not GNU/Linux systems,