LinuxQuestions.org
Review your favorite Linux distribution.
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 12-24-2009, 11:30 AM   #1
MadAtUbuntu
LQ Newbie
 
Registered: Dec 2009
Location: Northern California USA
Distribution: Ubuntu Server 8.04.3 Hardy
Posts: 14

Rep: Reputation: 0
Ubuntu Locate Command is a FAILURE


Ok guys im so frustrated rigth now, im not very experienced with linux, but Ive been cracking weps with BT for a couple years and I can dns spoof with ettercap under backtrack.

So, I know that the locate commmand should be able to locate etter.dns and it does in backtrack, well Now Im trying to setup a ftp server running ubuntu server (HARDY)

I am trying to navigate to the directory

/etc/vsftpd.conf

I cannot navigate to it, when im in the root folder I type ls or list and nothing lists, wtf. Shouldnt there be like, Oh I dunno, the whole disk contents from there???

also, I have allready installed this ftp server and I know its running, port 21 is open,

BUT when I try to use find or locate vsftpd.conf I get this crappy error, in fact Locate will not work for anything and its driving my apeshit. Also, in backtrack I can type "nano /etc/vsftpd.conf"
And nano will open the file, NOPE, not in ubuntu apparently thats asking for too much from the guys who wrote ubuntu. I just need to get that file open to edit it with nano so I can get my ftp configured. any help would be soooo much appreciated,

Any idea wtf is going on??

Heres a screenshot of my headache in action.
http://i47.tinypic.com/29pfbif.png

Last edited by MadAtUbuntu; 12-24-2009 at 11:34 AM.
 
Old 12-24-2009, 11:37 AM   #2
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
have you run updatedb as root?
 
1 members found this post helpful.
Old 12-24-2009, 11:39 AM   #3
MadAtUbuntu
LQ Newbie
 
Registered: Dec 2009
Location: Northern California USA
Distribution: Ubuntu Server 8.04.3 Hardy
Posts: 14

Original Poster
Rep: Reputation: 0
No, ive never done that before, But I did run sudo apt-get update and the system didnt appear to want to update like a normal linux OS, is it different in ubuntu??

Plus I cant login as root, when I try to SSH in, it wont accept my password, which is odd because the OS never asked me for a root password during setup, instead it had me create some meaningless useraccount instead.

Hey that works! I ran that updatedb as sudo and the locate command works now. Interesting, thats pretty wierd, whhy is it like that?

THANK YOU not only does my ftp work now, I can edit the conf, I now have a functioning locate commmand, awesome!

THANK YOU AND HAPPY HOLIDAYS

Last edited by MadAtUbuntu; 12-24-2009 at 11:51 AM.
 
Old 12-24-2009, 11:52 AM   #4
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Don't blame me 'cos I never used Hardy, but it may be discontinued i.e. the repositories are no longer available - even though I have 7.04 on this machine it no longer updates. I'm not sure about logging in as root using SSH, but if I recall correctly I was unable to graphically login as root - used to have to logout to a command line and startx.

can you sudo? or do you su to get a root prompt in a terminal/console? Maybe adding a user to sudoers using visudo might help - see sudo man page - type: man sudo in a terminal, up/down arrows to read, q to exit.
 
Old 12-27-2009, 01:29 PM   #5
MadAtUbuntu
LQ Newbie
 
Registered: Dec 2009
Location: Northern California USA
Distribution: Ubuntu Server 8.04.3 Hardy
Posts: 14

Original Poster
Rep: Reputation: 0
Naw man I was acting like a big baby, lol , I got it figured out. sudo -i reverts a sudoer or admin to root. Easy as pie.
 
  


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
cpan> locate -u Unknown shell command 'locate -u'. Type ? for help. sharad2005 Linux From Scratch 1 08-04-2006 12:40 AM
command locate not available charlest Fedora 3 07-18-2006 06:26 PM
Locate command matt1982 Linux - General 3 01-08-2005 11:22 PM
using locate command stabu Linux - Newbie 6 03-26-2004 04:13 AM
What command will locate a particular.. cbjhawks Linux - General 1 03-21-2004 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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