LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 11-27-2002, 02:20 PM   #1
sandoz
Member
 
Registered: Aug 2002
Distribution: Ubuntu 7.04
Posts: 36

Rep: Reputation: 15
SCO root password recovery


Anyone know how to boot SCO into single user mode for the purpose of reseting the root password?
 
Old 12-06-2002, 12:16 PM   #2
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
can you su?
if so does sco use sysV runlevels?
try
/sbin/init 1

or no?
try
shutdown now
(to reentermultiuser here)
exit
or
fastboot

Last edited by 5amYan; 12-06-2002 at 12:19 PM.
 
Old 12-07-2002, 05:04 AM   #3
sandoz
Member
 
Registered: Aug 2002
Distribution: Ubuntu 7.04
Posts: 36

Original Poster
Rep: Reputation: 15
no i cannot su. I cannot even log in. I found a way to boot into single user mode, but it requires the root pass.

Don't know if its sysV. Don't know too much about sco actually.

Might have to blow the box away.
 
Old 12-07-2002, 01:59 PM   #4
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
What version?
I remeber reading recently that SCO is one of the least hacked OSen...

what services are running?
How did the password get lost?
 
Old 05-20-2003, 03:13 AM   #5
slick_willie
Member
 
Registered: May 2003
Posts: 46

Rep: Reputation: 15
I have the same problem. A previous admin who has left set the root password, now I'm at a loss. Do any of you have password recovery info specifically for SCO?
 
Old 05-20-2003, 04:31 PM   #6
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
If you have access to the physical machine and a boot disk (probably any disk that can read the file system will be fine -- i.e., a Slackware boot disk may work). Boot with the boot disk, mount the partition that contains the passwd and shadow file, edit those files (empty the password field), then reboot SCO. Log in as root, set a new password.

[SCO rant]
By the way, in my opinion, you should ditch SCO for something more willing to play with others.
[/SCO rant]
 
Old 05-20-2003, 06:14 PM   #7
slick_willie
Member
 
Registered: May 2003
Posts: 46

Rep: Reputation: 15
Thanks for the reply. You wouldn't happen to know the directory the root password is usually kept in, would you?
 
Old 05-20-2003, 06:43 PM   #8
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
It's usually in /etc/passwd or /etc/shadow, depending on how the authentication works.
 
  


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
Root password recovery Jabber Linux - Security 6 11-27-2005 04:23 PM
lost root password on a sco system Maldain Other *NIX 11 06-20-2005 11:26 AM
Root Password Recovery ? Pravat Linux - Security 1 04-24-2005 04:46 AM
Password Recovery (not root) NewbGhostShells Linux - Newbie 3 12-17-2003 03:03 PM
root password recovery... roofy Linux - Software 7 05-06-2003 02:37 PM


All times are GMT -5. The time now is 11:43 AM.

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