The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
file permission problem skully SUN Solaris 2 05-25-2008 11:29 PM
Partition Permission Problem bunky6767 UNIX for Dummies Questions & Answers 3 05-14-2008 07:58 AM
dos2unix permission problem eric_wong_ch Linux 2 10-14-2007 11:41 PM
Permission problem rockyrak Forum Support Area for Unregistered Users & Account Problems 2 02-10-2005 01:24 PM
File permission problem jodie UNIX for Dummies Questions & Answers 2 11-11-2003 06:35 PM

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

Join Date: Sep 2006
Posts: 31
Stumble this Post!
Permission Problem

I ran the sys-unconfig command and now I can't seem to change the permission on that folder evne though I'm the Superuser(Root admin).

I need to fix this so the user 'tommy' can login and have his home directory working.

How do I fix this???

http://www3.telus.net/superstar/error.jpg
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-18-2006
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Stumble this Post!
Are home directories NFS mounted?

If so you neet to change that on the master server.

Also is tommy still in the passwd file?
Reply With Quote
  #3 (permalink)  
Old 09-19-2006
Registered User
 

Join Date: Sep 2006
Posts: 31
Stumble this Post!
Quote:
Originally Posted by reborg
Are home directories NFS mounted?

If so you neet to change that on the master server.

Also is tommy still in the passwd file?
My drectories are not NFS mounted. Yes tommy is stll in the 'passwd' file.

Looks like /home/ is not on a local file system, why is that? I only have one hard drive and it's installed only the the Solaris partition.

How do I mount it on a local file system so I can get the user 'tommy' to work?thanks.
Reply With Quote
  #4 (permalink)  
Old 09-19-2006
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 712
Stumble this Post!
/home is controlled by the automounter, delete the entry of /home in your /etc/auto_master and restart the automounter:

Code:
# touch /home/test
touch: /home/test cannot create
# vi /etc/auto_master

"/etc/auto_master" 6 lines, 113 characters
# Master map for automounter
#
+auto_master
/net            -hosts          -nosuid,nobrowse
#/home          auto_home       -nobrowse
/xfn            -xfn
#
#
# /etc/init.d/autofs stop
# /etc/init.d/autofs start
# touch /home/test
# rm /home/test
in solaris 10 you will need "svcadm restart svc:/system/filesystem/autofs"

regards pressy
Reply With Quote
  #5 (permalink)  
Old 09-19-2006
Registered User
 

Join Date: Sep 2006
Posts: 31
Stumble this Post!
Quote:
#/home auto_home -nobrowse
I have done that cmd.

Quote:
# /etc/init.d/autofs stop
# /etc/init.d/autofs start
These two cmds are not found in my system.

Sorry I forgot to mention that my system is Solaris 10 6/06 x86. Thanks.
Reply With Quote
  #6 (permalink)  
Old 09-19-2006
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 712
Stumble this Post!
in solaris 10 you will need "svcadm restart svc:/system/filesystem/autofs"

gP
Reply With Quote
  #7 (permalink)  
Old 09-19-2006
Registered User
 

Join Date: Sep 2006
Posts: 31
Stumble this Post!
Thank you, you're awesome!!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:13 PM.


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

Content Relevant URLs by vBSEO 3.2.0