The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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
Home Directory Jail for Users mz043 UNIX for Dummies Questions & Answers 3 04-18-2007 01:14 PM
Home dir for users qfwfq HP-UX 2 01-12-2007 02:18 PM
How best to extract the users home from /etc/password spaceship Shell Programming and Scripting 4 03-30-2006 07:39 AM
HACMP users home directories zz2kzq AIX 1 02-21-2006 03:22 PM
Profiles for users without home directory naina UNIX for Dummies Questions & Answers 3 02-05-2006 04:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-04-2008
sdspawankumar sdspawankumar is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 11
Can't create users in /home

Hi Friends,,

I installed solaris 10 in vmware just now.I got a simple problem while i want to create users in /home directory.It is saying "cannot create ".So i checked the permission and then i find that the perm to user(root) is r-x.So i tried to change it to rwx using chmod but again i got a warning "can't change /home".

I didn't get why i am not able to change even as root.Then i checked,,Is there any other directories with same permissions.Then i found vol,proc,net,home are the directories which have r-x perm's.So i tried to change the remaining ,,then /proc and /net also didn't get changed but /vol got changed to rwx.

The major part i noticed is,, for all these directories the usename 'n' groupname is root ..I am trying to create files in home because,, in my previous installations i had done that and i suceeded.I didn't get this problem before.

The problem seems to be simple but i am not able to solve...
Can anyone help in this issue...
  #2 (permalink)  
Old 02-04-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,947
don't touch these directories! /home ist a mountpoint for the nfs automounter (e.g for nis domains). typicaly the users got to /export/home/"username".
have a look at /etc/auto_master!
  #3 (permalink)  
Old 02-04-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
In addition to the previous comments. A typical /etc/auto_home for use on a single machine where you really want home directories in /home would be:

Code:
*    hostname:/export/home/&
Where hostname it either the actual hostname of the machine or 'localhost'
  #4 (permalink)  
Old 02-04-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,947
@reborg

nice one...
  #5 (permalink)  
Old 08-21-2008
dberryUwaterloo dberryUwaterloo is offline
Registered User
  
 

Join Date: Aug 2008
Location: Waterloo Ontario
Posts: 1
Question Since can't create users in /home, how to make /home/userid path work?

I had exactly the same experience as sdspawankumar..
The problem I was trying to solve is that I have binary code from an
earlier Solaris on SPARC that has file paths /home/dberry/... hardwired
into the code. Since the administrators made my account at /u/dberry
for consistency with the rest of the environment, I was trying to make
a symbolic link under /home/ called dberry set to point to /u/dberry.
After all, this is what I did on some past Solaris and other machines..
Occasionally, I would make home a symbolic link under /.

OK.. so it's clear that neither trick will work on Solaris 10..

Given that.. is there some incantation I can say in some start up file
that will cause "/home/dberry/XXX" in executables to be mapped to /u/dberry/XXX? I get the feeling from reading what I have found about this problem that the purpose of the way /home is built is for behavior
like what I want..

Thanks
Dan
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0