Re: Looking for LiveCD that comes up with ssh running
On 05/27/15 13:40, Mark Phillips wrote: I have a laptop with a broken screen. I tried connecting an external monitor, but that did not work. Not sure how much is dead...maybe the keyboard as well? I was thinking I could still use it as a headless server, but I can't get into it to work on it. I am looking for a Linux LiveCD that comes up with SSH running so I can login as root and see what is going on. The screen is dead, so I can't really type anything to enable ssh or set a password. I Googled for such a beast, but didn't find anything. Any ideas? How do you expect this to work without a 2nd computer? Do you mean to boot the broken system from a live Linux CD? And then SSH to it from a different computer? One of the PC variants from http://ttylinux.net/ might help. You'll probably need some setup to get the IP address from it, but it could boot you could log in via SSH and mount your hard drive ... -- Douglas Jerome --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: MySQL vs SQLite For Production Website?
I know very little about PostgreSQL so please forgive my ignorance. Your last statement caught my attention. You said to choose MySQL or PostgreSQL depending on use case and preferences. I can understand preferences because I would choose MariaDB because of familiarity, but what "use case" would you choose PostgreSQL over MySQL? On 2015-05-27 14:53, Joseph Sinclair wrote: I have to agree with Brian. SQLite is not intended to replace a database, it's intended to replace a flat file. Even the documentation for SQLite emphasizes that it replaces 'fopen()', not MySQL. If you would be happy (from an admin perspective) keeping the entire data set in a single text file, then SQLite is probably a good choice (with better semantics!). If you expect to *ever* need a "real" relational database backend, then start with MySQL (alt. MariaDB) or PostgreSQL (depending on use case and preferences) and evaluate from there. On 05/27/2015 12:05 PM, Brian Cluff wrote: If your database is going to be fairly small it might be OK, but in my experience sqlite ground my website to a halt once the database had a few megs of data in it. It really didn't take much data at all to become ridiculously slow. Brian Cluff On 05/27/2015 11:31 AM, Mark Phillips wrote: I am working on a small project using the django framework. I have a choice of backends - mysql, postgress, sqlite. The web site will have low traffic, and 90% of the assets are scanned images (pdf, tiff, jpeg), so they will be stored in a file system and not in the database. The framework/database are for tags and search terms (ocr from pdfs) and user login credentials. I am inclined to use the sqlite backend so the site uses fewer resources and to make backups easier. However, I have never used sqlite in a production environment. According to the sqlite website, it is production ready. Would you recommend sqlite for a production website? Thanks, Mark --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: OT: GoDaddy Isn’t the Company You Think It Is (article title)
"The hope, Murphy says, is that the company can also build a new breed of applications using the enormous amounts of data it collects on its customers, which now number more than 13 million." That was the real value in the purchase of GD, someone finally realized the value having some 60 million domains all pointing their dns at you, even better if hosted to get urls too, can provide in terms of analytics. Why google loves everyone using 8.8.8.8 and 8.8.4.4, you feed them that plus searches too, but gd being root/glue records for those domains also. Everyone loves tracking and selling your data. I worked there 03-06, and again after the new regime 13-14, and both rounds by the time I left, felt it was defeating there. It was fun in the early Bob days, I never watched tv or sports, could really care or less what drivel marketing spun to those that do, plus growth afforded me newer, bigger networks to play with. Win! What was great being there at that time was building the network to keep up with that torrent of growth. Once GD got big enough, like any bloated corporation, the cannibalistic politics and in-feeding began, new clique vs. old, and I left to make a point at the time quitting on a whim. Everything I heard for the next 6 years was tales of woes from a company standpoint people coming and going like a revolving door, but those of the geeks that stayed (or could), did so for the love of tech and infrastructure. After my old boss convinced me to return in '13, soon after every other new manager/vp/cxo's came with predatory replacement of others around them, even management hired sometimes not months ago, because the new goodness of the week was in and they wanted their clique around them. Soon it became apparent it was "new goodness of the week" vs. "old dead-weight" attitude toward anyone that didn't come in with a new clique began to see almost random firings, layoffs, conniving, and in general, weirdness between everyone around them. It got worse when all the new offices got free catering, xboxes, race tracks, etc, and the old didn't, making everyone *not* a new acqusition feel quite special once word got out. The ghettos and castes formed quickly around where the favored new management resided. Having been there only 6mo or so into that second run, it just got weird there like watching several Mike Judge shows combined, and I have never seen anything ever good come of clique formations in *any* company. When the loathing upon going to work began, I quit again to just consult, leaving a good salary and healthy options, hoping to never work for a defeating corporation like that and so many others again. I left for almost the exact same reasons I quit 7 years before, so I beg to differ with wired that anything but the faces have changed. Parsons was at least flamboyantly odd in a Rick James sort of way to keep it interesting and growing then, now it was more faceless and disappointing in a Microsoft or General Motors sort of way. They needed a fresh start, but hiring the best of yesteryear from Microsoft and Yahoo didn't seem too bright. It quickly devolved to just another mediocre corporation with infighting, throwing buzzwords, thrashing around inside and out to remain relevant where $3/mo hosting accounts and cheap domains aren't that special anymore. Good or bad, people remember GD for the controversy, without it's just a grind with a sugar coating on the outside and no discernible identity. -mb On 05/27/2015 07:38 AM, Keith Smith wrote: I can tell you that in 2004 Godaddy was a rough place to work. --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: OT? Are they really teaching this?
Thanks James, Michael and Anthony, I like your perspectives. Anthony, I see your point about the instructor versus the institution. As always, the conversation here is as open as the technology we discuss. :) I got some instructor-based attitude for asking questions in a CompTIA Network+ prep course. (a Gale Courses program offered through the Maricopa County Library). Apparently the deployment of multiple Wi-Fi AP's isn't on the test so my inquiry was deemed off-topic. So was wanting to know if anything open source is on the test. He sniped 'this isn't a Cisco test'. Thank you captain obvious! How could anyone know what's on the test if they haven't taken it yet, hence the enrollment in a prep class? CompTIA states it's non-vendor specific, so asking if there's open source questions is hardly off topic. Would our heads explode if we briefly touched on a little extra? I find it interesting that some instructors think providing good customer service does not apply to them. I won't take it personally as he's terse with everyone and a fine example of how not to communicate with others. I've been working freelance for years in several technologies and never had a client ask me about certs. Fix things right, answer questions well, be fair and honest. They're happy and call you back. For me it's all about learning. I usually do that ad-hoc with a few classes to fill in the gaps. I can vouch for David Iseminger's network classes through the county library. He's the kind of instructor you wish you always got. --Kenn --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: MySQL vs SQLite For Production Website?
I have to agree with Brian. SQLite is not intended to replace a database, it's intended to replace a flat file. Even the documentation for SQLite emphasizes that it replaces 'fopen()', not MySQL. If you would be happy (from an admin perspective) keeping the entire data set in a single text file, then SQLite is probably a good choice (with better semantics!). If you expect to *ever* need a "real" relational database backend, then start with MySQL (alt. MariaDB) or PostgreSQL (depending on use case and preferences) and evaluate from there. On 05/27/2015 12:05 PM, Brian Cluff wrote: > If your database is going to be fairly small it might be OK, but in my > experience sqlite ground my website to a halt once the database had a few > megs of data in it. It really didn't take much data at all to become > ridiculously slow. > > Brian Cluff > > On 05/27/2015 11:31 AM, Mark Phillips wrote: >> I am working on a small project using the django framework. I have a >> choice of backends - mysql, postgress, sqlite. The web site will have >> low traffic, and 90% of the assets are scanned images (pdf, tiff, jpeg), >> so they will be stored in a file system and not in the database. The >> framework/database are for tags and search terms (ocr from pdfs) and >> user login credentials. >> >> I am inclined to use the sqlite backend so the site uses fewer resources >> and to make backups easier. However, I have never used sqlite in a >> production environment. According to the sqlite website, it is >> production ready. >> >> Would you recommend sqlite for a production website? >> >> Thanks, >> >> Mark >> >> signature.asc Description: OpenPGP digital signature --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: Looking for LiveCD that comes up with ssh running
https://wiki.archlinux.org/index.php/Install_from_SSH There is setup of SSH, but it is simple enough to do blind, especially if your network auto-setup works (and it usually does). I have used this on a Rasp Pi, and it worked perfectly. HTH Kevin On May 27, 2015 2:40 PM, "Mark Phillips" wrote: > I have a laptop with a broken screen. I tried connecting an external > monitor, but that did not work. Not sure how much is dead...maybe the > keyboard as well? I was thinking I could still use it as a headless server, > but I can't get into it to work on it. I am looking for a Linux LiveCD that > comes up with SSH running so I can login as root and see what is going on. > The screen is dead, so I can't really type anything to enable ssh or set a > password. I Googled for such a beast, but didn't find anything. Any ideas? > > Thanks! > > Mark > > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss > --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Looking for LiveCD that comes up with ssh running
I have a laptop with a broken screen. I tried connecting an external monitor, but that did not work. Not sure how much is dead...maybe the keyboard as well? I was thinking I could still use it as a headless server, but I can't get into it to work on it. I am looking for a Linux LiveCD that comes up with SSH running so I can login as root and see what is going on. The screen is dead, so I can't really type anything to enable ssh or set a password. I Googled for such a beast, but didn't find anything. Any ideas? Thanks! Mark --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: OT: GoDaddy Isn’t the Company You Think It Is (article title)
I worked there in 2006 for a year. I made decent money but it was a stressful place to work. Sales, sales, and more sales. I learned a bit working there but mostly learned how to be a good salesman. Oh and the politics. :/ Jason Sent from my iPhone > On May 27, 2015, at 7:38 AM, Keith Smith wrote: > > > I can tell you that in 2004 Godaddy was a rough place to work. The company > culture was the worst of any I have worked in. I would characterize Godaddy > as predatory. Obviously this move is market driven not coming from Bob > Parsons. If this was of Parson's principles he would have built a different > company early on. It's all fluff intended to increase market share. That > stain is going to be hard to remove. > > When asked about that first Super Bowl ad, I told my manager that I thought > the company could represent itself better. That response almost got me fired. > > In all fairness I would say most companies are all about self. Look at Wells > Fargo in California. > > On the positive side, I learned a lot during that year at GoDaddy. Skills I > use to this day. > > http://www.wired.com/2015/05/godaddy-isnt-company-think/?mbid=nl_052615 > > -- > Keith Smith > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: what to do if lost password
I think i recall you working with Linux Mint, but this should be reasonably close for most *buntu/debian related builds. http://community.linuxmint.com/tutorial/view/339 On Wed, May 27, 2015 at 12:37 PM, Michael Havens wrote: > I haven't changed anything yet but in my trial run on the computer I do > not want to change anything on it asked me for the new password. > These are the instructions I followed: > > Just use GRUB to boot into single user mode / recovery mode. > > (1) At grub boot screen (after restart) > (2) Select the kernel > (3) Press the e key to edit the entry > (4) Select line starting with the word kernel or linux > (6) Append the letter S (or word Single) to the end of the (kernel) line > Append init=/bin/sh to the kernel command line > cntrl-X > then mount the root filesystem (if it isn't already done for you) and run > passwd to reset the root password or passwd user to reset user's password. > > > :-)~MIKE~(-: > > On Wed, May 27, 2015 at 8:06 AM, Stephen Partington > wrote: > >> This works great on Linux based systems. But on something running Linux >> you will need to hash the registry and reset the password. There is a tool >> to do this if there are any local users present. (does not work on active >> directory accounts). >> On May 27, 2015 7:17 AM, "Michael Havens" wrote: >> >>> I got a friend upon whose computer (old XP) I installed Linux. She >>> called me last night because she forgot the password. Well, I asked the >>> Florida user group about what to do and this is what they had to say: >>> >>> >>> Just use GRUB to boot into single user mode / recovery mode. >>> >>> Append *init=/bin/sh* to the kernel command line, then mount the root >>> filesystem (if it isn't already done for you) and run *passwd *to reset >>> the root password or *password user *to reset user's password. >>> >>> >>> >>> http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/ >>> I'd bring a CD containing System Rescue CD just in case. >>> >>> http://www.sysresccd.org/SystemRescueCd_Homepage >>> >>> By the way, you can bust back into borked VMs with System Rescue CD ISO >>> files, too. >>> >>> By the way, if you use System Rescue CD, do something like this, >>> assuming her / is the mountpoint for /dev/sda1: >>> >>> mount /dev/sda1 /mnt >>> chroot /mnt/ bash >>> cd /etc >>> vi passwd >>> >>> Now delete the x between the first and second colons, for both user >>> root and her ordinary username, then quit vi >>> >>> exit >>> umount /mnt >>> reboot >>> >>> Now, when asked for her password, leave it blank and she'll get in. >>> Then she can change her password as desired. Same thing's true the >>> first time she logs in as root. >>> >>> If she's not trustworthy enough to leave with blank passwords, you >>> could probably use the passwd program after the chroot to change the >>> passwords. >>> :-)~MIKE~(-: >>> >>> --- >>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss >>> >> >> --- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> http://lists.phxlinux.org/mailman/listinfo/plug-discuss >> > > > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss > -- A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button. Stephen --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: what to do if lost password
I haven't changed anything yet but in my trial run on the computer I do not want to change anything on it asked me for the new password. These are the instructions I followed: Just use GRUB to boot into single user mode / recovery mode. (1) At grub boot screen (after restart) (2) Select the kernel (3) Press the e key to edit the entry (4) Select line starting with the word kernel or linux (6) Append the letter S (or word Single) to the end of the (kernel) line Append init=/bin/sh to the kernel command line cntrl-X then mount the root filesystem (if it isn't already done for you) and run passwd to reset the root password or passwd user to reset user's password. :-)~MIKE~(-: On Wed, May 27, 2015 at 8:06 AM, Stephen Partington wrote: > This works great on Linux based systems. But on something running Linux > you will need to hash the registry and reset the password. There is a tool > to do this if there are any local users present. (does not work on active > directory accounts). > On May 27, 2015 7:17 AM, "Michael Havens" wrote: > >> I got a friend upon whose computer (old XP) I installed Linux. She called >> me last night because she forgot the password. Well, I asked the Florida >> user group about what to do and this is what they had to say: >> >> >> Just use GRUB to boot into single user mode / recovery mode. >> >> Append *init=/bin/sh* to the kernel command line, then mount the root >> filesystem (if it isn't already done for you) and run *passwd *to reset >> the root password or *password user *to reset user's password. >> >> >> >> http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/ >> I'd bring a CD containing System Rescue CD just in case. >> >> http://www.sysresccd.org/SystemRescueCd_Homepage >> >> By the way, you can bust back into borked VMs with System Rescue CD ISO >> files, too. >> >> By the way, if you use System Rescue CD, do something like this, >> assuming her / is the mountpoint for /dev/sda1: >> >> mount /dev/sda1 /mnt >> chroot /mnt/ bash >> cd /etc >> vi passwd >> >> Now delete the x between the first and second colons, for both user >> root and her ordinary username, then quit vi >> >> exit >> umount /mnt >> reboot >> >> Now, when asked for her password, leave it blank and she'll get in. >> Then she can change her password as desired. Same thing's true the >> first time she logs in as root. >> >> If she's not trustworthy enough to leave with blank passwords, you >> could probably use the passwd program after the chroot to change the >> passwords. >> :-)~MIKE~(-: >> >> --- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> http://lists.phxlinux.org/mailman/listinfo/plug-discuss >> > > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss > --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: MySQL vs SQLite For Production Website?
If your database is going to be fairly small it might be OK, but in my experience sqlite ground my website to a halt once the database had a few megs of data in it. It really didn't take much data at all to become ridiculously slow. Brian Cluff On 05/27/2015 11:31 AM, Mark Phillips wrote: I am working on a small project using the django framework. I have a choice of backends - mysql, postgress, sqlite. The web site will have low traffic, and 90% of the assets are scanned images (pdf, tiff, jpeg), so they will be stored in a file system and not in the database. The framework/database are for tags and search terms (ocr from pdfs) and user login credentials. I am inclined to use the sqlite backend so the site uses fewer resources and to make backups easier. However, I have never used sqlite in a production environment. According to the sqlite website, it is production ready. Would you recommend sqlite for a production website? Thanks, Mark --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
MySQL vs SQLite For Production Website?
I am working on a small project using the django framework. I have a choice of backends - mysql, postgress, sqlite. The web site will have low traffic, and 90% of the assets are scanned images (pdf, tiff, jpeg), so they will be stored in a file system and not in the database. The framework/database are for tags and search terms (ocr from pdfs) and user login credentials. I am inclined to use the sqlite backend so the site uses fewer resources and to make backups easier. However, I have never used sqlite in a production environment. According to the sqlite website, it is production ready. Would you recommend sqlite for a production website? Thanks, Mark --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
PLUG Video: der.hans: MySQL for System Administrators
Presented at the Phoenix Linux Users Group (PLUG) on May 14th 2015 by der,hans. MySQL is ubiquitous. It will be for many years. A little knowledge will go a long way to having a good MySQL setup. A little knowledge will also leverage your command line knowledge when working with MySQL. Restorals are paramount, but you can't just backup the files. Databases have special requirements for proper backups. MySQL has mechanisms for controlling access, but general system administration tools can be used in addition to the MySQL grants. MySQL has several database engines available, choose wisely and configure it properly before starting. The slow query log can be useful for finding long-running queries, but it's not the only place to find useful log information. The presentation will also cover OS changes and good practices that will help the system administrator use and administer MySQL without having to become a DBA. https://youtu.be/uqnbaclN48A Brian Cluff --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
Re: what to do if lost password
This works great on Linux based systems. But on something running Linux you will need to hash the registry and reset the password. There is a tool to do this if there are any local users present. (does not work on active directory accounts). On May 27, 2015 7:17 AM, "Michael Havens" wrote: > I got a friend upon whose computer (old XP) I installed Linux. She called > me last night because she forgot the password. Well, I asked the Florida > user group about what to do and this is what they had to say: > > > Just use GRUB to boot into single user mode / recovery mode. > > Append *init=/bin/sh* to the kernel command line, then mount the root > filesystem (if it isn't already done for you) and run *passwd *to reset > the root password or *password user *to reset user's password. > > > > http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/ > I'd bring a CD containing System Rescue CD just in case. > > http://www.sysresccd.org/SystemRescueCd_Homepage > > By the way, you can bust back into borked VMs with System Rescue CD ISO > files, too. > > By the way, if you use System Rescue CD, do something like this, > assuming her / is the mountpoint for /dev/sda1: > > mount /dev/sda1 /mnt > chroot /mnt/ bash > cd /etc > vi passwd > > Now delete the x between the first and second colons, for both user > root and her ordinary username, then quit vi > > exit > umount /mnt > reboot > > Now, when asked for her password, leave it blank and she'll get in. > Then she can change her password as desired. Same thing's true the > first time she logs in as root. > > If she's not trustworthy enough to leave with blank passwords, you > could probably use the passwd program after the chroot to change the > passwords. > :-)~MIKE~(-: > > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss > --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
OT: GoDaddy Isn’t the Company You Think It Is (article title)
I can tell you that in 2004 Godaddy was a rough place to work. The company culture was the worst of any I have worked in. I would characterize Godaddy as predatory. Obviously this move is market driven not coming from Bob Parsons. If this was of Parson's principles he would have built a different company early on. It's all fluff intended to increase market share. That stain is going to be hard to remove. When asked about that first Super Bowl ad, I told my manager that I thought the company could represent itself better. That response almost got me fired. In all fairness I would say most companies are all about self. Look at Wells Fargo in California. On the positive side, I learned a lot during that year at GoDaddy. Skills I use to this day. http://www.wired.com/2015/05/godaddy-isnt-company-think/?mbid=nl_052615 -- Keith Smith --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss
what to do if lost password
I got a friend upon whose computer (old XP) I installed Linux. She called me last night because she forgot the password. Well, I asked the Florida user group about what to do and this is what they had to say: Just use GRUB to boot into single user mode / recovery mode. Append *init=/bin/sh* to the kernel command line, then mount the root filesystem (if it isn't already done for you) and run *passwd *to reset the root password or *password user *to reset user's password. http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/ I'd bring a CD containing System Rescue CD just in case. http://www.sysresccd.org/SystemRescueCd_Homepage By the way, you can bust back into borked VMs with System Rescue CD ISO files, too. By the way, if you use System Rescue CD, do something like this, assuming her / is the mountpoint for /dev/sda1: mount /dev/sda1 /mnt chroot /mnt/ bash cd /etc vi passwd Now delete the x between the first and second colons, for both user root and her ordinary username, then quit vi exit umount /mnt reboot Now, when asked for her password, leave it blank and she'll get in. Then she can change her password as desired. Same thing's true the first time she logs in as root. If she's not trustworthy enough to leave with blank passwords, you could probably use the passwd program after the chroot to change the passwords. :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss