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 desktop dns driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop lcd malware memory monitor motherboard netgear network printer problem ram registry router slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Create use with root privileges.

Reply  
Thread Tools
JonathanAnon's Avatar
Account Disabled with 531 posts.
 
Join Date: Dec 2004
Experience: Advanced
26-Aug-2006, 12:22 PM #1
Create use with root privileges.
I need to create a user account that has the same privileges as the root user. How can I do this.
zxcvbnm's Avatar
Junior Member with 14 posts.
 
Join Date: Aug 2006
26-Aug-2006, 03:36 PM #2
What Distro are you using?
JonathanAnon's Avatar
Account Disabled with 531 posts.
 
Join Date: Dec 2004
Experience: Advanced
26-Aug-2006, 05:20 PM #3
Redhat Linux Fedora 4
Anakrino's Avatar
Junior Member with 28 posts.
 
Join Date: Aug 2006
26-Aug-2006, 05:48 PM #4
It's been a while but, if I remember correctly, if you edit /etc/passwd and change the user's user id number to zero (like root) they'll have all of root's privileges.

Jacob
Regicide's Avatar
Member with 308 posts.
 
Join Date: Aug 2003
Experience: Advanced
26-Aug-2006, 09:44 PM #5
I would recomend that you use the command 'su' which will make the current user have root privliges.
utanja's Avatar
Computer Specs
Member with 312 posts.
 
Join Date: Oct 2003
Location: Europe:Salzburg Austria;USA:Fl
Experience: a little education can be
27-Aug-2006, 01:02 AM #6
Quote:
Originally Posted by Regicide
I would recomend that you use the command 'su' which will make the current user have root privliges.

ditto...
Anakrino's Avatar
Junior Member with 28 posts.
 
Join Date: Aug 2006
27-Aug-2006, 02:06 AM #7
I guess it depends on what you mean. If you just need an account to be able to run some programs as though they were root you could use the sudo command. Then they wouldn't need to know root's password.

Jacob
Squashman's Avatar
Trusted Advisor with 18,705 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
28-Aug-2006, 08:29 PM #8
SUDO is the best solution to this problem. This way you can log everything that is done with any of your SUDO users.
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 08:25 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.