LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 04-23-2007, 08:31 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
Exclamation Website for newbies


I have over some time written tutorials about installing various distributions and preparations needed for installing Linux. Also, I offer a service to people in the U.S. to ship pre-burned, tested CDs via the mail. I do not recommend this however, as Linux users need to be willing to do homework and troubleshooting, but this is a novelty I like to offer.

I hope you find my website useful!

Last edited by Mara; 04-24-2007 at 04:50 PM. Reason: link removed
 
Old 04-23-2007, 09:33 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
Quote:
Originally Posted by link removed
If you store your iso in your home directory, simply open a terminal and type (assuming you are not logged in as root) "sudo md5sum filename.iso".
I’m interested to hear why this is the case. The md5sum utility requires no special permissions…

Last edited by Mara; 04-24-2007 at 04:51 PM. Reason: link removed
 
Old 04-23-2007, 09:35 PM   #3
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
the sudo part. You don't have to type sudo to use md5sum when you are root.
 
Old 04-23-2007, 10:34 PM   #4
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Quote:
Originally Posted by osor
The md5sum utility requires no special permissions…
Same thought here.
 
Old 04-24-2007, 06:24 AM   #5
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
OK-I have changed it to something clearer.
 
Old 04-24-2007, 01:03 PM   #6
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
since when has md5sum required root permissions to run.
as long as you have r acsess you can get a md5 as a normal user
Code:
sdas@DanNew:/usr/bin> md5sum ./md5sum
08863c74019c8d446bc8e8a51e0999ad  ./md5sum
sdas@DanNew:/usr/bin>
look i can even Md5sum teh md5sum utilaty!
which i have r-x permission when im a normal user.

Code:
sdas@DanNew:/boot> md5sum ./vmlinuz-2.6.18.8-0.1-default
c3f27655ab19e81b89d80f40c61b049b  ./vmlinuz-2.6.18.8-0.1-default
sdas@DanNew:/boot>
md5 of my kernel, and i onlyhave r-- permisions

Last edited by dasy2k1; 04-24-2007 at 01:05 PM.
 
Old 04-24-2007, 01:48 PM   #7
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
How many times do I have to explain that you only have to use sudo when you are not root. Some people like to run in root regularily, I am simply addressing those people as well. I know md5sum can be used without root access. Look at the website again, I changed the wording.
 
Old 04-24-2007, 01:53 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
And they're all saying that you don't need to use sudo at all. I just ran an md5sum like this:
Code:
ray@spinelli:~$ md5sum /boot/config-2.6.18-4-686
7bba80e34df0bad5796d3c576f2f6848  /boot/config-2.6.18-4-686
As you can see, I ran it from my home directory on my boot partition as my normal user account with no extra permissions or use of sudo.

What they are asking is what is your reason for insisting on having root access to check the checksum of a downloaded file?
 
Old 04-24-2007, 01:56 PM   #9
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
I had to use sudo when I used Ubuntu 6.10, don't ask me why, thats the way it was. So, no, you do not have to be root (like I have said 3 times before), you do not have to use sudo depending on which distro you have and/or how your distro is set up.
 
Old 04-24-2007, 02:06 PM   #10
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
But your site says this:
Quote:
If you store your iso in your home directory, simply open a terminal and type "sudo md5sum filename.iso" (if you are root, do not use sudo).
Nowhere do you make it clear that you don't need sudo to do this. Particularly if you are in your home directory.

What about this:
Quote:
Firstly, download the iso file to your home directory (or any other directory you have read/write access to). Open a terminal and navigate to the download location using the
Code:
cd
command. Then run the checksum command
Code:
md5sum theisofilename.iso
You will need to compare the number you generate using this command against the md5sum number from the download site. If they match, you can burn the file to disk, if they don't match you will need to redownload the file.
Yes it's clunky, but it makes it clear what you need to do.
 
Old 04-24-2007, 04:49 PM   #11
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
The forum rules do not permit advertising. Please visit http://www.linuxquestions.org/advertising/ for more information on advertising. Feel free to contact the forum admin if you have any questions about this policy. You have a link to your site in your signature and that's enough. Link removed, thread closed.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
great solaris website for newbies http://solaris-x86.org/ feetyouwell Solaris / OpenSolaris 2 12-06-2006 01:14 AM
useful website for newbies, etc markus1982 Linux - General 3 07-16-2003 06:05 AM
Newbies BetaPhil Linux - Software 8 05-29-2001 12:44 AM


All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration