Content-Type: text/plain
debian-user-digest Digest Volume 2007 : Issue 2573
Today's Topics:
Re: Debian packages without md5sums [ Carl Johnson ]
Re: Debian packages without md5sums [ Carl Johnson ]
Re: HELP! can't become root [ Kevin Mark ]
Re: HELP! can't become root [ tom arnall ]
Re: Installation Problem [ Kevin Mark ]
Re: urgent help needed to config USB [ Kevin Mark ]
(solved)Re: urgent help needed to co [ Serena Cantor ]
Re: HELP! can't become root [ Kevin Mark ]
Re: HELP! can't become root [ Kevin Mark ]
Re: HELP! can't become root [ Jeff D ]
Re: The effectiveness of 'make unins [ Amit Uttamchandani <atu13439@csun.e ]
Date: 06 Oct 2007 20:11:12 -0700
From: Carl Johnson <carlj@peak.org>
To: debian-user@lists.debian.org
Subject: Re: Debian packages without md5sums
Message-ID: <871wc7ei0f.fsf@cjlinux.localnet>
Content-Type: text/plain; charset=us-ascii
Daniel Burrows <dburrows@debian.org> writes:
> On Thu, Oct 04, 2007 at 04:22:06PM -0700, Carl Johnson <carlj@peak.org> was heard to say:
> > I haven't seen any place where aptitude shows any of that
> > information. It just shows me a warning such as:
> >
> > WARNING: This version of acpid is from an untrusted source!
> > Installing this package could allow a malicious
> > individual to damage or take control of your system.
>
> Could you paste the full output of "apt-get update"?
Here is the output:
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-3 20070407-12:15] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-3 20070407-12:15] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-3 20070407-12:15] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-3 20070407-12:15] etch/main Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 20070407-12:15] etch/main Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch/main Packages/DiffIndex
Reading package lists... Done
In a separate respose Florian Kulzer pointed out that the ISO images
don't have Release.gpg files, so they can't be authenticated. I later
realized that they can't put the checksum file into the ISO until the
ISO is already completed, and that changes the ISO so the original
checksum is no longer valid. He pointed out how to tell apt to trust
the DVDs, so I have that working now. Thanks for the response.
--
Carl Johnson carlj@peak.org
Date: 06 Oct 2007 20:02:43 -0700
From: Carl Johnson <carlj@peak.org>
To: debian-user@lists.debian.org
Subject: Re: Debian packages without md5sums
Message-ID: <87641jeiek.fsf@cjlinux.localnet>
Content-Type: text/plain; charset=us-ascii
Florian Kulzer <florian.kulzer+debian@icfo.es> writes:
> [ Felix, I hope this message also helps with your problem. ]
>
> On Thu, Oct 04, 2007 at 16:22:06 -0700, Carl Johnson wrote:
> > Florian Kulzer writes:
> > > On Tue, Oct 02, 2007 at 21:02:41 -0700, Carl Johnson wrote:
> > >
> > > Did you try to remove all the DVD-related lines from your
> > > /etc/apt/sources.list, run "aptitude update" and then add the DVD(s)
> > > again using the "apt-cdrom" command? I think that should work but I have
> > > not tested it.
> >
> > I hadn't tried that originally, but I have since with no change.
>
> [ snip: output of "apt-key list" ]
>
> You have all the necessary keys for a normal Debian system. However, it
> seems that the DVDs and CDs simply do not contain Release.gpg files, so
> there are no signatures to check. (I looked at an old netinst CD and I
> downloaded the first Etch_r1 amd64 CD; I could not find a Release.gpg
> file on either one.)
>
> What you can do now is to check the md5sums and the sha1sums of the
> DVDs. If they match then you can be reasonably sure that all the
> individual packages on these DVDs are OK.
>
> First you need to download the files which list these checksums:
>
> wget http://cdimage.debian.org/debian-cd/4.0_r1/i386/iso-dvd/MD5SUMS{,.sign}
> wget http://cdimage.debian.org/debian-cd/4.0_r1/i386/iso-dvd/SHA1SUMS{,.sign}
I didn't notice until after I downloaded them that they are i386, but
I have amd64, but it was easy enough to find the amd64 ones. Then I
noticed that they are 4.0_r1 and I just have the original 4.0. That
is where I struck out and was unable to find any other than r1.
> Then you can verify the signatures on the two files:
>
> gpg --verify MD5SUMS.sign
> gpg --verify SHA1SUMS.sign
>
> These two commands should download Steve McIntyre's public key (ID
> 88C7C1F7) from a keyserver and then check if the current content of
> these files has indeed been signed by him. ("Good signature from ...")
I then discovered that I had never bothered setting up gnupg, so it
couldn't find a keyserver. I looked for documentation without
success, so it appears I will have to get to the non-free archives to
get documentation for gnupg (and many others).
> Now you can test if your DVDs have the same MD5 and SHA1 checksums as
> listed in MD5SUMS and SHA1SUMS. To calculate these checksums for your
> DVDs, put one of them into the drive and run:
>
> md5sum -b /dev/scd0
> sha1sum -b /dev/scd0
>
> You have to replace "/dev/scd0" with the correct device node of your DVD
> reader; check where the dvd symlink is pointing ("ls -l /dev/dvd").
> Calculating these sums for a whole DVD will take a while, even on a fast
> computer. You can run all the above commands as you normal user;
> however, you have to be a member of the "cdrom" group to read the raw
> DVD device.
I ran checksums on the first DVD and found they didn't match, as I
expected by now.
> Once you are happy about your DVDs, you can do this (as root):
>
> echo 'APT::Authentication::TrustCDROM "true";' > /etc/apt/apt.conf.d/99trust-cdrom
>
> This tells apt(itude) to trust all "cdrom:" sources. (The DVDs have
> cdrom: URIs in /etc/apt/sources.list, right?)
I ended up doing this anyways, since they are official DVDs from a
vendor listed at debian.org. I was going to file a bug about the
Release.gpg not being present, until I suddenly realized that they
can't put them on the ISO image without changing the checksum.
> > > > I also noticed
> > > > recently that some packages show multiple entries in aptitude, so
> > > > possibly clearing the entries would clear that.
> > >
> > > Do you mean multiple versions for the same package or the same package
> > > name as two separate entries? (The former would be OK, the latter would
> > > be cause for concern, I think.) Can you give an example with more
> > > details?
> >
> > I should have been more clear about that. I don't have different
> > versions since I just have packages from the Etch DVDs. It isn't in
> > the actual aptitude list, but instead in the individual package
> > entries. The list of packages that depend on the package sometimes
> > shows duplicate entries for packages that I already have. This may
> > just be an artifact of the way that aptitude tracks reverse
> > dependencies. An example is under apt, the list of 'packages which
> > depend on apt' includes:
> >
> > i debtags 1.6.6
> > i debtags 1.6.6
>
> Hmm, can you post the output of "apt-cache policy debtags"?
Here it is, but debtags isn't the only one:
debtags:
Installed: 1.6.6
Candidate: 1.6.6
Version table:
*** 1.6.6 0
500 cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15] etch/main Packages
100 /var/lib/dpkg/status
> > My /etc/apt/sources.list has only the 3 original Debian 4.0 DVD's, and
> > all other entries have been commented out throughout this time.
> >
> > Thanks for taking the time to look at this. This isn't a problem now,
> > but I am nervous about adding other packages from the net without some
> > verification that they are valid.
>
> Your system is already configured to check all the packages from the
> net, but it is important that that we get rid of the "untrusted" message
> for the DVD packages. (Otherwise you will get used to ignoring the
> warning or, even worse, you will be tempted to turn it off globally.)
Thanks for your help, but I finally decided to take your earlier
advice already and just mark the DVDs as trusted. At least I feel
better now that I know why it wouldn't trust the DVDs.
--
Carl Johnson carlj@peak.org
Date: Sat, 6 Oct 2007 23:46:19 -0400
From: Kevin Mark <kevin.mark@verizon.net>
To: debian-user@lists.debian.org
Subject: Re: HELP! can't become root
Message-ID: <20071007034619.GD18665@horacrux>
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote:
> Realistically, is there any way I can fix my system so I can log in as r=
oot,=20
> without reinstalling the OS?
>=20
Here is the question: lets say you fix the initial problem and CAN log
in as root. What next? You have a few hundred files with the wrong
permission.=20
Q: How do you fix this? A: with great pains!
On an average unix system, you can access the data or configuration by
using a live cd or similar, then back that up. Now that you have the
important data like the output of 'dpkg --get-selections=B4, you now know
what packages to install when you reformat the partition! So you do a
base install, use 'dpkg --set-selections', do the other bits to install
the rest of the packages, and in about 1/2 a day, you can be back to a
reasonable state.=20
The other way is to fiddle with a few hundred files until you get an
only mildly broken system. At least that is the way I look at it, YMMV.
K
--=20
| .''`. =3D=3D Debian GNU/Linux =3D=3D | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Date: Sat, 6 Oct 2007 20:59:10 -0700
From: tom arnall <kloro2006@gmail.com>
To: Kevin Mark <kevin.mark@verizon.net>, debian-user@lists.debian.org
Subject: Re: HELP! can't become root
Message-Id: <200710062059.11199.kloro2006@gmail.com>
Content-Type: text/plain;
charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Saturday 06 October 2007 20:46, Kevin Mark wrote:
> On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote:
> > Realistically, is there any way I can fix my system so I can log in =
as
> > root, without reinstalling the OS?
>
> Here is the question: lets say you fix the initial problem and CAN log
> in as root. What next? You have a few hundred files with the wrong
> permission.
>
> Q: How do you fix this? A: with great pains!
>
> On an average unix system, you can access the data or configuration by
> using a live cd or similar, then back that up. Now that you have the
> important data like the output of 'dpkg --get-selections=B4, you now kn=
ow
> what packages to install when you reformat the partition! So you do a
> base install, use 'dpkg --set-selections', do the other bits to install
> the rest of the packages, and in about 1/2 a day, you can be back to a
> reasonable state.
>
> The other way is to fiddle with a few hundred files until you get an
> only mildly broken system. At least that is the way I look at it, YMMV.
> K
'tis sage advice, i fear. and thanks for the 'get-selections' info. this =
list=20
is the main reason i stay debian.
Date: Sat, 6 Oct 2007 23:56:29 -0400
From: Kevin Mark <kevin.mark@verizon.net>
To: debian-user@lists.debian.org
Subject: Re: Installation Problem
Message-ID: <20071007035629.GE18665@horacrux>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sat, Oct 06, 2007 at 09:15:27PM -0300, Marcello Barreto de Medeiros wrote:
> Hello Frank, hello Amit,
> i think the better way is to edit the /etc/apt/sources.list, and
> modify, if necessary, because you have to use the newest
> packages from updated mirrors.
The OP said he had Sarge cd, yes. It is good to point out that there is
a more recent stable release of Debian. But if the users has the cds and
the machine does not have internet access (as some small percentage of
users), then that may not be an option or what he wants. So, lets ask
him: Do you want to use your Sarge CDs (3.1)? do you want to use the
most recent stable version(Etch)? Does the machine have internet access?
-K
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Date: Sun, 7 Oct 2007 00:00:49 -0400
From: Kevin Mark <kevin.mark@verizon.net>
To: debian-user@lists.debian.org
Subject: Re: urgent help needed to config USB mouse in sarge
Message-ID: <20071007040049.GG18665@horacrux>
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 06, 2007 at 10:57:37PM -0400, KS wrote:
> Serena Cantor wrote:
> > I have used "modprobe usbmouse" command, it seems OK
> >=20
> > Then how should I change XF86Config-4? Namely Mouse Device and Mouse Pr=
otocol? For PS mouse, they
> > are /dev/psaux and PS/2 protocol.
> >=20
> > After that, Am i all set?
> >=20
>=20
> My xorg.conf has the following (USB mouse connected to PS/2 port):
>=20
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/input/mice"
> EndSection
>=20
> and lsmod says that I have the module psmouse loaded.
>=20
> /KS
Just to make sure: Serena said 'XF86Config-4=B4 (Sarge) and not
xorg.conf(Etch)? If that is so, then, IIRC, you need to use
'/dev/psaux' instead of '/dev/input/mice'.
-K
--=20
| .''`. =3D=3D Debian GNU/Linux =3D=3D | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Date: Sat, 6 Oct 2007 21:03:50 -0700 (PDT)
From: Serena Cantor <qipaishi2006@yahoo.com>
To: debian-user@lists.debian.org
Subject: (solved)Re: urgent help needed to config USB mouse in sarge
Message-ID: <95018.74176.qm@web35705.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I have found out the cause on my own. USB mouse did not work because I ha=
ve removed hotplug and
discover packages. Now I install them again, and USB mouse get configed.
Thanks to all those reply!
--- KS <lists04@fastmail.fm> wrote:
> Serena Cantor wrote:
> > I have used "modprobe usbmouse" command, it seems OK
> >=20
> > Then how should I change XF86Config-4? Namely Mouse Device and Mouse =
Protocol? For PS mouse,
> they
> > are /dev/psaux and PS/2 protocol.
> >=20
> > After that, Am i all set?
> >=20
>=20
> My xorg.conf has the following (USB mouse connected to PS/2 port):
>=20
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/input/mice"
> EndSection
>=20
> and lsmod says that I have the module psmouse loaded.
>=20
> /KS
>=20
>=20
> --=20
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org=20
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debi=
an.org
>=20
>=20
___________________________________________________________________=
_________________
Shape Yahoo! in your own image. Join our Network Research Panel today! =
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=3D7=20
Date: Sat, 6 Oct 2007 21:11:30 -0700
From: tom arnall <kloro2006@gmail.com>
To: Kevin Mark <kevin.mark@verizon.net>, debian-user@lists.debian.org
Subject: Re: HELP! can't become root
Message-Id: <200710062111.31101.kloro2006@gmail.com>
Content-Disposition: inline
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
On Saturday 06 October 2007 20:46, Kevin Mark wrote:
> On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote:
> > Realistically, is there any way I can fix my system so I can log in =
as
> > root, without reinstalling the OS?
>
> Here is the question: lets say you fix the initial problem and CAN log
> in as root. What next? You have a few hundred files with the wrong
> permission.
>
> Q: How do you fix this? A: with great pains!
>
> On an average unix system, you can access the data or configuration by
> using a live cd or similar, then back that up. Now that you have the
> important data like the output of 'dpkg --get-selections=B4, you now kn=
ow
> what packages to install when you reformat the partition! So you do a
> base install, use 'dpkg --set-selections', do the other bits to install
> the rest of the packages, and in about 1/2 a day, you can be back to a
> reasonable state.
>
> The other way is to fiddle with a few hundred files until you get an
> only mildly broken system. At least that is the way I look at it, YMMV.
> K
But I would still like to get a list of the normal /dev perm's. Keep in m=
ind=20
that my system, so far ;) , seems to be functioning normally, except I ca=
n't=20
do 'su'. Another consideration is that I'm thinking of getting new hardwa=
re=20
and would as soon put off the systems work until then.
Date: Sun, 7 Oct 2007 00:12:47 -0400
From: Kevin Mark <kevin.mark@verizon.net>
To: debian-user@lists.debian.org
Subject: Re: HELP! can't become root
Message-ID: <20071007041247.GH18665@horacrux>
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 06, 2007 at 08:59:10PM -0700, tom arnall wrote:
> On Saturday 06 October 2007 20:46, Kevin Mark wrote:
> > On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote:
> > > Realistically, is there any way I can fix my system so I can log in =
as
> > > root, without reinstalling the OS?
> >
> > Here is the question: lets say you fix the initial problem and CAN log
> > in as root. What next? You have a few hundred files with the wrong
> > permission.
> >
> > Q: How do you fix this? A: with great pains!
> >
> > On an average unix system, you can access the data or configuration by
> > using a live cd or similar, then back that up. Now that you have the
> > important data like the output of 'dpkg --get-selections=B4, you now kn=
ow
> > what packages to install when you reformat the partition! So you do a
> > base install, use 'dpkg --set-selections', do the other bits to install
> > the rest of the packages, and in about 1/2 a day, you can be back to a
> > reasonable state.
> >
> > The other way is to fiddle with a few hundred files until you get an
> > only mildly broken system. At least that is the way I look at it, YMMV.
> > K
>=20
>=20
> 'tis sage advice, i fear. and thanks for the 'get-selections' info. this =
list=20
> is the main reason i stay debian.
http://kevin.vanzonneveld.net/techblog/article/restore_packages_using_dsele=
ctupgrade/
This is a basic HOWTO for the above advice.
=3DK
--=20
| .''`. =3D=3D Debian GNU/Linux =3D=3D | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Date: Sun, 7 Oct 2007 00:17:07 -0400
From: Kevin Mark <kevin.mark@verizon.net>
To: debian-user@lists.debian.org
Subject: Re: HELP! can't become root
Message-ID: <20071007041707.GI18665@horacrux>
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 06, 2007 at 09:11:30PM -0700, tom arnall wrote:
> On Saturday 06 October 2007 20:46, Kevin Mark wrote:
> > On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote:
> > > Realistically, is there any way I can fix my system so I can log in =
as
> > > root, without reinstalling the OS?
> >
> > Here is the question: lets say you fix the initial problem and CAN log
> > in as root. What next? You have a few hundred files with the wrong
> > permission.
> >
> > Q: How do you fix this? A: with great pains!
> >
> > On an average unix system, you can access the data or configuration by
> > using a live cd or similar, then back that up. Now that you have the
> > important data like the output of 'dpkg --get-selections=B4, you now kn=
ow
> > what packages to install when you reformat the partition! So you do a
> > base install, use 'dpkg --set-selections', do the other bits to install
> > the rest of the packages, and in about 1/2 a day, you can be back to a
> > reasonable state.
> >
> > The other way is to fiddle with a few hundred files until you get an
> > only mildly broken system. At least that is the way I look at it, YMMV.
> > K
>=20
> But I would still like to get a list of the normal /dev perm's. Keep in m=
ind=20
> that my system, so far ;) , seems to be functioning normally, except I ca=
n't=20
> do 'su'. Another consideration is that I'm thinking of getting new hardwa=
re=20
> and would as soon put off the systems work until then.
>=20
If you can use dpkg and assocated commands, you can try to 'reinstall'
most of the ESSENTIAL packages until the command works, or maybe trace
the reverse dependencies one by one and reinstall them until it works. I
once had a command that was buggy and I did this and it seem to fix it.
-K
E.g. If command X depends on A, B and C. restall them. IIRC this should
unpack the tarballs from the binary packages and overwrite the files
and their permissions.
-K
--=20
| .''`. =3D=3D Debian GNU/Linux =3D=3D | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Date: Sat, 6 Oct 2007 21:32:19 -0700 (PDT)
From: Jeff D <fixedored@gmail.com>
To: om arnall <kloro2006@gmail.com>
Cc: Kevin Mark <kevin.mark@verizon.net>,
debian user <debian-user@lists.debian.org>
Subject: Re: HELP! can't become root
Message-ID: <Pine.LNX.4.62.0710062126220.31507@proto.technobounce.com>
Content-Type: MULTIPART/MIXED; BOUNDARY="-1463809535-1767736180-1191731434=:31507"
Content-ID: <Pine.LNX.4.62.0710062131320.31507@proto.technobounce.com>
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1463809535-1767736180-1191731434=:31507
Content-Type: TEXT/PLAIN; CHARSET=X-UNKNOWN; FORMAT=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine.LNX.4.62.0710062131321.31507@proto.technobounce.com>
On Sat, 6 Oct 2007, tom arnall wrote:
> On Saturday 06 October 2007 20:46, Kevin Mark wrote:
>> On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote:
>>> Realistically, is there any way I can fix my system so I can log in as
>>> root, without reinstalling the OS?
>>
>> Here is the question: lets say you fix the initial problem and CAN log
>> in as root. What next? You have a few hundred files with the wrong
>> permission.
>>
>> Q: How do you fix this? A: with great pains!
>>
>> On an average unix system, you can access the data or configuration by
>> using a live cd or similar, then back that up. Now that you have the
>> important data like the output of 'dpkg --get-selections=B4, you now kno=
w
>> what packages to install when you reformat the partition! So you do a
>> base install, use 'dpkg --set-selections', do the other bits to install
>> the rest of the packages, and in about 1/2 a day, you can be back to a
>> reasonable state.
>>
>> The other way is to fiddle with a few hundred files until you get an
>> only mildly broken system. At least that is the way I look at it, YMMV.
>> K
>
> But I would still like to get a list of the normal /dev perm's. Keep in m=
ind
> that my system, so far ;) , seems to be functioning normally, except I ca=
n't
> do 'su'. Another consideration is that I'm thinking of getting new hardwa=
re
> and would as soon put off the systems work until then.
>
heres a list of files that need 4755 perms, at least on my system, you=20
may or may not have some of these files:
/bin/su
/bin/mount
/bin/umount
/bin/ping
/bin/ping6
/usr/bin/newgrp
/usr/bin/chfn
/usr/bin/chsh
/usr/bin/gpasswd
/usr/bin/passwd
/usr/bin/traceroute.lbl
/usr/bin/gpg
/usr/bin/mtr
/usr/bin/sudoedit
/usr/bin/sudo
/usr/bin/fping
/usr/bin/fping6
/usr/bin/sperl5.8.8
/usr/bin/traceroute6
/usr/bin/netkit-rcp
/usr/bin/netkit-rsh
/usr/bin/netkit-rlogin
-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Tec=
hno.
---1463809535-1767736180-1191731434=:31507--
Date: Sat, 6 Oct 2007 22:03:59 -0700
From: Amit Uttamchandani <atu13439@csun.edu>
To: debian-user <debian-user@lists.debian.org>
Subject: Re: The effectiveness of 'make uninstall' command
Message-Id: <20071006220359.09ff9c8a.atu13439@csun.edu>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
>
> make uninstall is rarely supported and most often doesn't work. If you want
> something similiar, but generally has much less trouble, you might want to
> look at stow (debian package: stow, upstream url:
> http://www.gnu.org/software/stow/)
>
Rarely supported meaning by developers? I guess they have to include an uninstall script in the source folder right?
I installed stow and it looks like the right way to go. How is it used? Do you have any experiences with it?
Thanks for your help.
--
Amit Uttamchandani <atu13439@csun.edu>
End of debian-user-digest Digest V2007 Issue #2573
**************************************************
Received on Sun Oct 7 01:30:37 2007