The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Discussion of homework rule kowrip Post Here to Contact Site Administrators and Moderators 5 09-14-2003 07:38 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2008
Registered User
 

Join Date: Nov 2002
Location: London
Posts: 28
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.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-18-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
You have a backup, of course?

Seriously, this cannot be answered without information about which platform you're on.
Reply With Quote
  #3 (permalink)  
Old 05-18-2008
Registered User
 

Join Date: Nov 2002
Location: London
Posts: 28
Quote:
Originally Posted by era View Post
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.
Reply With Quote
  #4 (permalink)  
Old 05-18-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,452
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.
Reply With Quote
  #5 (permalink)  
Old 05-18-2008
Registered User
 

Join Date: Nov 2002
Location: London
Posts: 28
Quote:
Originally Posted by Perderabo View Post
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0