LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   logging in KDE as root (https://www.linuxquestions.org/questions/linux-newbie-8/logging-in-kde-as-root-525335/)

stupeas 02-03-2007 04:52 PM

logging in KDE as root
 
Im trying to access my NTFS partitions on my dual boot (Mandriva 2007). when i go to the file manager I see them as file manager to /mnt/win_c, /mnt/win_c2, and /mnt/win_d. But when i click on them it says i dont have access. Is this something to do with root. If so how do i log into KDE as root. I tried using "root" as username but it said KDE does not allow root logins.

Brian1 02-03-2007 05:03 PM

Now more than likely it is the way they are mounted.
Are they automounted on boot?
Post contents of /etc/fstab

Brian

stupeas 02-03-2007 05:09 PM

Quote:

Originally Posted by Brian1
Now more than likely it is the way they are mounted.
Are they automounted on boot?
Post contents of /etc/fstab

Brian

when i tried your command it didn't work (dont know if thats got anything to do with anything, but thie one below did.

[stuart@MAIN ~]$ cat /etc/fstab
/dev/hda5 / ext3 defaults 1 1
/dev/hda7 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto users,iocharset=utf8,noauto,ro,exec 0 0
/dev/hda1 /mnt/win_c ntfs nls=utf8,ro 0 0
/dev/hdb1 /mnt/win_c2 ntfs nls=utf8,ro 0 0
/dev/hda2 /mnt/win_d ntfs nls=utf8,ro 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
[stuart@MAIN ~]$

Tinkster 02-03-2007 05:23 PM

Quote:

Originally Posted by stupeas
I tried using "root" as username but it said KDE does not allow root logins.

And that's a good thing. Working as root is one of the
silliest (or dumbest) things one can do, specially using
GUIs. Given the lines in fstab that refer to your NTFS
partitions you could add uid=<your numeric userid> to
the bit with "nls=utf8,ro", like so
nls=utf8,ro,uid=1001 (or whichever number your user
has on your system).


Cheers,
Tink

Brian1 02-03-2007 05:41 PM

I did not list a command did I?

To allow any user you can use the option umask=000 in the fstab for the lines related to ntfs.

Brian

stupeas 02-03-2007 05:53 PM

Quote:

Originally Posted by Brian1
I did not list a command did I?

To allow any user you can use the option umask=000 in the fstab for the lines related to ntfs.

Brian

Sorry Brian, no you didnt, my fault.

Problem solved.

Thanx for your help guys.

Brian1 02-03-2007 06:33 PM

Glad to see you have it working.

Brian


All times are GMT -5. The time now is 05:52 PM.