[12:40] <rokra> yeap
[12:40] <jrib> rokra: hi
[12:40] <rokra> hi again :)
[12:40] <jrib> we need to clear something up, I'm a bit confused
[12:40] <jrib> did you run "ln -s /bin/true /usr/bin/file" or did you run "ln -s /bin/true /usr/bin/file"
[12:41] <rokra>  jrib first time you said me ln -s /bin/true /usr/bin/file , and you repaet do : ln -s /bin/true /usr/bin/file lol
[12:41] <rokra> I did the ln -s /bin/true /usr/bin/file
[12:41] <rokra> yes you understood me?
[12:42] <rokra> first time you said me ln -s /usr/bin/file /bin/true and second time ln -s /bin/true /usr/bin/file
[12:42] <rokra> I did the second
[12:42] <jrib> I never said /usr/bin/file, I always said /usr/bin/fileexec.  We need to undo that now
[12:42] <jrib> I assume you made the backup of the original file?
[12:43] <jrib> "file"
[12:43] <rokra> yes
[12:43] <jrib> restore it
[12:43] <rokra> file or filexec is the same
[12:43] <rokra> the real name is carserver
[12:43] <jrib> how is it the same?
[12:44] <rokra> jrib: for me I used file for a var in our example
[12:44] <rokra> but ok there is also a file " file" in the /usr/bin
[12:44] <jrib> wait
[12:44] <jrib> so "fileexec" is not the name of the program?
[12:44] <rokra> the realname is cardserver
[12:45] <jrib> ok
[12:45] <rokra> /usr/bin/cardserver
[12:45] <jrib> how are you trying to run it?
[12:45] <rokra> /usr/bin/cardserver or cardserver
[12:45] <jrib> and then what is the error?
[12:46] <jrib> when you do /usr/bin/cardserver
[12:46] <rokra> -su: /usr/bin/cardserver: No such file or directory
[12:46] <jrib> what's with the "su" thing?
[12:46] <rokra> dont  know
[12:46] <rokra> :s
[12:47] <rokra> I checked on a debian sytem and it worked :s
[12:47] <rokra> but on the ubuntu I have this error
[12:47] <jrib> what kind of file is it?
[12:47] <rokra> ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
[12:50] <jrib> no source?
[12:50] <rokra> jrib: no source
[12:53] <jrib> rokra: no idea, sorry
[12:53] <rokra> ok thx for your help
[12:53] <rokra> it smell the debian reisntall
[12:58] <nalioth> jrib: you're a machine :)
[01:06] <poningru> eek
[01:34] <soundray> lment_ox: Hi
[01:34] <lment_ox> hey
[01:35] <soundray> Open the file with 'nano /etc/passwd'
[01:35] <soundray> Move the cursor to the end of the first line and delete the "/tmp" with the backspace key.
[01:36] <soundray> Got that?
[01:36] <lment_ox> how do i open in nano ???
[01:37] <lment_ox> i am in nano but how do i access root file within that windo?
[01:37] <lment_ox> same first line as before???
[01:38] <soundray> Hey, I would really like to help you, but you have to do what I ask you to, and not something else.
[01:38] <lment_ox> ok
[01:38] <soundray> Hit Ctrl-X to exit nano. You should get back to the # prompt.
[01:39] <lment_ox> yes
[01:39] <nalioth> sudo nano /etc/passwd
[01:39] <soundray> Enter 'nano /etc/passwd' (everything between the quotes)
[01:39] <nalioth> don't forget the sudo
[01:39] <soundray> no, nalioth
[01:39] <soundray> We're in recovery mode.
[01:39] <jrib> recovery mode
[01:40] <lment_ox> ok opened
[01:41] <soundray> Move the cursor to the end of the first line and delete the "/tmp" with the backspace key.
[01:42] <soundray> Can you do that?
[01:43] <lment_ox> there is no "/tmp"
[01:44] <soundray> Does the first line read "root:x:0:0:root:/root:/bin/bash"?
[01:45] <lment_ox> no when i opened nano, screen is blank other than options at the bottom
[01:46] <soundray> Strange. Do a Ctrl-X again to exit nano.
[01:46] <lment_ox> k
[01:48] <lment_ox> ...
[01:49] <soundray> Do you get any output when you enter this line:
[01:49] <soundray> cat /etc/passwd
[01:50] <lment_ox> yea
[01:50] <lment_ox> first line reads root:x:0:0:0:root:/root:/tmp
[01:51] <soundray> Now enter all of this line:
[01:51] <soundray> nano /etc/passwd
[01:51] <lment_ox> ok
[01:52] <soundray> lment_ox: is the file opened in nano now?
[01:52] <lment_ox> at the top says:  gnu nano 1.3.12 file etc/passwd but rest is blank
[01:53] <lment_ox> other than commands at the bottom
[01:53] <soundray> Okay, we'll take a different approach now. Ctrl-X to exit nano
[01:53] <lment_ox> okee
[01:54] <soundray> Series of commands now. The first one:
[01:54] <soundray> cd /etc
[01:54] <soundray> Got that?
[01:54] <lment_ox> k
[01:54] <soundray> Now:
[01:54] <soundray> cp passwd passwd-copy
[01:55] <lment_ox> permission denied
[01:55] <soundray> lment_ox: are you sure you're in recovery mode?
[01:56] <lment_ox> 100% waited for option to login to recovery used my usr name logged in
[01:56] <soundray> lment_ox: did you set a root password at any point?
[01:56] <lment_ox> just did
[01:57] <soundray> just when?
[01:57] <lment_ox> i just went into admin made sure my password was what i set it as
[01:58] <soundray> What do you mean by "went into admin"?
[01:59] <lment_ox> sys/admin /user groups  root
[01:59] <lment_ox> in gnome
[01:59] <soundray> lment_ox: did you run 'sudo passwd' at any point?
[01:59] <lment_ox> no
[02:00] <soundray> What does your prompt look like at the moment?
[02:00] <lment_ox> k40571k@dhst-desktop:/etc$
[02:01] <soundray> Try this one:
[02:01] <soundray> sudo nano /etc/passwd
[02:01] <lment_ox> same as prior
[02:03] <soundray> Okay, something is wrong with your system, and I can't imagine how it got that way.
[02:04] <soundray> Normally, when you choose recovery mode, you shouldn't need to login at all.
[02:04] <lment_ox> ok
[02:04] <soundray> Is this a fresh install?
[02:04] <lment_ox> recent
[02:04] <soundray> Not upgraded?
[02:04] <lment_ox> no 6.1 waiting for 7
[02:06] <soundray> With all of this going on, I don't know if fixing your /etc/passwd will make a difference.
[02:06] <lment_ox> oh yea should i wait for 7???
[02:06] <soundray> Would it be terrible to use a 7.04 CD and do a fresh installation?
[02:06] <lment_ox> then redoit
[02:07] <soundray> Why wait, it's out...
[02:07] <lment_ox> no waiting on 7 to do so :)
[02:07] <lment_ox> i am in dutch harbor alaska takes awhile
[02:07] <soundray> lment_ox: is downloading the iso and burning to a CD-R an option?
[02:08] <lment_ox> not on this comp also because serv prov likes to time out large file dls but possibly] 
[02:10] <lment_ox> do u know if 7 is torrent avail?
[02:10] <soundray> You could download it with wget. If it gets interrupted, you can use wget -c to continue
[02:11] <soundray> I think it is
[02:11] <lment_ox> wget??? website???
[02:11] <soundray> Comes with ubuntu -- but that's useless, right? Dang...
[02:12] <lment_ox> hahaha
[02:12] <lment_ox> i have wget but not the dl url
[02:12] <soundray> I see, sec...
[02:13] <lment_ox> k
[02:13] <soundray> wget http://releases.ubuntu.com/7.04/ubuntu-7.04-desktop-i386.iso
[02:15] <lment_ox> dl'n we'll see how that goes
[02:15] <lment_ox> really appreciate all the help
[02:15] <lment_ox> Q: though when i install 7 will all of info from 6 be deleted
[02:15] <soundray> Well, I hope it will have helped in the end.
[02:16] <soundray> You should back up your /home directory and possible /etc for reference.
[02:16] <lment_ox> how so?
[02:17] <soundray> Depends on what you have in your system...
[02:18] <lment_ox> nothin but fonts and images at this point , but i am in the end trying to access root to install a anti virus as well as sun java asp
[02:19] <soundray> Are you setting up a fileserver or mailserver?
[02:20] <soundray> Because on a personal workstation, you don't need virus protection for Linux.
[02:20] <lment_ox> file server i think i would have to ask my boss havent got passed the root problem to know more
[02:21] <lment_ox> thats what i thought as far as linux cause you can debuh that shit right???
[02:22] <soundray> Anyway, if you do a fresh install, it will format the partition that you set as /
[02:22] <lment_ox> yea
[02:22] <lment_ox> um
[02:22] <soundray> So it's best if you copy any valuable data to another machine, external hard disk or optical disks.
[02:22] <lment_ox> when wget dl where is the dl directory??? desktop???
[02:22] <lment_ox> oic
[02:22] <lment_ox> dat file work???
[02:22] <soundray> Present working directory.
[02:23] <soundray> You mean tape?
[02:23] <lment_ox> yea
[02:23] <lment_ox> old school lmao
[02:23] <soundray> It should, if you have a driver for the DAT drive...
[02:23] <lment_ox> believe so
[02:23] <lment_ox> present working directory is the name im logged onto right???
[02:24] <soundray> No
[02:24] <soundray> it's what you last cd'd to.
[02:24] <soundray> Enter pwd to find what it is currently.
[02:24] <lment_ox> gotcha
[02:25] <soundray> !cli
[02:25] <ubotu> The linux terminal or command-line interface is very powerful. Open a terminal via Applications -> Accessories -> Terminal (Gnome) or K-menu -> System -> Konsole (KDE).  Guide: https://help.ubuntu.com/community/UsingTheTerminal
[02:25] <soundray> ^ might have some interesting stuff for you
[02:26] <lment_ox> thanks :) i am just getting into linux and i am falling in love with it
[02:27] <soundray> Well, good luck with it.
[02:27] <lment_ox> thank you
[02:27] <soundray> I'll be off then. Last chance to ask ;)
[02:27] <lment_ox> um
[02:27] <lment_ox> how do i add themes
[02:27] <lment_ox> ???
[02:28] <soundray> !themes
[02:28] <ubotu> Find your themes at: http://www.gnome-look.org - http://art.gnome.org - http://www.kde-look.org - http://themes.freshmeat.net/browse/58/ - http://www.guistyles.com - https://wiki.ubuntu.com/Artwork/ - Also see !changethemes and https://help.ubuntu.com/community/UbuntuEyeCandy
[02:28] <soundray> !changethemes
[02:28] <ubotu> [Ubuntu]  Install gnome-themes or go to menu, system settings, appearance. See https://help.ubuntu.com/community/UbuntuEyeCandy for a guide. [Kubuntu]  For a Kubuntu guide, see https://help.ubuntu.com/community/CustomizeKubuntu
[02:28] <soundray> Ubotu knows everything ;)
[02:29] <lment_ox> haha
[02:29] <lment_ox> thanks
[02:29] <soundray> Did you say you're from Cicely?
[02:30] <soundray> Oh, that's just fictional, right
[02:30] <soundray> :)
[02:31] <soundray> Bye
[01:05] <draco> hi
[08:32] <soundray> Okay, first disable automounting:
[08:33] <soundray> System-Preferences-Removable drives -- untick the boxes under Removable Storage
[08:33] <b33r> ok
[08:34] <soundray> Now "eject" your device (right click on the icon)
[08:34] <soundray> (then select Eject from the menu)
[08:35] <b33r> k
[08:35] <soundray> b33r: open a terminal and run
[08:35] <soundray> sudo fdisk -l
[08:36] <b33r> hmm but what that will do?
[08:36] <b33r> u mean to partition it one for win and 1 for linux?
[08:36] <soundray> List partitions that are visible for your system.
[08:36] <b33r> ok
[08:36] <soundray> We're still diagnosing, not fixing anything yet
[08:37] <soundray> You will recognize your hard disk partitions. The other set of partitions corresponds to your flash device.
[08:38] <b33r> /dev/sda2            4747        7301    20523037+   f  W95 Ext'd (LBA)
[08:38] <b33r> that?
[08:39] <soundray> b33r: looks promising. What's /dev/sda1 ?
[08:39] <b33r> my NTFS partition
[08:40] <b33r> I have windows on it
[08:40] <soundray> Do you have a /dev/hda1 ?
[08:40] <b33r> u mean sda1 I'm on feisty
[08:41] <b33r> yeah I do
[08:41] <soundray> I mean what I say. Do you have a /dev/hda1 ?
[08:41] <b33r> no
[08:42] <b33r> /dev/sda1   *         894        4746    30949191    7  HPFS/NTFS
[08:42] <b33r> no hda1
[08:42] <soundray> b33r: do you get any output from 'dmesg | grep sdb'?
[08:43] <b33r> uhh wha do u mean?
[08:43] <b33r> what*
[08:43] <soundray> Enter
[08:43] <soundray> dmesg | grep sdb
[08:43] <soundray> Does that return any output?
[08:44] <b33r> yeah
[08:44] <b33r> I have sdb1 another hard drive
[08:45] <soundray> How many in total?
[08:45] <b33r>    28.485502]  SCSI device sdb: 160836480 512-byte hdwr sectors (82348 MB)
[08:45] <b33r> [   28.485517]  sdb: Write Protect is off
[08:45] <b33r> [   28.485520]  sdb: Mode Sense: 00 3a 00 00
[08:45] <b33r> [   28.485541]  SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[08:45] <b33r> [   28.485591]  SCSI device sdb: 160836480 512-byte hdwr sectors (82348 MB)
[08:45] <b33r> [   28.485603]  sdb: Write Protect is off
[08:45] <b33r> [   28.485605]  sdb: Mode Sense: 00 3a 00 00
[08:45] <b33r> [   28.485626]  SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[08:45] <b33r> [   28.485629]   sdb: sdb1
[08:45] <b33r> [   28.498277]  sd 0:0:1:0: Attached scsi disk sdb
[08:45] <b33r> [   51.750877]  EXT3 FS on sdb1, internal journal
[08:46] <soundray> Please ask before you paste if it's more than two lines.
[08:46] <b33r> ok sorry
[08:46] <soundray> How many hard disks do you have in total?
[08:46] <b33r> 2
[08:47] <soundray> Okay. Do you get any output from 'dmesg | grep sdc' (yes/no)
[08:47] <b33r> yeah
[08:48] <soundray> b33r: /dev/sdc will be your flash device then. Let's mount /dev/sdc1 to confirm that:
[08:48] <soundray> sudo mount /dev/sdc1 /mnt
[08:48] <b33r> 33r@b33r:~$ sudo mount /dev/sdc1 /mnt
[08:48] <b33r> mount: special device /dev/sdc1 does not exist
[08:49] <b33r> worked nvm
[08:50] <soundray> It's mounted?
[08:50] <b33r> says 99% full
[08:50] <soundray> df -h /mnt
[08:50] <soundray> what does that say?
[08:51] <b33r> Filesystem            Size  Used Avail Use% Mounted on
[08:51] <b33r> /dev/sdc1             967M  966M  332K 100% /mnt
[08:52] <soundray> that's the 300k one then. It probably contains the Windows driver and some magic to run that driver automatically.
[08:52] <soundray> Did you get lots and lots from 'dmesg | grep sdc'?
[08:53] <b33r> yeah
[08:53] <b33r> btw I want it to run normally on windows too not only on ubuntu
[08:54] <soundray> What do you get from 'dmesg | grep sdc1'?
[08:55] <soundray> Please paste.
[08:55] <b33r> [   87.243243]   sdc: sdc1
[08:55] <b33r> [  219.843284]   sdc: sdc1
[08:55] <b33r> [ 1844.846727]   sdc: sdc1
[08:56] <soundray> Okay, are you ready to format the device? We can make it usable for Windows and Linux alike, but it will be blank.
[08:57] <b33r> yeah good thing I backed up the data
[08:57] <soundray> sudo fdisk /dev/sdc
[08:58] <soundray> then hit 'p' enter to show the current partition table.
[08:58] <soundray> Done?
[08:58] <b33r> yeah
[08:59] <soundray> There should be some warnings, but no errors. True?
[08:59] <b33r> bi
[08:59] <b33r> no*
[08:59] <b33r> want me to paste what it showed?
[08:59] <soundray> yes pls
[09:00] <b33r> Disk /dev/sdc: 1015 MB, 1015021568 bytes
[09:00] <b33r> 250 heads, 32 sectors/track, 247 cylinders
[09:00] <b33r> Units = cylinders of 8000 * 512 = 4096000 bytes
[09:00] <b33r>    Device Boot      Start         End      Blocks   Id  System
[09:00] <b33r> /dev/sdc1   *           1         248      991216    c  W95 FAT32 (LBA)
[09:00] <b33r> Partition 1 has different physical/logical endings:
[09:00] <b33r>      phys=(249, 249, 32) logical=(247, 201, 32)
[09:01] <soundray> That's the exact problem you're going to fix now. Delete the partition now: Hit 'd' enter, then say '1' when it asks for the number to delete.
[09:01] <b33r> ok
[09:01] <b33r> what now?
[09:01] <soundray> 'n' enter
[09:01] <b33r> Command (m for help): 1
[09:02] <b33r> 1: unknown command
[09:02] <soundray> 'p' enter again
[09:02] <soundray> Paste what it says
[09:02] <b33r> Disk /dev/sdc: 1015 MB, 1015021568 bytes
[09:02] <b33r> 250 heads, 32 sectors/track, 247 cylinders
[09:02] <b33r> Units = cylinders of 8000 * 512 = 4096000 bytes
[09:03] <soundray> Okay. Hit 'n' enter
[09:03] <b33r> Command action
[09:03] <b33r>    e   extended
[09:03] <b33r>    p   primary partition (1-4)
[09:03] <soundray> Select 'primary' if it tells you to choose
[09:03] <soundray> yeah, 'p'
[09:03] <b33r> then 1 right?
[09:03] <soundray> Yes
[09:04] <soundray> You're learning fast :)
[09:04] <b33r> First cylinder (1-247, default 1):
[09:04] <b33r>  also 1?
[09:04] <soundray> yes
[09:04] <b33r> Last cylinder or +size or +sizeM or +sizeK (1-247, default 247):
[09:04] <soundray> just enter
[09:04] <soundray> to accept the default, 247
[09:05] <b33r> ok
[09:05] <soundray> 'p'?
[09:05] <b33r> /dev/sdc1               1         247      987984   83  Linux
[09:05] <soundray> We need to change it from Linux to W95 Fat32 now.
[09:05] <soundray> Hit 't'
[09:06] <soundray> it'll give you a list that probably needs to scroll...
[09:06] <b33r> Hex code (type L to list codes):
[09:06] <soundray> then you enter 0c
[09:06] <soundray> all right, just enter 0c
[09:06] <soundray> and p again to confirm that it's now FAT32
[09:07] <b33r> yeah
[09:07] <b33r> it's FAT32
[09:07] <soundray> Okay, nothing on the device has changed yet. If you hit 'w' enter now, the new partitioning will be written.
[09:07] <soundray> Then it'll be permanent.
[09:08] <b33r> should I paste
[09:08] <b33r> it gave an error
[09:08] <soundray> yes
[09:08] <b33r> The partition table has been altered!
[09:08] <b33r> Calling ioctl() to re-read partition table.
[09:08] <b33r> WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
[09:08] <b33r> The kernel still uses the old table.
[09:08] <b33r> The new table will be used at the next reboot.
[09:08] <b33r> WARNING: If you have created or modified any DOS 6.x
[09:08] <b33r> partitions, please see the fdisk manual page for additional
[09:08] <b33r> information.
[09:08] <b33r> Syncing disks.
[09:09] <soundray> Right, we should have umounted it. But it's not a problem.
[09:09] <soundray> Do a 'q' to exit fdisk.
[09:09] <b33r> it exited itself
[09:10] <soundray> Okay. What does 'mount | grep sdc' say?
[09:10] <b33r> /dev/sdc1 on /mnt type vfat (rw)
[09:11] <soundray> Do a 'umount /mnt'
[09:11] <soundray> sry, make that 'sudo umount /mnt'
[09:11] <b33r> done
[09:11] <soundray> Then do a plug cycle (remove and plug it in again).
[09:12] <b33r> should I put back in the auto mount?
[09:12] <soundray> b33r: no, not yet
[09:12] <b33r> ok what now?
[09:12] <soundray> We have partitioned it now, but we still have to format it.
[09:13] <soundray> Think of a nice name for it, like Stick
[09:13] <soundray> Then type
[09:13] <soundray> sudo mkdosfs -F32 -n Stick /dev/sdc1
[09:14] <b33r> ok
[09:14] <soundray> Then reenable automounting
[09:14] <soundray> and do a plug cycle.
[09:15] <b33r> thanks worked :D
[09:15] <soundray> mount | grep sdc should now say
[09:15] <soundray> /dev/sdc1 on /media/Stick type vfat (rw)
[09:15] <soundray> Correct?
[09:15] <b33r> /dev/sdc1 on /media/Stick type vfat (rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077)
[09:16] <soundray> Hey, success :)
[09:16] <soundray> Any questions?
[09:16] <b33r> thank u very much mate
[09:16] <b33r> yeah what's rw,nosuid,nodev?
[09:16] <soundray> Are you British? :)
[09:16] <b33r> no
[09:16] <b33r> Lebanese
[09:17] <soundray> readwrite, can't make root executables on it, can't create special device files on it.
[09:17] <soundray> Makes good sense for an automounted device.
[09:17] <soundray> Okay, no problem mate.
[09:18] <b33r> 1 more thing now if I remove files on a windows box will the problem return? =/
[09:18] <soundray> No, I wouldn't think so.
[09:18] <b33r> ok thanks again
[09:18] <soundray> To get it back to the old format, you'd have to use a utility provided by the manufacturer.
[09:19] <soundray> Got a suggestion:
[09:19] <soundray> Next time you need a USB flash device, get a mini SD card reader. Very cool, much more versatile :)
[09:20] <b33r> uhh what's that?
[09:20] <soundray> SD are memory cards for cameras, voice recorders etc.
[09:21] <b33r> yeah well where do u stick it? USB? :/
[09:21] <soundray> Exactly.
[09:21] <soundray> The card reader, that is.
[09:21] <b33r> oh nice, gonna look it up
[09:21] <b33r> brb booting windows to check if it'll work fine there =)
[09:21] <soundray> I'm off now, see you
[09:21] <b33r> bbye