QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Gaming > Sony PlayStation 3 > PS3 Main > PS3 Linux
The above video goes away if you are a member and logged in, so log in now!

permissions

This is a discussion on permissions within the PS3 Linux forums, part of the PS3 Main category; hey im running gentoo and i need help how do i get my user account to do everything the root ...

Reply
 
LinkBack Thread Tools
Old 07-19-2008, 04:39 PM   #1
 
Join Date: Aug 2006
Posts: 3
Trader Feedback: 0
Default permissions

hey im running gentoo and i need help how do i get my user account to do everything the root account can do, read write files etc.
nickio1230 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-19-2008, 08:10 PM   #2
 
Join Date: Jan 2006
Posts: 56
Trader Feedback: 0
Default

i think it may be the same as ydl got to terminal and type
su password or su root password
password being your roots.i cant remeber which one i instaled just as root so dont have to bother doing that
Brainbeat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-19-2008, 08:21 PM   #3
No longer a community member.
 
Join Date: Dec 2005
Posts: 22
Trader Feedback: 0
Default

It's unwise to give a normal user full root access, because it is very easy to destroy your entire system with one bad command. Therefore, you should run commands as root only when you have to.

There are two easy ways to do this.

The most direct way, but not the most convenient way is to login as root.
Code:
$ su -
Password: [enter root password]
# whoami
root
Another way is to use sudo. Using sudo, you don't have to login to run one command, it essentially allows you to run commands as root without the hassle. You don't need to enter your password as often either. On gentoo, you may need to install this first, I'm not quite sure.
First, you must set sudo up first:
Code:
$ su -
Password: [enter root password]
# visudo
You will be presented with vi which you will use to edit the sudoers file. Scroll down to the line after
Code:
# User privilege specification
root ALL=(ALL) ALL
Press the 'i' key. You are now in 'insert' mode. Enter the following line
Code:
[user name] ALL=(root) ALL
Press enter, and ensure you entered the line correctly. Press the Escape key, and then type the following characters:
Code:
:wq
And press enter.

Now, you can use sudo whenever you want:
Code:
$ sudo whoami
Password: [enter root password]
root
$ whoami
[user name]
$ sudo whoami
root
* Notice the second time you didn't need the root password . If commands are entered close enough together time wise, then you save time by not having to type your password constantly.
Hardrive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-19-2008, 08:39 PM   #4
 
Join Date: Jan 2006
Posts: 56
Trader Feedback: 0
Default

yeah ive heard that also but seem as im only installing a few wmulators if it goes wrong i can allways start a fresh just backup them save files
Brainbeat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-19-2008, 08:48 PM   #5
No longer a community member.
 
Join Date: Dec 2005
Posts: 22
Trader Feedback: 0
Default

It's just good practice. Besides, it would take you a long time to recursively give a user permissions to every single file on the hard drive. It my seriously mess up your system too...

Just stick with su or sudo.
Hardrive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-19-2008, 08:54 PM   #6
 
Join Date: Jan 2006
Posts: 56
Trader Feedback: 0
Default

to be fair i just read the linux faq and i have to agree if i had done all that work i wouldnt be root now lol. by the way its outdated you can do windows 95,98 and xp on ydl with qemu then wine google bodega downloads, he makes custom rpms including a very fast snes9x gtk
Brainbeat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
permissions

Thread Tools

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



All times are GMT -8. The time now is 08:56 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us