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
command to change duplex settings.. sag71155 HP-UX 2 03-23-2008 01:21 PM
.profile settings satgur UNIX for Advanced & Expert Users 1 08-19-2006 06:03 AM
how do I change locale settings? m223464 SUN Solaris 1 11-29-2005 08:57 PM
change in .profile sam71 UNIX for Dummies Questions & Answers 2 06-01-2005 07:13 AM
SunOS - root's .profile xadamz23 UNIX for Dummies Questions & Answers 3 08-08-2003 12:40 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-07-2006
Registered User
 

Join Date: Sep 2005
Posts: 85
How to change root's .profile settings

As a regular (non-root) user on Unix servers I'm accustomed to changing my .profile file to set paths that I frequently use, etc.

I am trying to learn unix and set up a test server running SunOS 5.8. When I login as root I don't see a .profile file that belongs to root wherein I could change the default shell, path variables, etc.

What am I missing? How do I create the file, or is it somewhere I'm not looking in?

Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 08-07-2006
Registered User
 

Join Date: Jul 2006
Posts: 55
there might be a default .profile in /etc that is read when root logs in. also, you can just do touch .profile in roots home dir then edit it to your liking. you may have to source it for it to take effect, or else just log out then log back in.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:52 AM.


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 Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0