LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-16-2001, 01:33 PM   #1
cloy
LQ Newbie
 
Registered: Feb 2001
Location: Portland, OR
Posts: 12

Rep: Reputation: 0
Exclamation


First let me start by saying thatI am fairly new to the Linux world, This is my first installation of 7.0. I have been working on establishing SAMBA clients and working with smbpasswd - Everything appeared to be going fine until I processed the third user into the smbpasswd database. I received an error writing out the converted password. Since my last reboot - I can not log into the system using any id & password (root included). Anyway, to make a long story short, I have a couple questions.

1) What do I do now to get back on the system?

2) What is the process that I need to follow to reset all passwd and smbpasswd files back to a point when they are all in sink again?

Thanks for any advice in advance.

.CLOY.
 
Old 02-16-2001, 02:16 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Well first you want to at least get into the system, by typing Linux 1 at the boot prompt. This will put you in single user mode where you won't be prompted for a login or password and then go check or edit files if possible.
 
Old 02-16-2001, 03:11 PM   #3
cloy
LQ Newbie
 
Registered: Feb 2001
Location: Portland, OR
Posts: 12

Original Poster
Rep: Reputation: 0
tk,
That is great news, I did not know that was the way that initlevel l worked.

Any advice on restoring a corupt passwd file?


Thanks,

.CLOY.
 
Old 02-16-2001, 04:01 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Not unless you backed them up elsewhere. If not, looks like a lot of typing maybe.
 
Old 02-16-2001, 04:25 PM   #5
cloy
LQ Newbie
 
Registered: Feb 2001
Location: Portland, OR
Posts: 12

Original Poster
Rep: Reputation: 0
I did not have a back-up copy - my bad.

I only have a handful of users so that is no big deal, what I am worried about is all the standard users and groups (i.e. root, lp, etc...) where can I start? Is there a generic copy nested in an RPM that I can grab?

.CLOY.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help! Need to recover corrupt bzip2 files.. rhinomite Linux - General 3 02-15-2005 05:02 PM
Video files corrupt over ftp ixus_123 Linux - General 5 01-19-2005 05:14 PM
Samba and corrupt files Wordan Linux - Networking 4 11-05-2004 06:51 AM
Problems with corrupt files/logging in Atmchicago Slackware 9 06-08-2004 01:19 PM
can't login (corrupt etc/passwd ?) nimrod Linux - General 4 03-01-2003 10:26 PM


All times are GMT -5. The time now is 05:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration