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
Passwording Directories in Unix jeffreydavisjr UNIX for Dummies Questions & Answers 3 05-11-2006 01:30 PM
File group ownership changing automatically top_gun UNIX for Advanced & Expert Users 1 12-09-2005 12:37 PM
Stubborn file ownership problem! Argh! questor UNIX for Dummies Questions & Answers 0 09-29-2005 06:34 PM
help regarding file ownership amit007 Shell Programming and Scripting 5 09-07-2005 02:42 AM
Unix File System performance with large directories dive UNIX for Dummies Questions & Answers 3 03-12-2004 02:31 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-06-2003
Registered User
 

Join Date: Sep 2003
Location: Germany
Posts: 6
Unix ownership from directories and file

Hi,
I have newly installed sun solaris on my pc since I would like to learn something more about unix. During the installation, I had to assign a password for the super user root.After the installation, the book I am following suggested me to create a new user which I did. My home directory is now /export/home, but in home i have just lost+found and home is owned from root. Does it mean I have to create each folder and file in there like the ones i see for root?(i.e usr/bin, bin, sbin, etc) How can I do that if my home directory is owned from root? I can not even create my .profile in there. Any suggestion? Can I have the same structure as root but owned from me?
Thanks
Giuliano
Forum Sponsor
  #2  
Old 10-06-2003
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 718
..........

you did something wrong while creating the user.... normaly your userdirectory should be /export/home/username

# useradd -d /export/home/pressy -g staff -s /bin/sh pressy

you could also create an new folder in /export/home, edit /etc/passwd to the right directory and change the ownerchip of the directory.........

do you have an X? there you could use admintool or the "new" smc (solaris management center)......

greetings Preßy
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:44 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