LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-20-2004, 04:12 PM   #1
gopikrish
LQ Newbie
 
Registered: Aug 2004
Posts: 28

Rep: Reputation: 15
Unhappy Cannot login since I entered chmod command?


I logged in as user "gopi" and I did the command "chmod 644 *" and when I tried to log in again as "gopi" its not accepting me.But I am able to log in as root user since I didnt issue that command as a root user I think.So how to get back my privileges? I also did "chmod 744 ~gopi" from root but still I can't enter

So what can I do?
 
Old 08-20-2004, 04:16 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
~gopi will not get gopi's home. do a chmod 777 as root in /home/gopi.
 
Old 08-20-2004, 05:13 PM   #3
gopikrish
LQ Newbie
 
Registered: Aug 2004
Posts: 28

Original Poster
Rep: Reputation: 15
I did that but still can't enter.

And also after that login box appears and when I enter login name as "gopi" and password and press enter, the monitor blinks for a while and again that login box appears.But normally it shouldnt.I mean directly Desktop items should appear without monitor going black for sometime.

So what can I do?
 
Old 08-20-2004, 05:44 PM   #4
barisdemiray
Member
 
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Re: Cannot login since I entered chmod command?

Quote:
Originally posted by gopikrish

...
I logged in as user "gopi" and I did the command "chmod 644 *"
...
Where did you give this command? If in your home directory, then set the permission of it as 755 (don't give write permission to others and your group if it's something like `users'). Then there shouldn't be a problem. But if you changed some ownership, or run that command in somewhere else then try to find out the directories you altered. For example you could look at the shell history or find the files has the permissions 644 and owned by `gopi' using find command. Refer to the find man page for specific parameters:

Code:
man find
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CHMOD Command dudeman41465 Linux - Software 1 09-26-2005 02:29 AM
chmod command linuxtesting2 Linux - Newbie 2 09-03-2004 12:02 PM
chmod command not affecting files blueleft Linux - General 4 08-09-2003 11:26 AM
Chmod command gogo Linux - General 2 09-24-2002 07:01 AM
502 CHMOD command not implemented? jobesd Linux - General 2 11-20-2001 08:46 PM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration