You are not logged in.

#1 2005-03-18 20:23:40

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

-bash /etc/profile: permission denied

Not sure what I've done but am getting:

-bash /etc/profile: permission denied
[I have no name!@local]

when logging in on a console with a normal user. 

Root logins fine.

I've checked permissions on /etc/profile & /etc/passwd and compared them with another PC installation.  Nothing obviously wrong.

I've also created a new user but that account has the same problems.

Anyone suggest anything or a am I going to have to give in and reinstall Arch?

Offline

#2 2005-03-18 20:29:31

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: -bash /etc/profile: permission denied

check the permissions on the /etc/profile.d directory and all files it contains...
they should be 644 on everything

Offline

#3 2005-03-18 21:00:56

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: -bash /etc/profile: permission denied

Mine are 755 (on both PCs).

I may have partially solved the problem using:

source /home/user/.bashrc

This now gives a correct login.  However, when starting any window manager, none of the terminals (xterm ,eterm, rvxt) open.  Other apps work fine.

Also, I can't change to vc1-6 using ctrl-alt-F1 until the wm is exited.

Any ideas?

Offline

#4 2005-03-18 21:27:05

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: -bash /etc/profile: permission denied

Rebooting eliminated the outstanding problems.

Whew.... I was getting worried there!

Offline

Board footer

Powered by FluxBB