Broken the cardinal rule


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Broken the cardinal rule
# 1  
Old 05-18-2008
Broken the cardinal rule

Hello guys,

I have broken the cardinal rule - not creating normal user and working as Root - and as such deleted the /var/adm/messages directory. Is there any way possible to recover this.

Kind regards,
Dudley.
# 2  
Old 05-18-2008
You have a backup, of course?

Seriously, this cannot be answered without information about which platform you're on.
# 3  
Old 05-18-2008
Quote:
Originally Posted by era
You have a backup, of course?

Seriously, this cannot be answered without information about which platform you're on.
I am running Solaris 10 on an x86 platform.
# 4  
Old 05-18-2008
On x86 Solaris 10, /var/adm/messages is a file not a directory. It's 644 owned by root:root. Just create an empty file.
# 5  
Old 05-18-2008
Quote:
Originally Posted by Perderabo
On x86 Solaris 10, /var/adm/messages is a file not a directory. It's 644 owned by root:root. Just create an empty file.
Dude you rock, I was shaking cos I thought I messed up my little baby....Cheers
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Web Development

Need help with rewrite rule

Hi, I hosted my site on Apache web server. I wanted to redirect all the users request to a HTML page(maintenance page). I used the below rewrite rule to do ths same. RewriteEngine on RewriteRule .* /maintenance.html The maintenance.html page contains an image. When ever I try to... (2 Replies)
Discussion started by: BSrikanthB
2 Replies

2. Linux

IPtable rule help need

Hi, I need to configure iptable such that whatever request comes to 192.168.0.4 needs to forwarded to 192.168.0.50 and only port 80 and 443 needs to be forwarded others need to be blocked.... Thanks gr8 forum:) (1 Reply)
Discussion started by: iron_michael86
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Rule # 8

In light of this board's rule stating "no BSD vs. Linux vs. Windows or similar threads," is the following post legal (can I post it)? Hi. I'm thinking about obtaining a web server for business purposes and I want to learn to administer and maintain the server myself. I need to be able to use... (1 Reply)
Discussion started by: bluegospel
1 Replies

4. Shell Programming and Scripting

Makefile rule being skipped

I can't seem to get a rule in my Makefile to ever run... even if I change the rule to force make to re-enter the rule, or if I change the dependent files the rule depends on. Any ideas why the second rule is being ignored here? #MAKEFILES = $(DIRS:%=$(ROOT)/%/Makefile) #$(MAKEFILES):... (0 Replies)
Discussion started by: foureightyeast
0 Replies

5. Shell Programming and Scripting

Integration by trapezoidal rule

Hi everybody: Somebody know or have a simple script which can calculate the integration from a database using the trapezoidal rule in awk. I have a file like: 0.490 952.296 284.19 11.3169 0.002481 0.488 0.01 0.500 965.57 288.25 11.3395 2.48E-03 0.048 0.01 0.510 964.47 288.25 10.8759... (0 Replies)
Discussion started by: tonet
0 Replies

6. Email Antispam Techniques and Email Filtering

procmail rule

I can tell this is not a recently active formum, but here goes, "why doesn't this procmail rule block messages with víagra or v1agra appearing in the subject header :0 * ^Subject:.*(víagra¦v1agra¦pénis¦prescripti0n¦Medicati0n¦M0rtgage¦Xanaxz) { LOG="(THE 7 DIRTY WORDS) " :0 ... (4 Replies)
Discussion started by: jones
4 Replies
Login or Register to Ask a Question