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


Reply
  Search this Thread
Old 07-02-2008, 11:17 PM   #31
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

That wasn't onebuck - it was jschiwal
 
Old 07-02-2008, 11:41 PM   #32
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Quote:
Originally Posted by Mr. C. View Post
I quoted your statement. It is there in black and white. Futhermore, you state: "This can prevent and [sic] alias or bogus command in your regular PATH from being executed by mistake". Since aliases do not survive into a forked process, no alias can present an risk. Aliases only exist in your current shell, and must be recreated anew in each new shell. And finally, if you have a "bogus" command in some directory listed in your own PATH, sudo does not protect against that command from running in default sudo installations on various distributions.

I'll put it another way - sudo is *not* configured so that you need to enter full paths to commands, nor is it configured by default in "most distros" to offer any of the protections you claim.

I personally don't care what you chose to believe. I prefer to explain to user's how the system *really* works, and not provide cock-n-bull, FUD, and misinformation.
I did not say anything about PATH! You are referencing someone else. I have not provided cock and bull nor misinformed anyone. You are comparing posts that I did not submit. The information that I quoted was from the man pages. When I was speaking about forked it was relative to the distribution fork not anything else.

You are referring to 'jschiwal' post #20 and the quote that I made in post #26 to reference what you stated about me. I did not make those statements so get off the high horse. Your the mistaken one here and you should correct the misinformation that you create by not following the posts within the thread. Read the thread again and see the light. Enough said.
 
Old 07-02-2008, 11:44 PM   #33
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Ah, I see. Onebuck got in the middle with a challenge to my response to "jschiwal":

Quote:
Originally Posted by Onebuck
Quote:
Originally Posted by Mr. C.
There are no such restrictions on my distros. What restrictions are enabled on yours?
Maybe you don't have things setup properly.
That and the man page blast to me implied disagreement. I naturally assumed it was the same poster.
 
Old 07-02-2008, 11:56 PM   #34
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,
Quote:
Originally Posted by Mr. C. View Post
Ah, I see. Onebuck got in the middle with a challenge to my response to "jschiwal":


That and the man page blast to me implied disagreement. I naturally assumed it was the same poster.
Apparently you don't read for completeness.

You placed me in the middle, no excuse since I continued to state that you weren't quoting me.

If you think that I blasted you because of the man pages then I'm sorry.

You were not following the thread completely. You continued to challenge me when I even stated that I had not said what you presumed was said by me. You were wrong about my statements and the posts that were made by me. As I said before you read into the post what you wanted. No implications were made by me.

Naturally assuming something doesn't fit!

Last edited by onebuck; 07-02-2008 at 11:57 PM.
 
Old 07-03-2008, 12:11 AM   #35
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
What was the point to your original statement if not to be contrary?
 
Old 07-03-2008, 12:17 AM   #36
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

If you think that was contrary then so be it. Enough said!
 
Old 07-03-2008, 12:23 AM   #37
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
You know, I asked you simple question. As asked what was your point. You haven't answered a single question based on good faith, or try to clear up misunderstanding. I'll give you the last word on this. I can see you have no interest in being reasonable or understanding.

best of luck in life.
 
Old 07-03-2008, 12:33 AM   #38
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

You are calling the kettle what color now? I have no reason to continue with your form of questions or posts. I have nothing to smooth out with you nor wish too. You seem like you want to continue to debate. I don't.

I've attempted to clarify you haven't. You come across now as the one who hasn't done a thing wrong here. You were wrong and cannot accept that.

I've wasted all the time I wish on you. Best of nothing to you.

BTW, I will remove myself from this thread.
 
Old 07-03-2008, 12:52 AM   #39
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Back in your corners boys - bell's gone
 
Old 07-04-2008, 05:38 AM   #40
sky rulz
Member
 
Registered: Jun 2008
Posts: 40

Original Poster
Rep: Reputation: 15
hai Mr. C.

my Shell throws up an error like command not found.
 
Old 07-04-2008, 05:44 AM   #41
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
That is because you do not have /sbin in your path. Its not a function of sudo - its a function of your PATH.

$ bash
$ PATH=$PATH:/sbin:/usr/sbin
$ sudo fdisk
$ exit
$
$ bash
$ $ PATH=$PATH:.
$ cd /sbin
$ sudo fdisk
$ exit
 
  


Reply


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
sytem hangs up after giving init0 command rhea Linux - Networking 14 01-27-2006 04:30 AM
unable to create files using touch command on remote Win2003 sytem using samba xylo Linux - Networking 4 07-15-2004 11:59 AM
fdisk command - can't get it to work!! sknarf Linux - Software 4 06-23-2004 02:59 AM
fdisk command thefetus Linux - Newbie 5 11-19-2003 03:15 PM
fdisk not a command? toob Linux - Newbie 11 04-26-2003 11:56 PM


All times are GMT -5. The time now is 07:00 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