LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-08-2005, 11:44 AM   #16
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63

Where are you copying it to and why? As you said before you can create a new user but the user can't login. It'll help if you can get the exact bash errors and post them. Maybe the users can't find those executables because they're not in the path. Open /etc/profile and see what the PATH variable is set to.
 
Old 10-08-2005, 07:31 PM   #17
Influx
LQ Newbie
 
Registered: Sep 2005
Location: Canada
Distribution: Slackware 10.2
Posts: 27

Original Poster
Rep: Reputation: 15
Before anything, I had the problem logging in as a user. So I thought it might have been disk space being a problem again, so I formatted again, and made a new partition, moved the homecomp user to the new partition, then added in fstab the new drive

/dev/hda3 /home ext2 defaults 1 2



Still the same problem, so I login to the console, and it gives these errors:

-bash: id: command not found

-bash: fortune: command not found

-bash: id: command not found



when i echo $PATH it gives me
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/bin:.

in /etc/profile:
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"

I'm quite perplexed by this problem... Maybe is it that users can't access the drive? I assume because I copied the fstab entry for my primary partition and changed it accordingly that it would allow all users to access it.

Also here's something from ~/.xsession-errors:


Quote:
/etc/profile: line 22: id: command not found
/etc/profile: line 87: id: command not found
kde-config: error while loading shared libraries: libart_lgpl_2.so.2: cannot open shared object file: Permission denied
/opt/kde/bin/startkde: line 76: tr: command not found
/opt/kde/bin/startkde: line 142: xset: command not found
/opt/kde/bin/startkde: line 145: xset: command not found
/opt/kde/bin/startkde: line 148: xset: command not found
/opt/kde/bin/startkde: line 158: xsetroot: command not found
startkde: Starting up...
kreadconfig: error while loading shared libraries: libart_lgpl_2.so.2: cannot open shared object file: Permission denied
kreadconfig: error while loading shared libraries: libart_lgpl_2.so.2: cannot open shared object file: Permission denied
ksplash: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: Permission denied
kdeinit: error while loading shared libraries: libart_lgpl_2.so.2: cannot open shared object file: Permission denied
startkde: Could not start kdeinit. Check your installation.
/opt/kde/bin/startkde: line 221: xmessage: command not found
Warning: connect() failed: : No such file or directory
ksmserver: error while loading shared libraries: libart_lgpl_2.so.2: cannot open shared object file: Permission denied
dcop: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: Permission denied
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
artsshell: error while loading shared libraries: libesd.so.0: cannot open shared object file: Permission denied
startkde: Running shutdown scripts...
startkde: Done.



Thanks again for the help


Last edited by Influx; 10-08-2005 at 07:34 PM.
 
Old 10-08-2005, 10:46 PM   #18
Influx
LQ Newbie
 
Registered: Sep 2005
Location: Canada
Distribution: Slackware 10.2
Posts: 27

Original Poster
Rep: Reputation: 15
i chmod'ed /usr (recursivly) so that owner can rwx, group can rx and others can rx... And it got me working again. is this safe practice? I have no idea if I just opened my door to virii and other bad practices.
 
Old 10-09-2005, 10:09 AM   #19
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Being a permissions problem I would call that a "quick and dirty" fix. Since all the programs and files that the users couldn't access were in various subdirectories of /usr this works. But there's many other subdirectories and files that might've been set at something more like 770, 664 or even 660 - things that only needed to be read like readmes, global configs and libraries. With 755 there's probably not a lot of virus threat (not much exists in the linux world anyway ) since only the files' owner has write permission.
 
  


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
Can't log on as ROOT and go to GUI checho4 Mandriva 5 08-17-2005 05:58 PM
Users can't log in unless part of the root group jeffreybluml Linux - Newbie 3 12-02-2004 07:24 PM
non-root users can't log in (RH9) skullmunky Linux - Security 1 11-17-2004 11:41 AM
Can't log into GUI with root Oeli Linux - Newbie 5 11-28-2003 09:10 AM
How to log in (root) without GUI thenewbster Mandriva 4 09-20-2003 03:44 PM

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

All times are GMT -5. The time now is 08:18 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