Find the answer to your Linux question:
Results 1 to 4 of 4
just a note .... can get into terminal super user mode because all it asks is for the su password .... to LOG IN as super user i am asked ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5

    Cool what ever happened to the good ole' days?

    just a note .... can get into terminal super user mode because all it asks is for the su password .... to LOG IN as super user i am asked to provide a username ... i know mine ... just don't remember the username to use to log in as root or super user ... am trying to access a file on a usb stick and it says i do not have permission and must be logged in as root ... created the file on the usb stick when i was on a win 2000 computer ...... so --- if you can help i would appreciate it .... oh! also when i try to access the usb disk by terminal mode ... i get to /media/usbdev and then when i try to get to "david's stuff" ... all i get on the screen is > .....

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Add this line to your fstab file.

    Code:
    usbfs   /proc/bus/usb     usbfs   noauto    0 0
    if you are not familiar with vi

    Code:
    vi /etc/fstab
    type i to enter INSERT mode
    type or copy and paste the line in
    hit ESC to go back to COMMAND mode
    Type ZZ to quit and save your work

    Now when you put your usb device in, it should just work.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5

    Smile

    thanks,
    ..... never seen vi before ... very cool .... although this line currently exists in the fstab file
    used commands i for insert, typed a bit, removed what i typed, esc for exit, but then the ZZ does not get recognized by vi so i simply clicked on session and the clicked on close.
    also if you know how to retrieve usernames that would be very good too!
    thanks for your help,
    david

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    vi is a good editor but you don't save things unless you exit properly. A much easie editor is nano. It should be on your machine. Warning never just close the console with nano running, it will stay in the background and eat CPU cycles.

    Hint you can kill any process with the kill command

    open a console su to root type

    ps -A to list all process. Find the process you want to kill then

    kill PID where PID is the process ID number

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...