1. users can't login bash: /etc/profile: Permission denied
After some weeks battling with this problem, reading every
man page and howto I can find, this daft unix newbie is still
struggling. So here's one for all you unix gurus out there.
Linux was installed with an old slackware distribution, i'm
not sure of the version, but the kernel was 1.0.9; since
upgraded and then patched to 1.2.5
A collegue with a similar pc, the same slackware cd,
and linux upgraded and patched to 1.2.2 has never experienced the
problem, which is this:
Create a user using either useradd or the script adduser, switch
to another console (or the amiga set up on ttyS3), attempt to
login as said user gives the following result.
:--------------------------------------------------------------
heaven login: jesus
Password:
Last login: Fri Apr 21 14:22:08 on ttyS3
Linux 1.2.5. (Posix).
-bash: can't load library '/usr/lib/libc.so.4'
Permission denied
bash: /etc/profile: Permission denied
bash$
:--------------------------------------------------------------
We've checked the permissions, owners etc on /etc/profile and the
sybolic link that is /usr/lib/libc.so.4, these are the same
on both my (incapacitated) machine and my collegues machine.
Apart from obvious differences between our two installations,
/etc/passwd /etc/inittab and all the other files I can think
of looking at to try and track down the problem, are as
similar as can be expected ... at least to my un-uni(x)ified
eye.
su grants access, and pwd says i'm in the home directory
defined in /etc/passwd, i'm clearly running /bin/bash,
so the login is true to the contents of the /etc/passwd file.
exit from su, puts me back in bash$ (whatever that is), and i'm
pretty much incapacitated. root on another console running ps
shows the non-root user to be running bash.
Tried agetty and getty - both work for root, results in the
above failure for any other user.
The only major differences between the two systems described
is that mine has SCSI compiled into the kernel, whereas my
collegues doesn't. (not that this is going to make any
differece I guess)
If any more information is required, please ask for it!
in short .... help.
Cheers
Jason
--
mFifteen design
Manchester Metropolis :: connected
http://www.u-net.com/heaven/home.htm (under construction)
2. A simple Problem (?) with HTTPd
3. REDHAT"S ROAMING PROFILE..Permissions Problems
4. How can these clowns sell this crap
5. '/etc/profile' file permission
6. CERN httpd 3.0 - accessing page without having to enter ".html" extension
7. ksh not reading /.profile or /etc/profile
8. vi clone compiling under LinuxPPC
9. Profile/.profile/.bash_rc/et al.
10. Telnet login doesn't run /etc/profile or $HOME/.profile
11. /etc/profile or $HOME/profile
12. cmdtool doesn't source /.profile or /etc/profile
13. KDE won't start if my .profile or /etc/profile has stty commands