LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-17-2004, 03:21 PM   #1
King4lex
Member
 
Registered: Aug 2004
Distribution: Fedora Core 4
Posts: 90

Rep: Reputation: 15
/etc/profile: access denied


Hello,

I was trying to use alien to create an opera slackware packages, when I screwed up my system. I had the opera rpm and I did

Code:
./alien.pl -t opera*.rpm
It gave me a .tgz file. I did 'installpkg opera*.tgz'. No errors, so I thought it was installed correctly. When I tried 'opera', it said that opera was an unknown command. So I thought, oh well, I'll figure it out some other time and I did 'removepkg opera*' and removed the opera package. Appereantly somewhere during this time I messed up because when I tryed to run another program, it would always say it was an unknown command. I started to get nervous, so I rebooted. After rebooting I tryed to login. After entering my password, it tells me that bash cannot be loaded because /etc/profile cannot be accessed (permission denied). Thus I cannot run any programs (I suspect that opera really was installed before, just I could not run it because that was the point that bash got messed up). Logging in as root works fine.

What do you think happened? How should I procede? I would just delete the account and make another one, but I want to make sure that nothing else is messed up. Is there any way to make sure everything else is fine?
 
Old 09-17-2004, 03:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Alien has done strange things to my slack, I made the mistake
of using it only twice ;)

I'd recommend that you become root, and reset the perms
on files and directories that the package created by looking
at the log /var/log/packages/opera*
and using MANIFEST.bz2 on the slackware CD to
restore them. Re-creating the user won't change the
permissions on /etc



Cheers,
Tink
 
Old 09-17-2004, 05:06 PM   #3
Buto
Member
 
Registered: Sep 2004
Location: So Cal
Distribution: Slackware 12
Posts: 60

Rep: Reputation: 16
what is alien?
 
Old 09-17-2004, 06:38 PM   #4
King4lex
Member
 
Registered: Aug 2004
Distribution: Fedora Core 4
Posts: 90

Original Poster
Rep: Reputation: 15
Alien is a program that (attempts) to convert between different Linux package distribution file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.

alien website:

http://kitenet.net/programs/alien/

@Tinkster: ok, I'll try that.

Last edited by King4lex; 09-17-2004 at 06:41 PM.
 
Old 09-18-2004, 07:44 AM   #5
King4lex
Member
 
Registered: Aug 2004
Distribution: Fedora Core 4
Posts: 90

Original Poster
Rep: Reputation: 15
Alright! It worked! Thx a bunch!
 
Old 09-18-2004, 02:15 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
No worries ;)


Cheers,
Tink
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: /etc/profile: Permission denied Zero-0-Effect Linux - General 3 03-28-2005 04:47 AM
bash: /etc/profile: Permission denied Kanon Linux - Newbie 4 01-21-2005 08:01 AM
access denied crossfire_mania Linux - Software 2 01-28-2004 07:14 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
bash: /etc/profile: Permission denied madmax Linux - General 15 07-20-2003 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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