LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2005, 12:04 AM   #1
sajentyst
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Angry Slackware user accounts


hey whats up people, i got a question. I just installed slackware 10, i have a linux partition and a windoz partition. WHen i log into root it sees my windoz partition, and connects to the internet. But when i log into my user account it does not see anything outside the user directory, and internet does not work, cant get it to work on the user account. I added a user account "assuser" as root and took all defaults when prompted for group and such. Can anyone suggest anything i'm doing wrong, or anything that i should change? I'm thinking it might be a permission problem, but not sure about what to change with it, and what commends will do it. Thanks a lot.
-sajentyst
 
Old 02-11-2005, 07:38 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Okies.. Ill try an help you, but I need some more info..

You are connecting to the internet via broadband, modem or what? Doesnt work as a user.. What do you mean by the internet not working with a user? You mean you cannot do ping / finger / http with a user?

Now, another, what do you mean by "sees the windows partition", a computer cannot see anything, you have to be more specific on that.. If the installation found your partition, it should have asked you for a mountpoint where to mount it. It will be mounted there upon machine bootup. To access it, youll have to look in the mountpoint you gave it in the installation. If you want to be able to modify the stuff in the windows partition with a normal user, youll have to modify your /etc/fstab like this (an example from my fstab):
Code:
/dev/hda5        /windows/G       vfat        rw,umask=0000,exec   1   0
the umask=0000 enables you to use it fully with a user. Do not add this if you have other users who should not get access to the partition.

And the last one. You say you cannot access anything but the home dir with the user. Is this in konqueror or everywhere? If you open up a shell / konsole / whatever you like to call it, as a normal user, and type:
Code:
cd / && ls
You should get a listing of your directory root. Can you do this with a user? If you can, all should be as its meant to be.

Please provide more info so I can be more specific in my help.. (;
 
Old 02-11-2005, 12:17 PM   #3
sajentyst
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
slackware user accounts

thanks for helping out.
i'm connecting via broadband, cable. By saying internet does not work as a user i mean i do not get a signal, browsers dont connect, ping cannot complete, as ifi dodnt have a connection at all. The installation found the partition, and i have it set up as "windoz" on hda1, and a second hard drive that is NTFS "hdd_2" on hdb. When i typed in "cd / && ls" it brought up all the directories, even the ones in the NTFS partition. But when i try to access them it says permission denied. I'm kinda new to linux, especially to slackware, so i'm trying to learn all the commands and stuff for user permissions and everything like that. So my main problem right now is that i can see all the directories that i should see, but i cannot access any of them. Hope you can help, thanks a lot.
 
Old 02-11-2005, 12:33 PM   #4
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Okies, lets deal with the partitions first. If you edit the widows parition info in /etc/fstab by adding to the options list the "umask=0000" option, they will be accesible by all users with full rights. You have to edit fstab as root with an editor. One of the easiest to start with is nano. All you have to do to get to edit it is type as root:
Code:
pico /etc/fstab
This should fix the partition access.

The internet part is a bit more tricky.. Now, the way it normaly works:
The computer starts at boot as root the dhcpcd (dhcp client daemon) and fetches the connection info. Most broadband ISP:s go this way..
Now that the connection has been accomplished as root, it should work for every user equally. What did you mean by signal? Do you have a WLAN? Anyways, if the ethernet card is supported and dhcpcd can get an ipaddress for the computer, the net should work for everyone. Heres some info I ask of you to supply.

As root, type:
Code:
ifconfig
and paste the output here.. This will show all active net connections and their type / other info

Also, any "abnormalities" in your network setup, do you use a proxy, wireless network, external/internal modem, normal ethernet card?
 
Old 02-11-2005, 04:07 PM   #5
sajentyst
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
ok i got some good news, and bad news. I got the internet to work, after i installed the 10.1 slackware version, but i still cant get the permission stuff to work. When i log into root and edit that file, i do not getany more permissions than i had. It told me that i cannot set permissions because it is on a read only disk. I played wit hthat file some more and i got the permissions to set up right, but now when i go into the windoz file i cannot see the contents, it's just blank. So i guess i screwed somethign up. Hope you ahve osme more ideas, i'll keep playing with it and check back here, thanks a lot for the help.
 
Old 02-11-2005, 04:14 PM   #6
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
oh yeah, sorry, I forgot to mention.. After youve set the fstab in order, you have to remount the partitions for it to take effect..
Code:
umount /where/ever/your/mountpoint/is && mount /where/ever/your/mountpoint/is
If the mountpoint seems empty, its probably that you have read permissions to the folder, but not the stuff in it.. Either you can:
Code:
chmod -R blaablaablaa
the R switch will apply the permission recursively to every file and folder under the directory you order it to..
But the smart way is to get the fstab right and remount, after that the permissions will be correct on every boot. FAT and NTFS partitions dont support file permissions, so they wont stick.

Just a note incase you havnt noticed it yet, you can read a NTFS partition, but writing is not possible.. Well, it is, but its damn buggy and _will_ mess up the data. FAT partitions arnt a problem, fully writable..

Hope this helps.. Im off to bed.. (;
 
Old 02-12-2005, 12:00 AM   #7
sajentyst
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
dude you rock, unmounting and remounting the partitions everything works great. Thanks a lot, you set up my system for me. But with that working i found another problem, the biggest reason why i wanted to get to those partitions was for my MP3s, and when i play them in xmms now, i get no sound. When i go to volume control and put the volume up it just drops back down to 0. Is this a problem with my sound card or what? Hope you can help me with this one as well. Thanks for all the otehr help.
 
Old 02-12-2005, 02:25 AM   #8
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Well, have you had sound working before? If not, heres a quick guide to it.

Imho alsa is the best way to produce sound. It works system wide and most applications support it. So these instructions are for that. In KDE I strongly recommend taking off the sound system (arts) from the control panel. It will just mess with alsa.

First as root, run
Code:
alsaconfig
. It will interactively search for your soundcard and make the needed configurations for it. When it asks if you want it to modify the modules, say yes. After the wizard has completed succesfully, just type:
Code:
alsamizer
and adjust the volume levels to your liking. After that:
Code:
alsactl store
This will store the sound settings so they will be loaded at boot. So, at this point your sounds should be working. In xmms you have to access the settings and change the main output plugin to alsa. And last but defrinately not the least, we'll make sure the sound restore at boot works:
Code:
chmod +x /etc/rc.d/rc.alsa
This will make sure it is executable and thus will be executed at boot loading the alsa sound system. If you sometimes have problems with alsa, you can just issue
Code:
/etc/rc.d/rc.alsa restart
 
Old 02-12-2005, 10:52 AM   #9
sajentyst
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
thanks, it all works now, now i can get to setting everything up, i haven't used linux for about 4 years now, but i finally got sick and tired of dealing with windows and decided to just use linux again. Gotta love all the options you get in it, anyway thanks a lot for all the help.
 
  


Reply



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
User Accounts Cool_Hand_Luke Linux - Newbie 6 08-24-2005 08:35 PM
user accounts metallica1973 Linux - Security 2 06-19-2005 05:35 PM
User Accounts kaplan71 Linux - General 1 07-08-2004 01:19 PM
User Accounts MrJoshua Linux - General 3 01-10-2003 08:30 AM
User Accounts petey *BSD 4 09-26-2002 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 AM.

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