LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2007, 05:52 PM   #1
stupeas
Member
 
Registered: Jan 2007
Location: Manchester/U.K
Distribution: Mandriva Free 2007
Posts: 30

Rep: Reputation: 15
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.
 
Old 02-03-2007, 06:03 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

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

Brian
 
Old 02-03-2007, 06:09 PM   #3
stupeas
Member
 
Registered: Jan 2007
Location: Manchester/U.K
Distribution: Mandriva Free 2007
Posts: 30

Original Poster
Rep: Reputation: 15
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 ~]$
 
Old 02-03-2007, 06:23 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 02-03-2007, 06:41 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
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
 
Old 02-03-2007, 06:53 PM   #6
stupeas
Member
 
Registered: Jan 2007
Location: Manchester/U.K
Distribution: Mandriva Free 2007
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 02-03-2007, 07:33 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Glad to see you have it working.

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging on as Root tim1348 Linux - Newbie 6 12-27-2006 06:23 PM
Logging into KDE as root in Mandrake 10.1 CaptainRon Linux - Software 2 04-04-2006 06:34 PM
Logging in to Root NathanCohen2003 Linux - Software 3 07-10-2004 05:11 PM
Logging in as Root DaveyJones Linux - Newbie 3 08-08-2003 03:24 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 03:55 AM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration