Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 12th October 2005, 10:48
Emarzee Emarzee is offline
Junior Member
 
Join Date: Oct 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

whoami shows me as root

the other says

-rw-r--r-- l root root 788 2005-10-10 20:01 /etc/fstab

whats all that mean? im guessing 10-10 is when i installed?
gotta go to work be back later thanks for your help!!
Reply With Quote
Sponsored Links
  #12  
Old 12th October 2005, 12:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Emarzee
whoami shows me as root

the other says

-rw-r--r-- l root root 788 2005-10-10 20:01 /etc/fstab

whats all that mean?
rw-r--r-- are the permissions for the owner, the group and the others. r means read, w means write, and x means execute.
root root means the file is owned by the user group and the group root. 788 is the file size in bytes. 2005-10-10 20:01 is the date when the file was last modified.
Which editor do you use for editing /etc/fstab?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 12th October 2005, 19:12
Emarzee Emarzee is offline
Junior Member
 
Join Date: Oct 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
rw-r--r-- are the permissions for the owner, the group and the others. r means read, w means write, and x means execute.
root root means the file is owned by the user group and the group root. 788 is the file size in bytes. 2005-10-10 20:01 is the date when the file was last modified.
Which editor do you use for editing /etc/fstab?
i dont think im using an editor im just inside of the console(like DOS?)
just typing it in.
Reply With Quote
  #14  
Old 12th October 2005, 20:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Emarzee
i dont think im using an editor im just inside of the console(like DOS?)
just typing it in.
Then what command do you use to edit /etc/fstab? Something like
Code:
vi /etc/fstab
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 12th October 2005, 23:13
Emarzee Emarzee is offline
Junior Member
 
Join Date: Oct 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what im trying to say is im a total new and dont even know any of this stuff im just learning as i go along.
Reply With Quote
  #16  
Old 13th October 2005, 01:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

I guess you just typed in /etc/fstab on the shell, right? This doesn't work. You have to use an editor like vi to open the file and edit it. E.g.,
Code:
vi /etc/fstab
will open /etc/fstab in the editor vi.

Read how to use vi here: http://www.rru.com/~meo/useful/vi/vi.intro.html

If this is too complicated, you could use WinSCP to copy the file to your Windows machine and edit it there (but make sure to save the file with Unix linebreaks!).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 13th October 2005, 01:38
Emarzee Emarzee is offline
Junior Member
 
Join Date: Oct 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK
thanks but, how do i even start vi??? i see nothing on that...
Reply With Quote
  #18  
Old 13th October 2005, 01:39
Emarzee Emarzee is offline
Junior Member
 
Join Date: Oct 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

could i do all of this stuff with the gui enabled??
is there a specific reason besides resiurces i guess that you want it to run text only? can i log in after a reboot in text only mode if i install a gui?
Reply With Quote
  #19  
Old 13th October 2005, 10:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Emarzee
OK
thanks but, how do i even start vi??? i see nothing on that...
Simply by typing
Code:
vi /etc/fstab
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 13th October 2005, 10:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Quote:
Originally Posted by Emarzee
could i do all of this stuff with the gui enabled??
is there a specific reason besides resiurces i guess that you want it to run text only? can i log in after a reboot in text only mode if i install a gui?
You can open a shell window in your desktop environment. In that window type
Code:
su
and then root's password, that will make you root, and then run
Code:
vi /etc/fstab
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Server Setup dranieri HOWTO-Related Questions 3 18th January 2006 17:48
ISPConfig and separate machines pfm.smits Installation/Configuration 1 11th October 2005 15:09
Xandros Server Setup and Games neu2linux Suggest HOWTO 0 6th October 2005 15:22
Server can't "see" the internet Luciano Installation/Configuration 8 22nd August 2005 23:22
Maildir / Server Settings m u r Installation/Configuration 3 18th August 2005 10:53


All times are GMT +2. The time now is 07:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.