ALERT!!! ALERT!!! I messed up the UNIX!!!


 
Thread Tools Search this Thread
# 1  
ALERT!!! ALERT!!! I messed up the UNIX!!!

Hello
If you want a short description read my last thread!

I have no root access anymore. No remote access! By user access i get a programm started and when i close it, i got logged off!

So I guess I messed up the passwd file!

is there a chance of booting a unix system (SCO-UNIX UnixWare 7.1.1) in a kind of linux single mode? I need to edit the passwd file!!!


Please, I need some help!

Thanx
Marcus - -> an almost dead man! Smilie Smilie Smilie
# 2  
I just started the RH7.0 rescue cd.
It found the scsi device.
But somehow I cannot use fdisk to view the partitiontable. When I use cat /proc/partitions then it says that there are a sda and sda4. But I cannot mount them. It says no valid device found.
# 3  
# 4  
system problems

Fwurm,

I can sympathize with your problem. I had a problem with root on an HP box a few months ago.

What I did was shutdown and come back up to single user mode.
When the system is coming back up, it should have a moment where it will ask you if you want to interupt. Do it.

This should take you to single user mode. You should be able to mount all available filesystems with "mount -a" command.

then do "df -k" to see if you can see all disks. Somewhere under /etc you should either have a backup password file you created or there should be a default minimal password file with just root, daemon, bin and some other ids in it.

You should save your current bad passwd file and copy over the minimal passwd file. This should help you get back upto multi user mode.

Hope this helps. Of course my advice is based on HPUX, so your results may vary.

Smilie Smilie
# 5  
My problme right now is that i dont know how to boot up in single user mode. Smilie(

I try to boot -s and different stuff. the only documentation i have is a solaris book, where i get some ideas from.

what did you issue at the boot promt fpr single user mode?
# 6  
boot problems

You should be able to type "boot -s" at the "ok" prompt. If not, answer the following questions and I will try and help you.

Is your box up at all? Do you have any kind of a prompt?
Do you have a rescue disk?
Can you turn off the box and hard boot? (switch off and on?) Then come to single user mode by typing "boot -s" then enter the root user and password.

Is this a home PC or work-related box?

Answer these and I will try to help further.

Smilie
# 7  
Even worse!
It is our one and only server! Smilie

Okay.
I get an boot promt where i cn choose between the different kernels (unix, unix.old and unix.pds) and i can specify different options there.
but i did not get to boot up in single user mode!
is tryied to set BOOTPROG=unix -s, but it did not find the kernel unix -s.
i also tried to type boot -s at the boot prompt. all with out success.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Cybersecurity

**ALERT**ALERT* Whats app requesting users to upgrade to latest version as; its vulnerability found.

Hello All, Want to share here an article for Whats app users that team whats app is requesting users to upgrade to its latest version since they have found a vulnerability; where Hacker could turn on a cell's camera, mic and scan messages and emails. Here is an article from "THE VERGE" for... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

2. UNIX for Beginners Questions & Answers

Email Alert in UNIX

Hi There I have to wrote a script where I am able to echo a result of an SQL script, however I want to be able to send an email to myself when it is more than 0 (so whenever a value is returned) is this possible? I tried one way from looking on the web but this didn't work, I have added my... (8 Replies)
Discussion started by: simpsa27
8 Replies

3. Shell Programming and Scripting

Alert for monitoring

Dear All, I am new to unix scripting, i need to develop a alert system which get trigger when my scripts don't find any *.log file to copy from one directory to other directory. In detail my scripts run every day and it create a dummy file and check all those *.log file 1 day old and copy them... (3 Replies)
Discussion started by: guddu_12
3 Replies

4. Shell Programming and Scripting

Pager Alert

I want to check the log file continoulsy and to send a page alert if i see specific message like Reached Max Connrctions . Please suggest how to do this through script DO i need to enable the cronjob to run the script evey 5 min or what is the best way (4 Replies)
Discussion started by: mskalyani9
4 Replies

5. Shell Programming and Scripting

Unix Shell Script to automate email alert

Hi all, I have a task on my plate which is of high priority. I need an automated email alert that checks FTP notices subdirectory on a daily basis and forwards any word files to a group of people. This word files gets created whenever there is an issue with FTP connectivity. Please help...... (1 Reply)
Discussion started by: stunnerz_84
1 Replies

6. UNIX for Dummies Questions & Answers

Alert to be triggered

Hi, I need an alert to be triggered if any filesystem(imagine there are n no of filesystems) reaches more than 90%, it should send an alert to the mailbox stating which filesystem is at what percentage. How can I achieve this in unix? Many thanks. (8 Replies)
Discussion started by: venkatesht
8 Replies

7. Shell Programming and Scripting

File alert

Hi friends I have configuration files in one directory. I want to get an alert if any of the existing files gets modified or any new configuration file is present in the directory. Please help me to design a script for this task. Thanks in advance. John (2 Replies)
Discussion started by: johnl
2 Replies

8. Shell Programming and Scripting

email Alert

Hello, I want a script that will scan the file /etc/httpd/conf/httpd.conf and the folder /etc/httpd/libexec/ -bash-2.05b# grep mod_r /etc/httpd/conf/httpd.conf LoadModule rewrite_module libexec/mod_rewrite.so AddModule mod_rewrite.c -bash-2.05b# -bash-2.05b# find... (4 Replies)
Discussion started by: fed.linuxgossip
4 Replies

9. UNIX for Advanced & Expert Users

Intruder Alert

Good Day I am running HP-UX 11.11 on a PA-RISC Server,when i login as a normal user and i type the command "whoami" i get the "Intruder Alert" on the display? as follows /triceps/triprod/bin $ whoami Intruder alert. /triceps/triprod/bin $ Why does this happen and must I be worried... (1 Reply)
Discussion started by: shawnbishop
1 Replies

10. Post Here to Contact Site Administrators and Moderators

Alert system

Do you have an alert system? meaning when your question has been answer, could be u guys send an email, informing the question has been answer, of someone did post a reply? Thanks (2 Replies)
Discussion started by: owange_county
2 Replies

Featured Tech Videos