There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet java laptop malware memory missing monitor motherboard mouse music network obp printer problem ram registry router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Root !!

Reply  
Thread Tools
Mickey200123456's Avatar
Member with 41 posts.
 
Join Date: Feb 2002
Location: USA
06-May-2003, 07:56 PM #1
Question Root !!
Beside logging in as root is there a way I can make myself root. I know the dangers(could it be more dangerous the logging into admin all the time with win2k ?)behind this and am just curious to know if it is possible to do with out logging in as root when asked . I have Redhat 9 btw.
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
06-May-2003, 08:45 PM #2
You can assign root permissions to regular users for specific programs through the sudo utility.Here is more about it.
lynch
Mickey200123456's Avatar
Member with 41 posts.
 
Join Date: Feb 2002
Location: USA
06-May-2003, 11:10 PM #3
Thanks, that sounds like what Im looking for.
Mickey
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
07-May-2003, 01:48 AM #4
You can also use the su command to become another user (including root). You can execute the login procedure of another user by using: su - username (you will be prompted to supply their password). You can become another user, without executing their login procedure, by using: su username (you will be prompted for their password). Yes, the "-" character makes all the difference.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
Squashman's Avatar
Trusted Advisor with 18,703 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
07-May-2003, 03:10 AM #5
Even if you install Sudo, you still have to change the permissions on SU. We found this out last semester in class. But sudo is definitely the way to go. This will help you track what admin did what if they screw something up.
singman's Avatar
Member with 32 posts.
 
Join Date: Mar 2003
Location: Tucson, Az
07-May-2003, 05:15 AM #6
Quote:
could it be more dangerous the logging into admin all the time with win2k
Yes it can be much dangerous then logging in as admin on a 2k pro box. with Unix/Linux all it takes is simply adding a space where you dont want it and you can delete the entire hdd.

lets say you wanted to delete all files that have .text on the end. you wound run the command rm *.text. lets say that you acidently hit the space key between the '*' and the '.' so you end up with the command rm * .text you would get the message file not found if you are loged in as root. this is because it interprited the space as a seperator char so it deleted everything and then tried to delete the file .text. you would not get any warning messages that you are about to delete everything either.

can you see how it can be dangerous to be loged in as root all the time?
__________________
Windows 2000 Pro
AMD Athlon 1.33 GHz
60 GB WD HDD
Creative SB Live
ATI Radeon 8500

http://www.historykill.com/index.asp?filename=2132

If this helped you, please take the time to rate the value of this post:
http://rate.affero.net/dragon857134/
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:59 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.