LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-10-2004, 02:12 PM   #1
leemoreau
Member
 
Registered: Jan 2004
Posts: 48

Rep: Reputation: 15
User permissions and GDM


Hey everyone. Wow, I just installed slack after trying almost every other distro and all I have to say is that I LOVE IT! It's so good and everything works better than any other system I've tried. The only question I have is that I created a normal user account with the adduser command. However, if I mount my NTFS drive, I can't view it as this user, only as root, it says permission denied. How do I change that so that I am an administrator? Also how do I set GDM to start when the PC boots up instead of the text based installed? Thanks so much.
 
Old 02-10-2004, 02:41 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
You could always do sudo su and then mount the partition. or change /etc/fstab- search here and you'll find a recent thread that eyplains how to set that up. To boot to a graphical login you need to edit /etc/inittab. Edit the line that says:
id:3:initdefault: change the 3 to 4
However this is not a good idea unless you have a rescue flopy handy. If you have problems in X, using runlevel 4 will leave you in a loop where you may not even be able to logout and sutdown in which case you have to hit the power button. If you are using ext2 file system, you#ll probably only recover from this once or twice. reiser file system always seems to be able to recover.
It's not as elegant but much safer to boot into the CLI (Command Line Interface)
 
Old 02-10-2004, 02:47 PM   #3
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
edit your /etc/fstab, here's mine for example :

/dev/hda1 /mnt/winxp ntfs ro,umask=0222,gid=wheel 0 0

hda1 is my ntfs drive and i made a directory "winxp" in /mnt

edit your inittab and change the default run level to 4, here :
id:4:initdefault:

hope it helps !!
 
Old 02-11-2004, 10:08 AM   #4
leemoreau
Member
 
Registered: Jan 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Hey I changed my fstab but it still doesn't work. Someone told me it should be umask=222 others umask=6422, and that I need to add a ,users part to it. When I type mount /dev/hda1 under root it still mounts fine. Before as a normal user I couldn't switch into the /mnt/hd directory it would say permission denied. Now it lets me switch in but if I do a ls, it says ls: permission denied! What am I doing wrong?
 
Old 02-11-2004, 12:36 PM   #5
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
Quote:
Originally posted by leemoreau
Hey I changed my fstab but it still doesn't work. Someone told me it should be umask=222 others umask=6422, and that I need to add a ,users part to it. When I type mount /dev/hda1 under root it still mounts fine. Before as a normal user I couldn't switch into the /mnt/hd directory it would say permission denied. Now it lets me switch in but if I do a ls, it says ls: permission denied! What am I doing wrong?
I did exactly as above and it works !!
 
  


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
GDM: one login per user Pastorino Linux - Software 2 05-10-2005 01:19 PM
gdm probs, missing user bosewicht Linux - Newbie 1 03-20-2005 10:07 AM
KDE user wants gnome GDM login. qwijibow Slackware 11 07-04-2004 09:34 AM
allow non-root user to start gdm kc8tbe Linux - General 5 10-21-2003 09:49 AM
gdm login with normal user (gentoo) wi-Z-art Linux - General 0 10-18-2002 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:06 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
Open Source Consulting | Domain Registration