LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-11-2016, 02:57 PM   #1
Fogmatic
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Rep: Reputation: Disabled
Are these the right forums for my problem?


Firstly, apologies if this has been discussed before. I tried to search for it, but it’s a struggle from my phone (which is my only computer at the moment). Reading the forum guidelines was easy enough though, hence this title.

After 2 months of spare time struggling with a computer problem, I’m nearly there, and it’ll only take another few seconds, for all I know. If I only I knew the right Linux command that is, and/or something about the terms and the interface. But I know nothing about the nuts & bolts of using Linux (having used only Windows, and MsDos before that). (I know it would be useful to know Linux, and don't mind learning curves at all, but time isn’t infinite at my age, and I have even more work to catch up on now!).

All I’m trying to do is to get a Linux program to see a directory/file that I can see with my own eyes elsewhere on the drive. I’ve tried typing the path given in the directory’s Properties into the program’s search box, but it still isn’t found. (Maybe I need to add one of the filenames inside it, but I don’t know which one).

I don’t know what version of Linux it is, or which word is it. And anyway, in this case it seems best only to provide details if/when asked.

Perhaps it's OK just to say that my desktop OS suddenly decided my long-time login password was invalid, so denying me access to my own writings, art documentation etc. And maybe I’m allowed to add that said (reputable) program is on a USB stick. And that I’m using a graphic interface, but have found where I could type in a command (and finally realised what the command prompt looks like!).

If it’s not possible for this forum to help via postings, maybe it would be possible via private messages? And if not, can you recommend another reputable forum with Linux expertise where a complete novice can get help with my problem?

If you’ve read this far, thank you!

Last edited by Fogmatic; 07-13-2016 at 04:19 AM.
 
Old 07-11-2016, 03:06 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
Quote:
Originally Posted by Fogmatic View Post
my desktop OS suddenly decided my long-time login password was invalid, so denying me access to my own writings, art documentation etc. And maybe I’m allowed to add that said (reputable) program is on a USB stick. And that I’m using a graphic interface, but have found where I could type in a command (and finally realised what the command prompt looks like!).
So do you have access to the computer now, or are you locked out? if you are locked out from your own computer, then gaining access to the computer is your first priority, since it will be useless for us to help you with "the Linux program" if you can't even access it.


Quote:
Originally Posted by Fogmatic View Post
All I’m trying to do is to get a Linux program to see a directory/file that I can see with my own eyes elsewhere on the drive.
What does it mean to make a "Linux program" to "see" a directory/file?

What program? how will you know it will "see" the directory or file?

Tell us exactly what you are trying to do, in computer terms ("I'm trying to open a .png in GIMP" or "I'm trying to copy a file from an external drive to my internal drive", and so on).

To find out what you are running, open a terminal and type:

Code:
$ cat /etc/*release*

Last edited by notKlaatu; 07-11-2016 at 03:07 PM.
 
1 members found this post helpful.
Old 07-11-2016, 03:15 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
And USB stick may be mounted with noexec option, the program will not run from it if this is the case.
 
2 members found this post helpful.
Old 07-11-2016, 08:12 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Just wondering ? If you mean needing something like this

http://gamblisfx.com/wp-content/uplo...allpaper-1.png

Make it your wallpaper for quick reference <it is how I learned>

then using the commands

Code:
harry@biker:~
$ cd /usr/local/bin
harry@biker:/usr/local/bin
$ ls -l
total 2484
-rwxr-xr-x 1 root root    1801 Jun  3  2014 add-desktop
-rwxr-xr-x 1 root root   15560 Apr 13  2015 add-key
-rw-r--r-- 1 root staff    374 May  6  2013 alert_message_s
-rwxr-xr-x 1 root root    3173 Mar  8  2015 alsa-set-default-card
-rwxr-xr-x 1 root root     158 Jun 17  2015 amz
-rwxr-xr-x 1 root root     166 May 10  2014 ansi-bars
-rwxr-xr-x 1 root root     792 May 10  2014 ansi-colors
-rwxr-xr-x 1 root root     420 May 10  2014 ansi-tput
-rwxr-xr-x 1 root root     131 Jun 17  2015 antix
-rwxr-xr-x 1 root root   51255 Jul  3 12:30 antix2usb.py
-rwxr-xr-x 1 root root   37741 May  3 07:09 antix2usb.sh
-rwxr-xr-x 1 root root    3163 Jun 24  2015 antixcckeyboard.sh
-rwxr-xr-x 1 root root   18702 Apr 30 06:29 antixcc.sh
-rwxr-xr-x 1 root root    1549 Sep 22  2012 antixccslim.sh
-rwxr-xr-x 1 root root     728 Jun 29  2014 antiX-FileManager.sh
-rwxr-xr-x 1 root root     276 Apr 20  2014 antiX-paste
-rwxr-xr-x 1 root root    5051 Nov  1  2011 antixscreenshot.sh
-rwxr-xr-x 1 root root   15471 Apr 26  2015 antix-system.sh
-rwxr-xr-x 1 root root     175 Aug 30  2013 archive-create.sh
-rwxr-xr-x 1 root root     217 Aug 29  2013 archive-extract.sh
-rwxr-xr-x 1 root staff   1623 Mar 18 18:52 batti
-rwxr-xr-x 1 root root    6858 Apr 23 08:33 block-advert.sh
-rwxr-xr-x 1 root root     796 Jun  6 22:27 boot-log
-rwxr-xr-x 1 root root    7053 Jun 28 05:21 BroadcomStartup
-rwxr-xr-x 1 root root     466 Sep 16  2011 build-jwm-themes.sh
-rwxr-xr-x 1 root root    1513 Jun 19  2009 burniso
-rwxr-xr-x 1 root root    1603 Sep  5  2011 change-fluxmenu-theme.sh
-rwxr-xr-x 1 root root    1599 Sep  5  2011 change-icemenu-theme.sh
-rwxr-xr-x 1 root root    1552 Sep 15  2011 change-jwm-theme.sh
-rwxr-xr-x 1 root root   12182 Jun 28  2015 cli-installer
-rwxr-xr-x 1 root root     791 Mar 22 19:06 colorview
-rw-r--r-- 1 root staff    393 Nov 17  2008 configs_s
-rwxr-xr-x 1 root root    6552 Apr 19 05:45 conky-colors
-rwxr-xr-x 1 root root     367 Jul 10  2012 conkytoggle.sh
-rwxr-xr-x 1 root root    3257 Feb  2  2014 connectshares
-rwxr-xr-x 1 root root    2992 Feb  1  2014 connectshares-config
-rwxr-xr-x 1 root root    9027 Feb  1  2014 connectshares-config.sh
-rwxr-xr-x 1 root root   14221 Feb  1  2014 connectshares.sh
-rwxr-xr-x 1 root root     113 Jun 17  2015 ddg
-rw-r--r-- 1 root staff    103 Sep 19  2015 debian.list
-rwxr-xr-x 1 root root    2881 May 26 20:58 desktop-defaults-run
-rwxr-xr-x 1 root root    3698 Jun 10 08:51 desktop-defaults-set
-rwxr-xr-x 1 root root   11810 Jun 13  2015 desktop-menu
-rwxr-xr-x 1 root root    1264 Jun 13  2015 desktop-menu-places
-rwxr-xr-x 1 root root   15119 Jun 10 07:05 desktop-session
-rwxr-xr-x 1 root root    1682 Mar 25 15:59 desktop-session-exit
-rwxr-xr-x 1 root root    2446 Aug 19  2015 desktop-session-wallpaper
-rwxr-xr-x 1 root root    7104 Feb 25  2013 desktop_tool.py
-rwxr-xr-x 1 root root     136 Jun 17  2015 dict-search
-rwxr-xr-x 1 root root    2990 Feb  1  2014 disconnectshares
-rwxr-xr-x 1 root root    5444 Feb  1  2014 disconnectshares.sh
-rwxr-xr-x 1 root root    2564 May 12  2013 diskusage
-rw-r--r-- 1 root root   35561 Jan 22  2014 droopy
-rwxr-xr-x 1 root root    6420 Apr 25  2015 droopy.sh
-rwxr-xr-x 1 root root    2249 Oct 25  2015 ds-mouse
-rwxr-xr-x 1 root root    8365 May  2 08:37 ds-mouse.py
-rwxr-xr-x 1 root root     723 Sep  8  2011 du-excludes
-rwxr-xr-x 1 root root     264 Oct 10  2013 edit-as-root.sh
-rwxr-xr-x 1 root root     956 Dec 29  2013 encrypt-antix
-rwxr-xr-x 1 root root    3320 Feb 17 16:13 env-info
-rw-r--r-- 1 root root   15927 Jul  7  2013 fancy-prompts.bash
-rwxr-xr-x 1 root root   15410 Apr 17  2013 fancy-prompts.zsh
-rwxr-xr-x 1 root root   16164 Jun 16 06:22 findshares
-rwxr-xr-x 1 root root     173 Jun 17  2015 gf
-rwxr-xr-x 1 root root     114 Jun 17  2015 gg
-rwxr-xr-x 1 root staff    301 Oct 10  2015 glances
-rwxr-xr-x 1 root root    3664 Nov 18  2013 GM-set
-rwxr-xr-x 1 root root   22144 Apr 20  2015 group-management
-rwxr-xr-x 1 root root    7538 Oct 31  2013 grub-repair-antix
-rwxr-xr-x 1 root root    3049 Dec  3  2015 guess-hwclock
drwxr-xr-x 2 root root    4096 Jun 29  2015 icewmcc
-rwxr-xr-x 1 root root     132 Jun 20  2011 id_version
-rwxr-xr-x 1 root root     117 Jun 17  2015 imdb
-rwxr-xr-x 1 root root     420 Jun 17  2015 imdb-disc
-rwxr-xr-x 1 root root     116 Jun 17  2015 imdbe
-rwxr-xr-x 1 root root  510373 Apr 20 07:06 inxi
-rwxr-xr-x 1 root root   17526 Jun  5 08:11 inxi-gui
-rwxr-xr-x 1 root root     194 Oct 11  2014 li
-rwxr-xr-x 1 root root   17973 Apr 24 05:45 live-remaster
-rwxr-xr-x 1 root root    8467 Jun 23  2015 menu_manager_applications.sh
-rwxr-xr-x 1 root root   22408 Jun 23  2015 menu_manager_personal.sh
-rwxr-xr-x 1 root root   14441 Jun 23  2015 menu_manager.sh
-rwxr-xr-x 1 root root    2348 Jul 10  2012 mountbox
-rwxr-xr-x 1 root root     382 Apr  7 00:48 mount-media
-rwxr-xr-x 1 root staff    213 Oct 10  2015 mps
-rwxr-xr-x 1 root root     135 Jun 17  2015 mx
-rwxr-xr-x 1 root root    1247 Apr 18  2014 netpro
-rwxr-xr-x 1 root root    2654 Sep 11  2013 open-with-menu.sh
-rwxr-xr-x 1 root root     574 Mar 22 19:06 paletterx
-rwxr-xr-x 1 root root     460 Jul 10  2012 paneltoggle.sh
-rwxr-xr-x 1 root root    7004 Mar 15 13:34 persist-config
-rwxr-xr-x 1 root root     118 Mar 15 13:34 persist-enabled
-rwxr-xr-x 1 root root   24320 Mar 15 13:34 persist-makefs
-rwxr-xr-x 1 root root    8136 Apr 24 05:45 persist-save
-rwxr-xr-x 1 root root    1047 Nov  3  2014 psg
-rwxr-xr-x 1 root root    8351 May  3  2011 ps_initrd.sh
-rwxr-xr-x 1 root root   17775 Oct  9  2015 ps_mem.py
lrwxrwxrwx 1 root root      13 Jun 10 09:53 remaster-live -> live-remaster
-rwxr-xr-x 1 root root   17769 Dec  8  2011 remaster.sh
-rwxr-xr-x 1 root root    1377 Jun  3  2014 remove-desktop
-rwxr-xr-x 1 root root     394 Jun 13  2015 rox-as-root.sh
-rwxr-xr-x 1 root root      27 Aug  8  2010 roxuri
-rwxr-xr-x 1 root root     298 Oct 24  2010 Rox-Wallpaper
-rwxr-xr-x 1 root root     392 Dec 31  2011 run-mksquashfs
-rwxr-xr-x 1 root root     985 Apr 26  2014 search-and-replace.py
-rwxr-xr-x 1 root root    6677 Jun 17  2015 search-bar
-rwxr-xr-x 1 root root     743 Jun 17  2015 search-bar-icon
-rwxr-xr-x 1 root root    6979 Apr 19 05:47 set-desktop-theme
-rwxr-xr-x 1 root root    5078 Jun  3  2014 set-screen-blank
-rwx---r-x 1 root staff 355549 Sep 19  2015 sgfxi
-rwxr-xr-x 1 root root     896 Oct 26  2011 slim-login
-rw----r-- 1 root staff  84246 Sep 19  2015 sm-lib-apt-tools
-rw----r-- 1 root staff  36543 Sep 19  2015 sm-lib-clean-up
-rw----r-- 1 root staff  17769 Sep 19  2015 sm-lib-distro-conversion
-rw----r-- 1 root staff  29904 Sep 19  2015 sm-lib-du-fixes
-rw----r-- 1 root staff  25007 Sep 19  2015 sm-lib-graphics
-rw----r-- 1 root staff  34315 Sep 19  2015 sm-lib-kernel
-rw----r-- 1 root staff  41383 Sep 19  2015 sm-lib-kernel-install
-rw----r-- 1 root staff  58634 Sep 19  2015 sm-lib-misc-tweaks
-rw----r-- 1 root staff   6006 Sep 19  2015 sm-lib-warning
-rw----r-- 1 root staff   1009 Sep 19  2015 sm-versions
-rwx---r-x 1 root staff 145084 Sep 19  2015 smxi
-rwxr-xr-x 1 root staff    214 Dec 30  2015 speedtest
-rwxr-xr-x 1 root root   20043 Apr 26  2014 speedtest-cli
-rwxr-xr-x 1 root root    1880 Nov  6  2014 splash-select
-rwxr-xr-x 1 root root    1620 Jan 28  2015 start-t
-rw-r--r-- 1 root staff      5 May  6  2013 status_s
-rwxr-xr-x 1 root root     121 Jun 17  2015 stp
-rwxr-xr-x 1 root root    5612 Jun 13  2015 streamlight-gui-launcher.sh
-rwxr-xr-x 1 root root   12017 Jun 13  2015 streamlight.sh
-rwxr-xr-x 1 root root     345 Jun 14  2015 time-x-start
-rwxr-xr-x 1 root root    2019 Mar 23 02:11 toram-eject
-rwxr-xr-x 1 root root     746 Apr  7 00:48 umount-media
-rwxr-xr-x 1 root root    7266 Apr 20  2015 UM-set
-rwxr-xr-x 1 root root    4600 Jun 15 14:49 unplugdrive.sh
-rwxr-xr-x 1 root root     463 Nov  2  2013 update-jwm-themes.sh
-rwxr-xr-x 1 root root    5231 Oct 25  2014 urxvt-style
-rwxr-xr-x 1 root root   24172 Apr 20  2015 user-management
-rwxr-xr-x 1 root root   20753 Apr 13  2015 wallpaper.py
-rwxr-xr-x 1 root root   25012 Jun 28  2013 wgetpaste
-rwxr-xr-x 1 root root     127 Jun 17  2015 wiki
-rwxr-xr-x 1 root root    3110 Apr 29  2014 wingrid-bottomleft.sh
-rwxr-xr-x 1 root root    3120 Apr 29  2014 wingrid-bottomright.sh
-rwxr-xr-x 1 root root    3339 Apr 29  2014 wingrid-bottom.sh
-rwxr-xr-x 1 root root    1347 Apr 29  2014 wingrid-close.sh
-rwxr-xr-x 1 root root    3279 Apr 29  2014 wingrid-left.sh
-rwxr-xr-x 1 root root    1388 Apr 29  2014 wingrid-maximize.sh
-rwxr-xr-x 1 root root    3289 Apr 29  2014 wingrid-right.sh
-rwxr-xr-x 1 root root    3077 Apr 29  2014 wingrid-topleft.sh
-rwxr-xr-x 1 root root    3180 Apr 29  2014 wingrid-topright.sh
-rwxr-xr-x 1 root root    3305 Apr 29  2014 wingrid-top.sh
-rwxr-xr-x 1 root root     110 Jun 16  2013 xmms
-rwxr-xr-x 1 root root      43 Dec 22  2015 yad
-rwxr-xr-x 1 root root    2820 Jan 15 09:11 zram
harry@biker:/usr/local/bin
The above is locating a files name in /usr/local/bin.

Below is reading what one of those files say inside

Code:
$ cat mountbox
#! /bin/bash
# 
# Gtkdialog box for the mount command. Part of SliTaz tools.
# adapted for use on antiX by anticapitalista@antiX.operamail.com
VERSION=20110421

export BLKID_LIST='
<window title="blkid -o full" icon-name="media-flash">
  <vbox>
    <text use-markup="true">
      <label>"<b>Harddisk devices list</b>"</label>
    </text>
    <frame Partitions table>
      <text wrap="false" width-chars="88">
        <input>sudo blkid -o full</input>
      </text>
    </frame>
    <hbox>
      <button>
        <input file icon="exit"></input>
        <action type="closewindow">BLKID_LIST</action>
      </button>
    </hbox>
  </vbox>
</window>
'

# Mount button to use pmount to auto-open cd, dvd or usb device in Rox 
#
export MOUNT_DIALOG='
<window title="antiX-Mountbox" icon-name="media-flash">
  <vbox>
     <text use-markup="true">
      <label>"<b>antiX - Mountbox</b>"</label>
    </text>
    <text wrap="true" width-chars="44" use-markup="true">
      <label>"Mount device in /media. Device can be flash key, cd/dvd or any USB device. Unmount device in rox."</label>
    </text>
  
    <frame Configuration>
      <hbox>
        <text use-markup="true">
          <label>"<b>Device             : </b>"</label>
        </text>
        <entry>
          <default>/dev/sr0</default>
          <variable>DEVICE</variable>
        </entry>
        <button>
          <label>List</label>
          <input file icon="drive-harddisk"></input>
	  <action type="launch">BLKID_LIST</action>
        </button>
      </hbox>
      <hbox>
        <text use-markup="true">
          <label>"<b>Mount point   : </b>"</label>
        </text>
        <entry>
          <default>/media/cdrom</default>
          <variable>MOUNT_POINT</variable>
        </entry>
      </hbox>
    </frame>
    
    <hbox>
      <button>
        <label>Mount</label>
        <input file icon="forward"></input>
        <action>pmount $DEVICE; rox /media</action>
      </button>
      <button>
        <label>Umount</label>
        <input file icon="undo"></input>
        <action>pumount $MOUNT_POINT; sleep 1</action>
        <action type="exit">Exit</action>
      </button>
      <button>
        <input file icon="exit"></input>
        <action type="exit">Exit</action>
      </button>
    </hbox>
  
  </vbox>
</window>
'

gtkdialog --program=MOUNT_DIALOG

exit 0
Quote:
I don’t know what version of Linux it is
Code:
harry@biker:/usr/local/bin
$ cd
harry@biker:~
$ cat /etc/issue
Welcome to antiX. Powered by Debian.
harry@biker:~
$ cat /etc/lsb-release
DISTRIB_ID=antiX
DISTRIB_RELEASE=15
DISTRIB_CODENAME=jessie
DISTRIB_DESCRIPTION="antiX 15"
harry@biker:~
$
Anyways. The wallpaper should help you so you can finish your learning steps to help yourself.'
It worked out that way for me.

Or like notaKlattu said

Code:
harry@biker:~
$ cat /etc/*release*
DISTRIB_ID=antiX
DISTRIB_RELEASE=15
DISTRIB_CODENAME=jessie
DISTRIB_DESCRIPTION="antiX 15"
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
harry@biker:~
Edit: Yeah. You are on one of the best linux forums with some of the best Linux folks on the net.

Last edited by rokytnji; 07-11-2016 at 08:17 PM.
 
1 members found this post helpful.
Old 07-11-2016, 08:33 PM   #5
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
Where are you booting from, your pc or your pendrive and what system is on either?

Fred.
 
1 members found this post helpful.
Old 07-11-2016, 09:12 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Hello and welcome to LQ.


" get a Linux program to see a directory/file that I can see with my own eyes elsewhere on the drive."

I get the feeling that you want to either make a new "path" where all programs can find files directly through the path variable. Otherwise you can make a "link" in the program subdirectory (usually) to the files that you wish to see. The program will think the files are there.
 
1 members found this post helpful.
Old 07-12-2016, 05:39 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Fogmatic View Post
All I’m trying to do is to get a Linux program to see a directory/file that I can see with my own eyes elsewhere on the drive.
What program and what file? Where?
Post is lacking some vital info.

"Seeing" it and having access are not the same thing.

How To Ask Questions The Smart Way

Asking for Personalized Support via PM is rude.
We are volunteers.

Last edited by Habitual; 07-12-2016 at 05:42 AM.
 
1 members found this post helpful.
Old 07-12-2016, 09:34 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
If I was locked out of my computer, the first thing I would do would be to boot it from a rescue CD/pen-drive. Many installation media are designed to be used as emergency rescue devices too. Or you can get a friend to download and burn a SystemRescue CD.

Once you are booted, you can mount your hard drive and edit the /etc/shadow file, carefully erasing the bad password. Then reboot from the hard drive and log in without a password. Make sure you set a new one as your first act!
 
1 members found this post helpful.
Old 07-12-2016, 04:59 PM   #9
Fogmatic
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Wow - thanks! What a great response to find this morning (I’m in Ireland). (Reminds me of the wonderful CompuServe forums, a lifeline for me in the early 2000s, till we free-access members were abruptly blocked just when I wanted to thank someone!).

I can’t read your responses easily on this tiny screen, so will print them out later & respond more individually when I get the time. Meanwhile, this is why I was hesitant about posting more details; "Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed". (I didn't yet know where these forums draw the line, and didn't want to risk getting banned from such a great community!).

But I didn’t want to waste any more of your time by being vague, so here goes (if I can just leave it to the moderators to remove anything they think fit?). It’s a bit of a short story I’m afraid, but I’m not sure yet what’s relevant & what’s not, and anyhow you’ve already gone to great lengths to help (no pun intended).

I do also have a little laptop for day-to-day internet etc, but it’s awaiting attention for a power problem, so I’ve been using the desktop for everything (instead of just the heavier-duty productivity things). (Details at the end of this in case it helps).

In early May, the desktop was working fine in the morning, then later that day Vista said at the user login screen that my password was incorrect (same password as always). Having established that it wasn’t a keyboard thing, and tried various workarounds, I consulted a forum and the consensus was that an Ophcrack Live CD download was the way to go, and there was a version for Windows Vista/7 (including the free version of the rainbow tables needed). And I could still access the BIOS to set it to boot from USB (the CD/DVD player also being in need of attention).

It’s been a bit of a long haul, partly because of only having little (and unpredictable) bits of time to do it in. And in this rural area, friends are very scattered, friends with computers even more so, and friends with Vista or 7 nonexistent. Eventually, I came across some more detailed, step-by-step instructions, which stressed that the OS of the downloading computer doesn't matter. (I’d been thrown off course by a tiny ambiguity in Sourceforge’s instructions, which were repeated in all the other search results I’d read).

So arranged to visit a (busy) friend a few days later, did the download (quite quickly - the local phone line must have been having a good day), did the installation onto a USB stick, and all went smoothly. Then (after a long process of finding the right settings for USB boot in the fairly obscure Bios that internet searches cant find anything about), it worked, the Linux OS appeared, and the program started automatically, in graphic mode (taking 19 seconds).

As expected from what I’d read, the LM columns were blank. 5 NT password hashes were found for user accounts of various kinds, 2 (with identical-looking hashes) marked 'empty’, and 3 'not found’. I haven’t been able to find instructions I can understand about what to do in the program, and didn’t know if I was missing some step needed to find a password(s). The Tables button looked safe enough to try; it showed a list of the table versions, including the free ones (and also the very not free ones that I knew I didn’t have). But the only one marked green as 'installed’ was a basic XP one, so not surprising no password found (must have had a moment of inattention while selecting the download!). I tried highlighting it, pressing the 'enable’ button & starting again, but it made no difference to the results/time taken.

Another few days later (having managed to mesh with a friend who wasn’t away on holiday by then!), it took that whole spare afternoon to do about half the download (and, as I discovered that evening, for some reason Firefox doesn’t resume downloads; should have used Chrome, which apparently can resume them - with a little help from Firefox!).

So next stop post office in the middle of the nearest town, which has public internet access and the fastest connection speed in the area (there was a little connection display on the screen; it varied between about 2.65 & 2.8 MB, & no interruptions). The download took 40 minutes. I then downloaded Rufus to install the ISO onto the USB, but the system wouldn't let me open it without the 'Owner’ password, which nobody could remember (it thought I might be trying to 'change something in the computer’). It did let me simply copy the download to the USB though. So to a 3rd friend with slow connection, which was OK for just getting Rufus, & the ISO installed fine straight from the USB onto another one.

By now I’d forgotten the bios settings, and couldn't find my note of them in the scattered heaps of notes & printouts, but 2-3 days later I hit on the right combination again (using a sticky note this time!), and the ISO booted & worked automatically as before. Precisely as before in fact, as the results were identical.

I knew I’d got the right version this time (from the filesize & other things), so looked at the tables, and no version was marked as installed. I highlighted the Vista Free one & tried the Install button, with no effect. I explored a bit & found the Vista Free ones (the only directory inside the Tables one in Slitaz Ophcrack, in My Documents). There’s a directory called vista_proba_free (as expected), size around 631mb (ditto). It contains 13 files of various types; dat, bin, txt, index etc, plus some extensions I’d never heard of. Nothing I can recognise as a zip file, so looks as if the automatic unzipping worked (I did search later for zip-compressed tables & none were found).

I made a note of the path (or Linux equivalent), went back to the tables list and tried typing it into a location box that appears via the Install button, but it wasn't found. Then copied the path in the Properties of the vista_proba_free directory and put it in the location box, but still not found.

A web search found a few things that had worked in various similar-sounding cases, e.g. the command 'ophcrack-launcher.sh dialog to search again for tables. This displayed extra options, Search and Deep.Search, but they didn’t do the trick for me. Another one was ‘Just copy the hash in question and…..’, but I don’t know how to do it; I know they’re very long, and can only see the 1st 10 characters on the screen (of which I have a photo if it helps). And though I didn’t understand most of the search results, I suspect there’s some additional step needed.

My other problem with finding out what to do once within Ophcrack, is a dearth of instructions that I can understand, from reputable websites. For good reason of course, but when I go to a promising search result, only to see a user referred to as 'the victim’, it feels too distasteful to stay there another moment!

Have to log off now for the night (late for bed already!)

P.s. (Morning); forgot to say desktop is Packard Bell Ixtreme 2711, bought 2007 (I did make sure Ophcrack had the right setting for its Intel Quad Core processor, though I believe that's just to help Ophcrack work faster).

Windows (yes, I know!) Vista Home Premium SP2.

More verbiage with a faint chance of relevance; the phone that's been my only computer for the past 2 months is Motorola Moto G 3rd gen 2015 (Android 6).

I edited 1 word in 1st para. of the OP, 'question' to 'title' (harder to spot the faults through this tiny window).

Just had a chance to take a 1st look at your responses - thanks for the link, Habitual. Those guideline confirm that I'm in good company, and are also a good read. I've always thought user manuals & other instructions should be written by people encountering the subject for the 1st time, but the writer is obviously an exception!

Last edited by Fogmatic; 07-13-2016 at 07:27 AM. Reason: Errors (compounded by some very determined autocomplete/spellchecker)
 
Old 07-13-2016, 07:58 AM   #10
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Ok. Since this is Windows now. A video should gitter done for you.

https://www.youtube.com/watch?v=Fp1aHff5lgY

Windows 7 and Vista should have same same file/registry locations I would think <but I cannot swear this is so>. Just move slowly and always be sure when screwing with Windows. It is a delicate operating system and sometimes cannot stand the the strain of a clueless user.

https://www.youtube.com/watch?v=UCYzK7lgbak
 
1 members found this post helpful.
Old 07-13-2016, 08:15 AM   #11
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

Rep: Reputation: 38
To reset your windows password do this:

boot a live linux cd (like lubuntu live).

navigate to the dir on the windows drive that contains cmd.exe

rename sethc.exe to something like sethcold.exe

rename cmd.exe to sethc.exe

boot windows.

press shift 5 times

type: net user "user name" *

type new password

log in.



(something like that)
 
1 members found this post helpful.
Old 07-13-2016, 03:53 PM   #12
Fogmatic
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you, rokytnji and biosboy4 (on top of everyone else!).

I had plenty of YouTube search results but hadn't looked at many, for 2 reasons; imagining it might be a good place to sneak in malware, and my domestic setup (open-plan, with the desktop, and a good enough wifi signal for videos on the phone, both near where my husband always seems to be trying to get a bit of peace & quiet). But I've watched the video recommended by rokytnji silently, and it looks hopeful. I think I'll try it first, simply because it'll take very little time. Won't be able to till about 10 hours from now -will report back of course!

Last edited by Fogmatic; 07-13-2016 at 03:55 PM.
 
Old 07-23-2016, 11:16 AM   #13
Fogmatic
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you all for setting me on the right path(s) - no password as yet, but I’m getting there.

Sorry everyone about the vague OP - the guidelines said discussing cracking wouldn’t be tolerated, and I wasn’t sure where these forums drew the line about that.

I can’t seem to use quotes in forums at the moment.
…............................................................
notKlaatu; Thank you for that command.
………………………………………….
rokytnji; Thank you so much for taking the trouble to give me the wallpaper. (Hopefully, it’ll be in use soon!).

And for the video links, where I could see that something was missing from my window in Ophcrack; the little tree of tables below the main window, and the progress bars. After trying some more things the right path appeared, and the program worked away for just over an hour, but found no password for my account. I suppose whatever Windows wants me to type in is too complex for the free tables. (I gather it can be worth trying other tools though, as they use slightly different methods).

Yes, Windows isn’t very robust! Had no choice at the time, though never did like bloatware. 98SE wasn’t too bad, but on the next replacement only Vista was available. (It was a bit better after clearing out the unwanted stuff & changing to open source software when possible!).
……………………………………….
Habitual; Apologies for appearing to ask for one-to-one help - I wouldn’t dream of it (and know that forum people are volunteers). “Private messages” was part of a sentence I thought I’d cut, but due to ‘text correction’ and only being able to seeing a small section, I failed to cut all of it. The original context was just re some brief message e.g. “We don’t discuss this here - try forum x”, or “You have been barred for discussing password cracking”.
……………………………………….
jefro; Thanks for the tip - didn’t need to make a link this time, but useful to know!
……………………………………………..
Hazel; Thank you for the info re rescue CDs - I might be glad of it yet!. And for the reminder about a new password. Though the only reason I’d set one is that I added an account for my husband when I bought the computer, when he was intending to learn to use one but was nervous about accidentally ‘breaking’ something. He soon got his own tablet instead, and I’d been meaning to remove my password ever since! (Just in case any particularly dim reader happens to be passing, I should point out that our home is also in an unusually secure position re intruders).
…………………………………….
biosboy4; Thank you for the pointer re the net user command. I’d seen it suggested elsewhere (before trying Ophcrack), with warnings about dangers to data in Windows when resetting encrypted passwords. Having now ascertained that my files are extremely unlikely to have been encrypted, I’m researching the net user commands. (On the way, I’ve viewed a fuller list of the users in Windows; 12, because the 5 already seen are duplicated, two of them with 3 instances. Which may be a clue for sorting out whatever mess Windows is in, once I’m back in it).
…………………………………………….

To add to the help you’ve all given me, I’ve now found a Linux manual; can’t print it out yet, but read a bit re file structure etc. And I don’t think it’ll take as long to get some basic working knowledge of using Linux as general computer magazines etc suggest. (Seems those 1980s evening classes on computing were more useful than some modern courses I could name!). So I’m going to have a go after all. Thank you for that too!
 
  


Reply



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
Hello, Forums. Gnisho LinuxQuestions.org Member Intro 2 08-11-2012 02:36 AM
Forums>Search Forums: looking for a given string. stf92 LQ Suggestions & Feedback 9 07-27-2010 08:03 PM
"Search Forums" problem alan_ri LQ Suggestions & Feedback 27 05-26-2008 10:46 AM
Relationship between LQ forums & Distro forums impeteperry LQ Suggestions & Feedback 3 11-01-2005 02:20 PM
Huge Huge Problem With Forums!!! The_Insomniac Linux - General 1 06-07-2004 08:15 AM

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

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