Re: [CentOS] OT: Torrent software choice
John R Pierce a écrit : > > in a nutshell, you boot the linux CD into 'linux rescue mode', then the > usernames are in the /etc/passwd file on the mounted hard drive, which > is I believe mounted as /a, so it would be /a/etc/passwd, and the > passwords themselves are encrypted in /etc/shadow ... its easiest to > edit /etc/shadow (probably as /a/etc/shadow due to the rescue mount), > then just zap out the password field. > You can even do it without the CD. At the GRUB command line, add this to the kernel= line : init=/bin/bash This gets you to a bash prompt without asking for a password. From there, you mount the root partition in r/w mode : # mount -o remount,rw / Now you can reset your password : # passwd Since the system wasn't booted in a very orthodox way, we have to shut it down a bit differently. # mount -o remount,ro / Now simply press the power button to switch the machine off. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Sorry to hear that a member of the list has passed away. Google tells me that 970 is the area code for Colorado so maybe members of the list who live there might want to give her a hand with the computer. On Tuesday, February 23, 2010 02:40 AM, Bob Taylor wrote: > Hi, I am writting this message in hope that you can be of a great help > to me. My husband that has been on this site died suddenly Feb 4th) and > I can not access my computer. He has a user name and password on the > system. He has used the Linux and Red Hat to run the computer He > would boot up the system and then I would do my email, documents, etc. > I never thought to ask him his password or username. There is no one in > our area that knows how to change the username and password on the Linux > system... Can you or some one you may know help. I did find a Red Hat > Boot disk... not sure what to do with it > > I am able to use this email so that is why I am sending this to you > ,trying to find help. I can be reached through a friend if you can call > me 970 208 3131. or email... will be OK also I hope > there is someone to help me get on my computer... Laura > > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Niki Kovacs wrote: > Sorry if this is not the place, but there's some quirk in the logic. If > your late husband wrote to this list using his email address, then how > comes you are using it without knowing his username and password? > note she's using a gmail account. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Bob Taylor wrote: > Hi, I am writting this message in hope that you can be of a great help > to me. My husband that has been on this site died suddenly Feb 4th) > and I can not access my computer. He has a user name and password on > the system. He has used the Linux and Red Hat to run the > computer He would boot up the system and then I would do my > email, documents, etc. I never thought to ask him his password or > username. There is no one in our area that knows how to change the > username and password on the Linux system... Can you or some one you > may know help. I did find a Red Hat Boot disk... not sure what to do > with it in a nutshell, you boot the linux CD into 'linux rescue mode', then the usernames are in the /etc/passwd file on the mounted hard drive, which is I believe mounted as /a, so it would be /a/etc/passwd, and the passwords themselves are encrypted in /etc/shadow ... its easiest to edit /etc/shadow (probably as /a/etc/shadow due to the rescue mount), then just zap out the password field. whoever does this has to be reasonably competent with unix command line tools like vi, there's no gui in the rescue environment. a typical /etc/passwd file... root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin: additional system accounts deleted... nobody:x:99:99:Nobody:/: pierce:x:500:510:John R Pierce:/home/pierce:/bin/bash mudshark:x:502:510:Mud E Shark:/home/mudshark:/bin/bash and the corresponding /etc/shadow file... root:$**z/:13890:0:9:7:-1:-1:134538772 bin:*:10810:0:9:7::: system accounts trimmed. nobody:*:10810:0:9:7::: pierce:$**0:14332:0:9:7:-1:-1:134539876 mudshark:$***x:10815:0:9:7:-1:-1:134538468 so two users on this systme are pierce and mudshark, everything before nobody is a system account. I replaced the bulk of the password hash with **, you would remove everything between the : so a line would look like... root::13890:0:9:7:-1:-1:134538772 (note there's now two colons between the username and the next field) now that account can log on without a password. hopefully you can find someone who knows enough linux to make sense of this. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
James Bensley a écrit : > On 22 February 2010 20:31, Niki Kovacs wrote: >> Sorry if this is not the place, but there's some quirk in the logic. If >> your late husband wrote to this list using his email address, then how >> comes you are using it without knowing his username and password? > > She said "He would boot up the system and then I would do my email, > documents, etc.". So she can't get on the computer not his emails. She > could of used the forgotten password feature and rest his email > password or just known it anyway, but doesn't know the password for > their actual computer silly :P > I am truly sorry and I didn't mean to offend anyone. Allow that I offer my condolences. Niki Kovacs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
On 22 February 2010 20:31, Niki Kovacs wrote: > Sorry if this is not the place, but there's some quirk in the logic. If > your late husband wrote to this list using his email address, then how > comes you are using it without knowing his username and password? She said "He would boot up the system and then I would do my email, documents, etc.". So she can't get on the computer not his emails. She could of used the forgotten password feature and rest his email password or just known it anyway, but doesn't know the password for their actual computer silly :P -- Regards, James ;) Jonathan Swift - "May you live every day of your life." - http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
There are various posts from "Bob Taylor" (bob8...@gmail.com) in the list archives; http://lists.centos.org/pipermail/centos/2009-September/082799.html http://lists.centos.org/pipermail/centos/2009-August/079998.html http://lists.centos.org/pipermail/centos/2009-August/080297.html http://lists.centos.org/pipermail/centos/2009-April/075045.html Again, my condolences Laura. -- Regards, James ;) Pablo Picasso - "Computers are useless. They can only give you answers." - http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Bob Taylor a écrit : > Hi, I am writting this message in hope that you can be of a great help > to me. My husband that has been on this site died suddenly Feb 4th) and > I can not access my computer. He has a user name and password on the > system. He has used the Linux and Red Hat to run the computer He > would boot up the system and then I would do my email, documents, etc. > I never thought to ask him his password or username. Sorry if this is not the place, but there's some quirk in the logic. If your late husband wrote to this list using his email address, then how comes you are using it without knowing his username and password? Niki Kovacs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
On Feb 22, 2010, at 1:40 PM, Bob Taylor wrote: > Hi, I am writting this message in hope that you can be of a great help to me. > My husband that has been on this site died suddenly Feb 4th) and I can not > access my computer. He has a user name and password on the system. He has > used the Linux and Red Hat to run the computer He would boot up the > system and then I would do my email, documents, etc. I never thought to ask > him his password or username. There is no one in our area that knows how to > change the username and password on the Linux system... Can you or some one > you may know help. I did find a Red Hat Boot disk... not sure what to do with > it > > I am able to use this email so that is why I am sending this to you ,trying > to find help. I can be reached through a friend if you can call me 970 208 > 3131. or email... will be OK also I hope there is someone > to help me get on my computer... Laura Laura, I'd like to offer my condolences. My best recommendation would be for you to contact your local Linux User Group for assistance; a list is available here, organized by country and region: http://www.linux.org/groups/ You may also be able to get assistance from Red Hat; their customer service contact page is here: https://www.redhat.com/about/contact/dir/#custservice -Steve -- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v http://five.sentenc.es PGP.sig Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Going Off Top; My condolences to you Laura this is sad to hear. Going On Topic; rTorrent with wTorrent does it for me. -- Regards, James ;) Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some day die, which is not so." - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
On 2/22/2010 12:40 PM, Bob Taylor wrote: > Hi, I am writting this message in hope that you can be of a great help > to me. My husband that has been on this site died suddenly Feb 4th) and > I can not access my computer. He has a user name and password on the > system. He has used the Linux and Red Hat to run the computer He > would boot up the system and then I would do my email, documents, etc. > I never thought to ask him his password or username. There is no one in > our area that knows how to change the username and password on the Linux > system... Can you or some one you may know help. I did find a Red Hat > Boot disk... not sure what to do with it > > I am able to use this email so that is why I am sending this to you > ,trying to find help. I can be reached through a friend if you can call > me 970 208 3131. or email... will be OK also I hope > there is someone to help me get on my computer... Laura This information is pretty easy to find if you google 'linux password recovery' so I'll ignore the possibility that this might be a hoax by someone trying to break into someone else's computer. If this is a default install with no extra work to secure grub, follow these instructions: http://linuxmall.blogspot.com/2009/04/how-to-recover-red-hat-linux-password.html Note that the 'root' password it talks about is the one needed to do system maintenance and updates. If you want to change the password for some other user, use the command: passwd username and you'll be prompted to enter it twice to change it. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
> Hi, I am writting this message in hope that you can be of a great help to > me. My husband that has been on this site died suddenly Feb 4th) and I > can not access my computer. He has a user name and password on the > system. He has used the Linux and Red Hat to run the computer He > would boot up the system and then I would do my email, documents, etc. I > never thought to ask him his password or username. There is no one in > our area that knows how to change the username and password on the Linux > system... Can you or some one you may know help. I did find a Red Hat > Boot disk... not sure what to do with it > > I am able to use this email so that is why I am sending this to you > ,trying to find help. I can be reached through a friend if you can call > me 970 208 3131. or email... will be OK also I hope > there is someone to help me get on my computer... Laura Well, on the one hand, an email like this makes me *very* nervous, since it reads like a scam, with questions like "how can you email here if you can't get to his email?" On the other hand, if true, it's utterly horrible - my ...late... wife died that way, and it's not exactly a Big Sekret Of Sysadmins that all you need to do is reboot the server, and assuming it shows the usual "booting linux in x seconds", all you need to do is hit any key, then type 'e', then scroll down to the line that starts with the word "kernel"; hit 'e' again (no quotes, anywhere, of course), and at the end of the line, add the letter s (for single user mode), then , then the letter b (for boot). It then comes up in single user mode, and all you need to do is to change his password, if your email is under his account. You can cat /etc/password and you'll probably be able to figure out his username; then it's merely passwd and give a new password when prompted. When you're done, hit , and let it come up, then you can log in. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Hi, I am writting this message in hope that you can be of a great help to me. My husband that has been on this site died suddenly Feb 4th) and I can not access my computer. He has a user name and password on the system. He has used the Linux and Red Hat to run the computer He would boot up the system and then I would do my email, documents, etc. I never thought to ask him his password or username. There is no one in our area that knows how to change the username and password on the Linux system... Can you or some one you may know help. I did find a Red Hat Boot disk... not sure what to do with it I am able to use this email so that is why I am sending this to you ,trying to find help. I can be reached through a friend if you can call me 970 208 3131. or email... will be OK also I hope there is someone to help me get on my computer... Laura ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
> Linux Advocate wrote: > > is there a cli option? > > > Yes, there is. /usr/bin/bittorrent-console is provided as part of the > bittorrent package, available from http://bittorrent.com/ thanx, i will get it frm the rpmforge repo. = Package Arch Version RepositorySize = Installing: bittorrent noarch 4.4.0-1.el5.rf rpmforge-51.1 M Installing for dependencies: python-crypto i386 2.0-1.2.el5.rf rpmforge-5332 k python-khashmir noarch 4.4.0-1.el5.rf rpmforge-5 77 k Transaction Summary = Install 3 Package(s) Update 0 Package(s) Remove 0 Package(s) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Linux Advocate wrote: > is there a cli option? > Yes, there is. /usr/bin/bittorrent-console is provided as part of the bittorrent package, available from http://bittorrent.com/ 2.6.18-128.1.1.el5[r...@www ~]# yum info bittorrent Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: mirror.internode.on.net * updates: mirror.internode.on.net * centosplus: mirror.internode.on.net * addons: mirror.internode.on.net * extras: mirror.internode.on.net 955 packages excluded due to repository priority protections Installed Packages Name : bittorrent Arch : noarch Version: 4.4.0 Release: 1.el5.rf Size : 3.4 M Repo : installed Summary: Network file transfer tool URL: http://bittorrent.com/ License: BitTorrent Open Source License Description: BitTorrent is a tool for copying files from one machine to another. FTP punishes sites : for being popular: Since all uploading is done from one place, a popular site needs big : iron and big bandwidth. With BitTorrent, clients automatically mirror files they : download, making the publisher's burden almost nothing. 2.6.18-128.1.1.el5[r...@www ~]# smime.p7s Description: S/MIME Cryptographic Signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
> > For a GUI, ktorrent scratches my itch. Persists indefinitely -- across > power failures, reboots, etc.; provides many stats. > From rpmforge: ktorrent-2.2.1-1.el5.rf > For a curses solution, I like bittorrent-curses from the > bittorrent-4.4.0-1.el5.rf package -- also from rpmforge. is there a cli option? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Spiro Harvey wrote: > On Thu, 2 Apr 2009 18:41:33 -0400 > Robert Spangler wrote: > >> So what is everyone using for their torrent? >> What is the best? >> > > amusing. There is no such thing as the "best", only the best fit to your > needs. > Absolutely true. For a GUI, ktorrent scratches my itch. Persists indefinitely -- across power failures, reboots, etc.; provides many stats. From rpmforge: ktorrent-2.2.1-1.el5.rf For a curses solution, I like bittorrent-curses from the bittorrent-4.4.0-1.el5.rf package -- also from rpmforge. But as Spiro pointed out, it's all a matter of personal preference. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
Spiro Harvey wrote: > On Thu, 2 Apr 2009 18:41:33 -0400 > Robert Spangler wrote: >> So what is everyone using for their torrent? >> What is the best? > > amusing. There is no such thing as the "best", only the best fit to your > needs. > > For a start, what front end do you want? gnome, kde, tcl, cli, cli with > curses, web based? Do you want it to disappear in your system tray? do > you want to feed it into screen so you can log back into it at work and > review its status? do you want to have the status pasted in a section > of conky? > > Anybody who tells you what is "best" is just telling you their > favourite, which is almost always useless information. I use the standard torrent client in EPEL via a shell script. mkdir /src/torrent/{active,nonactive} (owned by my standard user) this shell script in ~/bin #!/bin/bash # ~/bin/bt.sh [ -f /tmp/lock_bt ] && exit 0 [ -f ~/lock_bt ] && exit 0 running="`/bin/ps aux |/bin/grep launchmany |/bin/grep "python" |wc -l`" if [ $running -lt 1 ]; then pushd /srv/torrent > /dev/null 2>&1 /bin/date >> date.log nohup /usr/bin/launchmany-console active/ > torrent.log & popd > /dev/null 2>&1 fi -=- Then I have this in my crontab: 02,07,12,17,22,27,32,37,42,45,47,52,57 * * * * sh /home/mpeters/bin/bt.sh Every 5 minutes it runs - and does nothing if already running. When I want to start a new torrent - I just throw the torrent in /srv/torrent/active/ When I no longer want to run that torrent - I move the .torrent file into /srv/torrent/nonactive Works well except there seems to be a memory leak in the EPEL torrent client - sometimes the system becomes sluggish and cpu usage spikes. Killing the client returns the system to zippy - and it automagically starts again within 5 minutes. I may modify the above script to kill the client when the system load average is high - as that will take care of the leak problem for me and prevent it from running when I'm intentionally pounding the system. Anyway - that has worked swell for me for years, other than the memory leak issue. When I want to see the progress of a torrent - tail -f /src/torrent/torrent.log That file can get rather large, but it is wiped clean whenever the client is started. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
In article <20090403123544.71991...@sod.off.knossos.net.nz>, Spiro Harvey wrote: >amusing. There is no such thing as the "best", only the best fit to your >needs. There's no need to be so pedantic. He's just asking for advise about what clients are good. -- http://yosemitenews.info/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
On Thu, 2 Apr 2009 18:41:33 -0400 Robert Spangler wrote: > So what is everyone using for their torrent? > What is the best? amusing. There is no such thing as the "best", only the best fit to your needs. For a start, what front end do you want? gnome, kde, tcl, cli, cli with curses, web based? Do you want it to disappear in your system tray? do you want to feed it into screen so you can log back into it at work and review its status? do you want to have the status pasted in a section of conky? Anybody who tells you what is "best" is just telling you their favourite, which is almost always useless information. -- Spiro Harvey Knossos Networks Ltd 021-295-1923www.knossos.net.nz signature.asc Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos