Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Misc > How do you give a user root access?

Forgot Password?
 Misc   Any questions or Linux discussion that does not fit in any of the other technical areas.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-16-2003   #1 (permalink)
Just Joined!
 
Join Date: Jan 2003
Posts: 36
How do you give a user root access?

OK. Well, I finally got around to installing Linux (SuSe 8.1) again, and it is working great. It dual boots with WinXP perfectly, and I did the thing where you mount the windows partition to get access to it from the linux partition. Anyways, to edit certain files and do other things, they require a higher permissions setting. I only have one account on my box, and i gave it access to everything, but it doesnt have write permissions for a lot of things. any ideas how to give my account totally access?
SuReKiLL is offline  


Reply With Quote
Old 03-16-2003   #2 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
The entire idea with a normal user account is to not have complete access to everything. If that's what you want, you can just as well log in as root directly. There are several reasons not to do that, though, among others that normal user software usually isn't as secure as what is normally requried by root access, meaning that if someone hacks into a user utility, like gaim, over the internet when you're logged in as root, they can trash your entire system.
Dolda2000 is offline   Reply With Quote
Old 03-16-2003   #3 (permalink)
Linux User
 
Join Date: Feb 2003
Location: Norway, Asker
Posts: 267
Send a message via ICQ to l_Kriss
in /etc/passwd, set the uid and gid to 0. should look something like this:

Code:
user:x:0:0::/home/user:/bin/bash
but listen to dolda, running root is not an good idea. switch from normal user to root with

Code:
su -
if you need rootprivilegies some times
l_Kriss is offline   Reply With Quote
Old 03-16-2003   #4 (permalink)
Linux Engineer
 
Join Date: Jan 2003
Location: Lebanon, pa
Posts: 994
I would just use sudo if you need to do anything with root.
genlee is offline   Reply With Quote
Old 03-16-2003   #5 (permalink)
Just Joined!
 
Join Date: Jan 2003
Posts: 36
Thanks for the help. Just another quick question. As I stated earlier, I did the thing where you can access files on the ntfs partition. Now, I want to access my mp3 collection on that partition. When using XMMS and navigating to the folder on the ntfs where the mp3s are stored, it says that it does not have permission to access those files. Any ideas how to let XMMS access the mp3s?
SuReKiLL is offline   Reply With Quote
Old 03-16-2003   #6 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
Mount the NTFS partition with the mount option "umask=222".
Dolda2000 is offline   Reply With Quote
Old 03-17-2003   #7 (permalink)
Just Joined!
 
Join Date: Jan 2003
Posts: 36
thanks for all the help. everything is working fine now.
SuReKiLL is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:36 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2