LinuxQuestions.org
Visit Jeremy's Blog.
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-25-2003, 10:15 PM   #1
headshot
Member
 
Registered: Jul 2003
Location: Texas
Distribution: Slackware 9.0
Posts: 35

Rep: Reputation: 15
can someone explain one thing...


okay, yesterday I installed RH7.3 and just did all my activities in root, which I learned is a bad thing to do so I created a user file for myself. Now, my question is: Whenever I was using the root identity any console command would work, of course.

But in my new personal profile, even if I su and switch over to root simple commands like 'setup' or 'shutdown -r now' no longer work. It's kinda annoying and I haven't been able to find out how to correct the problem. Can someone plz explain to me how I can get things as simple as 'shutdown' to work in my personal profile?
 
Old 07-25-2003, 10:19 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
you'll have to use sudo...
you can read up on it to learn more about it, but you'll have to make an entry in your /etc/sudoers file to give your normal users access to theses "root" commands..
 
Old 07-25-2003, 10:34 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Which do you use?

su

or

su -

"su -" makes you root, and loads root's environment variables (the PATH is probably most important to you). A normal account does not include /sbin or /usr/sbin in the path as those are system administration commands. So, if the shell claims that it can't find the executable, that's the problem.

If the programs are failing then it's something else entirely.
 
Old 07-26-2003, 12:23 AM   #4
Eudyptes
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE 8.2
Posts: 3

Rep: Reputation: 0
Another option (love linux for options) is to go to another "terminal" and do your root stuff. If you're running a GUI (KDE, GNOME, ICEVM, etc) press Ctrl-Alt-F1 (or F2, F3, etc) to move to another terminal. You can log in there as root (or anyone else, for that matter) and do what you need to do.

I'm not familiar with RH7, but most distos I've seen have the default GUI at Ctrl-Alt-F7, to get you back to KDE/GNOME/Whatever.
 
Old 07-26-2003, 04:27 AM   #5
lukas_z
LQ Newbie
 
Registered: Jul 2003
Location: Czech Republic
Distribution: Mandrake 9.1
Posts: 18

Rep: Reputation: 0
Make sure that the "shutdown" program has access permissions such that it is executable by you, and make sure you have corresponiding path in your environment (or call it using the full path i.e. "/usr/sbin/shutdown" or wherever your "shutdown" is, you can find it with "find / -name shutdown").

Last edited by lukas_z; 07-26-2003 at 04:30 AM.
 
Old 07-26-2003, 07:12 AM   #6
headshot
Member
 
Registered: Jul 2003
Location: Texas
Distribution: Slackware 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
thanx dark helmet, that - after su was causin all my frustration. Now everythihg is back to normal
 
Old 07-26-2003, 08:24 AM   #7
Medic6666
Member
 
Registered: Mar 2003
Location: London, UK
Distribution: RedHat 9.0 + Win2k not dual boot
Posts: 73

Rep: Reputation: 15
just curious??

why did you install 7.3 when there is 9 out now?
 
Old 07-26-2003, 10:34 PM   #8
headshot
Member
 
Registered: Jul 2003
Location: Texas
Distribution: Slackware 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
i already have the 7.3 CD's and just didn't want to d/l the rh9 cuz my connection isn't all that fast (avg. 18.0kb/s), and i just didn't want to wait that long.

But out of curiousity, what does it have that is missing on 7.3? I might consider getting it if it is a big emprovement.
 
Old 07-27-2003, 01:52 AM   #9
Medic6666
Member
 
Registered: Mar 2003
Location: London, UK
Distribution: RedHat 9.0 + Win2k not dual boot
Posts: 73

Rep: Reputation: 15
Lots

There are lots of bug fixes, hardware support, New KDE....etc....

There is also the fact the Redhat only support there versions for about a year then they stop the support.

This means that there will be updates for your version but 9 will be updated for another 11months'ish.


Medic6666
 
Old 07-27-2003, 02:05 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
IMNSHO WRT RH9 (how's that for a working string of acronyms ):

RH8 and RH9 seemed to me to be the time that RH started trying to aim more at eye candy than anything else. I tend to believe that RH 7.3 is about the ending point of a solid, good, not so "I'm afraid to include X in this release" or "I need to make this look extremely different so no one can know what it really is" release. 7.3 was also the turning point when (again to me) RH started going more commercial. That's neither good nor bad, it's just something I believe was the turning point.

8 and up also seemed to jump versions very quickly just so they didn't have an inferior version number to Mandrake. That's not saying much other than they feel competition.

Now I know I'll get A LOT of slack for this next illustration, but it's my non-RH using personal oppinion and could easily be VERY incorrect:

7.3 <---- Aimed at adults, more mature, more specifically, the CLI crowd 'types'.
"Patty Cake" Version, aimed to please the newbies (but not very well...) expects little to no linux knowledge (yet doesn't provide enough help in doing so) -----> 8 and up

Again, I don't use RH and haven't since 7.2 (which was only for a short time then too) so I hope my personal opinion holds little to no weight on anyone's opinion or ideas about RH

Cool
 
Old 07-27-2003, 05:13 AM   #11
Medic6666
Member
 
Registered: Mar 2003
Location: London, UK
Distribution: RedHat 9.0 + Win2k not dual boot
Posts: 73

Rep: Reputation: 15
MMMmm

I still do most of my stuff in Command Line but the GUI makes it more enjoyable and there is still the fact that 9 has a lot of fixes that the other did'nt.

When I had 7.3 there was problems I have installed 9 on the same machine and there are no problems. This means they must have fixed something.

There is also the case that I work in PC Support all day and when I get home I dont want to use Windows, but at the same time dont want to spend all my time trying to fix my linux pc.

The GUI makes it all easier and I still have the option to play command line when I want to....


Just my little bit.
 
  


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
Someone explain this "mounting" thing to me. Nobel Linux - Newbie 4 05-16-2005 02:24 PM
Can Anyone Explain This? Tuzinor Linux - Hardware 8 10-27-2004 10:47 PM
Can someone explain me what this is? hemmelig Linux - Software 3 10-14-2004 06:16 PM
please someone, do explain this to me... Tisch Slackware 4 01-17-2004 10:37 AM
Help - Someone Explain this Permissions Thing linuxnewb123 Linux - General 3 06-29-2003 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

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