LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-499117/)

Outcast 11-06-2006 09:48 AM

Permissions
 
Hi.

It's been a fair while since I used the debian install on my Amigaone (dual boot that got borked after installation of sii card) so I cant remember most of what I learned.

So whats da prob ?

Ok.. I installed debian on the father in laws computer and he kinda likes it (dual boots with ... XP) but he wants to run his BOINCS clients on it.

Thats problem Numero Uno !! (worry about that one later)



ok.. After hitting google I found some sources. So..

I SU in a cli and fire up Kwrite to edit sources.list with the needed urls etc. But on saving out I'm given the "You dont have root permissions... Tuff shyzer" spiel ?? Ok.. Maybe I dont ?? So...




How do I get the key to the golden crapper ?


:-)

va1damar 11-06-2006 10:08 AM

well, you get root permissions by switching over to the root user (or having someone do it for you). You'll need the root password, of course. Then you'll probably just want to make changes to the file as root (alternativly, you could change the owner (chown) to something more convienent, but there may be a reason that file is owned by root).

lord-fu 11-06-2006 10:21 AM

su to root then edit the file using vi or vim or nano or .. save when done and its all good.

Outcast 11-06-2006 10:42 AM

nano .. That was the name of the damn editor I used to use !!


Thanks for help guys, I will give that a thrash.

btw.. surely SU'ing in a cli makes you root ? I have to enter the root password !!

Also found out there is no root login in kde in this install. I found out how to suss that out.

Quote:


open file manager super user mode

enter root password

go to /etc/kde/kdm

click on file kdmrc and it will open in kwrite

select edit > find

in the text to find box type allowrootlogin and uncheck case sensitive > click find

change the word false to true

it should now look like this AllowRootLogin=true

also check the section beginning [X-*-Greeter] if you have an entry HiddenUsers=root just delete the word root so it reads

save and exit, when you next reboot root login will be shown

--------------------------------


Just in case anyone else is having these kind of problems.

I wont be going round the Father in Laws till thursday so I will let you all know what happnes !!


( this is all good practise as I downloaded a 4.4 gb x64 debian image last week. Gonna get a new Hard drive and dual boot my PC )


All times are GMT -5. The time now is 05:42 AM.