LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2004, 09:06 PM   #1
Nosram
LQ Newbie
 
Registered: Jan 2004
Posts: 13

Rep: Reputation: 0
Exclamation So... I used Chown command and screwed my pc...


OK. i FINALLY managed to install slackware in my computer AND managed to set up a FTP server... then I decided to make a super user that could change any file remotly tru FTP.
So i ran chown (SP?)
But I ran so all directories would be like the TMP directory to user johnny
When I restarted I got a bunch of problems... like password files in danger and such... AND my ftp no longer accepts connection...

And I thought that deleting johnny would help...

well it didnt...

anyone knows how to fix this?
 
Old 01-19-2004, 09:11 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
chown root those files it complains about and then give some strict permissions to the /bin, /boot, /etc folders and so forth

so you made all your files and directories readable, writable, and executable to "johnny"? i'm sure you know that that is not a good thing so i won't say it

but really, you may want to (oh no!) think about reinstalling; trying to change back to sane permissions could be a daunting task unless your system won't complain if your entire system is chowned to root (save maybe the /home/user folder)
 
Old 01-20-2004, 04:07 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
he he, there is a file in /etc/ called ftpusers read it!! and you'll see why it is considered a security risk to do what you just tried.........

you should just re-install and start over......easiest way to fix this problem.
 
Old 01-20-2004, 06:09 AM   #4
Nosram
LQ Newbie
 
Registered: Jan 2004
Posts: 13

Original Poster
Rep: Reputation: 0
They say when you play a Microsoft CD backwards, you'll hear Satanic messages; if you play it forwards, it will install Windows....
ROTFLMAO
ty for the response...
so... I shouldnt make a supa usar with ftp?
Is there anyway to make a supa usar with fpt? like root or something?
 
  


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
Chown command giving invalid user ServerStorm Linux - Software 6 03-23-2010 02:42 AM
!!!! Urgent, using chown command ? AQG Linux - Security 8 08-12-2005 03:21 PM
permissions messed up chown command used tsayles21 Debian 3 03-30-2004 08:38 PM
I Have a problem with the CHOWN command AnnePeter Linux - Software 5 03-12-2004 07:37 AM
chown command help ksgill Linux - Newbie 9 04-28-2003 10:52 PM


All times are GMT -5. The time now is 12:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration