Visit Our UNIX and Linux User Community


how do I log into this machine - with a twist...


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how do I log into this machine - with a twist...
# 1  
Old 08-29-2001
how do I log into this machine - with a twist...

I know this topic has been covered in one form or another, but it hasn't been covered to handle my problem.

I was given a Sparc4 running Solaris 2.5.1

The root password is unknown. This machine has no cdrom drive and it has no floppy drive.

I tried booting into the single user mode, but that requires the root password.

Right now I'm at a loss. I have a Solaris 2.6 CD but as I mentioned no CDRom to access it. I was wondering if it's possible to put the CDRom in my FreeBSD server and somehow have the Sparc4 boot off the CD over the network.

The problem is the address of the Sparc4 not only in a different network, but it's a different class. Is there anyway I can change the ip address w/o logging into the machine?

If I am able to boot over the network and use the CD in my FreeBSD machine, how exactly would I go about 1. reinstalling the OS, 2. entering a new root password?

I'm really lost with this one... any and all help will be greatly appreciated.

Oh yeah... taking out the HD isn't really an option, because I don't have a SCSI controller... :/
xyyz
# 2  
Old 08-29-2001
Re: how do I log into this machine - with a twist...

Quote:
Originally posted by xyyz
The root password is unknown. This machine has no cdrom drive and it has no floppy drive.

2) Right now I'm at a loss. I have a Solaris 2.6 CD but as I mentioned no CDRom to access it. I was wondering if it's possible to put the CDRom in my FreeBSD server and somehow have the Sparc4 boot off the CD over the network.

3) The problem is the address of the Sparc4 not only in a different network, but it's a different class. Is there anyway I can change the ip address w/o logging into the machine?

4) If I am able to boot over the network and use the CD in my FreeBSD machine, how exactly would I go about 1. reinstalling the OS, 2. entering a new root password?
2) You can boot from a remote server but i belave it has to be another sun station. I could be wrong tho. Check into openboot. check the web for resourses.

3) NO. if you had root acccess you can change everything on the fly.

4) if you can get it to boot of the cdrom in single user mode. you can mount the "/" and edit /etc/shadow and remove the passwd field and then boot the box in regular mode hten log in as root w/ no password.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #969
Difficulty: Medium
The Linux kernel is a free and open-source, Unix-like operating system microkernel.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File Listing, with a Twist?

Greetings! I have a quick question which must be deferred to those with greater skill than myself :) In this situation, I wish to create a list of all the files on an entire partition in descending order sorted by date. I tried numerous switches for ls, and found this line to be the closest... (4 Replies)
Discussion started by: LinQ
4 Replies

2. Shell Programming and Scripting

Simple two file compare with twist

I have file1 and file2 I lookup field3 from file2 in field1 of file1 and if there is a match, output field 2,3,5 from file2. I now want to add field2 of file1 in the output. I suspect what I have to do is read the entire line of file1 into a 2 dim array? pls help. (1 Reply)
Discussion started by: tmonk1
1 Replies

3. Shell Programming and Scripting

Simple two file compare with twist

I have file1 and file2 I lookup field3 from file2 in field1 of file1 and if there is a match, output field 2,3,5 from file2. I now want to add field2 of file1 in the output. I suspect what I have to do is read the entire line of file1 into a 2 dim array? pls help. here is my code: ... (9 Replies)
Discussion started by: jack.bauer
9 Replies

4. Shell Programming and Scripting

Delete duplicate lines... with a twist!

Hi, I'm sorry I'm no coder so I came here, counting on your free time and good will to beg for spoonfeeding some good code. I'll try to be quick and concise! Got file with 50k lines like this: "Heh, heh. Those darn ninjas. They're _____."*wacky The "canebrake", "timber" & "pygmy" are types... (7 Replies)
Discussion started by: shadowww
7 Replies

5. Shell Programming and Scripting

Incrementing with a twist - please help

I'm currently trying to write a ksh or csh script that would change the name of a file found in directories and attach to the name an incrementing three digit number. I know how to write a script that will go: 000, 001, 002, 003, etc The twist is I need more increments then allowed by a 3... (11 Replies)
Discussion started by: Rust
11 Replies

6. Shell Programming and Scripting

How to merge two files with a slight twist

Hi, a brief introduction on the soundex python module(english sound comparison): import soundex.py a = "neu yorkk" b = "new york city" print soundex.sound_similar(a, b) output: 1 Suppose I want to merge two files, called mergeleft.csv and mergeright.csv Mergeleft.csv: ... (0 Replies)
Discussion started by: grossgermany
0 Replies

7. UNIX for Dummies Questions & Answers

file count with a twist

Hello Everyone, I am using the korn shell. I was hoping to find a set of commands to count files in a directory. I am using: ls /home/name/abc* | wc -l This command works fine when a file matches abc* (returns only the file count) , however when no file(s) are found I get... (2 Replies)
Discussion started by: robert4732
2 Replies

8. UNIX for Advanced & Expert Users

building a kernel (with a twist)

Hey all, I am working on a static analysis tool and I wan't to see if it can find bugs in the linux kernel, it uses LLVM framework to analyse the instructions. Long story short I need to build the kernel with a custom compiler. The compiler will create byte code files where binaries usually... (2 Replies)
Discussion started by: zigga15
2 Replies

9. Shell Programming and Scripting

Compare 2 files yet again but with a twist

Ok so I have a file which contains 2 columns/fields and I have another file with 2 columns. The files look like: file1: 1 33 5 345 18 2 45 1 78 31 file2: 1 c1d2t0 2 c1d3t0 3 c1d4t0 4 c1d4t0 5 c2d1t0 6 c2d1t0 7 c2d1t0 8 c2d1t0 9 c2d1t0 10 c2d1t0 (11 Replies)
Discussion started by: Autumn Tree
11 Replies

10. UNIX for Dummies Questions & Answers

Suspending jobs (CTRL+Z) with a twist

Hi, Say for example I'm doing a very large scp transfer (which I am) and I keep stopping it with CTRL+Z because other people on my network need the bandwidth too. I can restart it no problem with fg but only if I dont reboot or anything in between. My question is... rather than stop/suspend a... (2 Replies)
Discussion started by: d11wtq
2 Replies

Featured Tech Videos