The UNIX and Linux Forums  

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
useradd earlysame55 Shell Programming and Scripting 4 08-28-2007 01:37 PM
[ksh] useradd chodaboy UNIX for Dummies Questions & Answers 3 06-30-2006 10:24 AM
useradd question thumper UNIX for Dummies Questions & Answers 1 03-14-2006 02:54 PM
useradd dorilevy UNIX for Advanced & Expert Users 2 10-19-2004 03:15 AM
useradd ortsvorsteher UNIX for Dummies Questions & Answers 6 05-30-2002 04:28 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-09-2005
Selma Selma is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 13
useradd

Hi,

I need to add a new user who will only be able to access one single folder on my Solaris 9 system. Can this be achieved by using just useradd or do i need to fiddle with auth_attr table?

TIA,

Selma
  #2 (permalink)  
Old 06-09-2005
ppass's Avatar
ppass ppass is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 93
yes u can .
specify the shell of that user as rksh using useradd , this will limit the use of / and other commands .
just when u create the user specify the home of the user as the folder u want him to access and specify the shell as rksh ...

cheers

Last edited by ppass; 06-09-2005 at 11:06 AM..
  #3 (permalink)  
Old 06-10-2005
Selma Selma is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 13
Thank you for your answer. I tried this, it now prevents the user to enter all directories including it's home directories Should the owner of the user's home directory be the user itself or root?
  #4 (permalink)  
Old 06-10-2005
ppass's Avatar
ppass ppass is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 93
the user may have the permission to create files and perform some other commands within his home directory ....
if u dont want him to do any of that ,then u can make the owner as root .
otherwise i think that rksh is sufficient .


cheers
  #5 (permalink)  
Old 06-13-2005
Selma Selma is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 13
yes, i think this will work fine. Thanks for your help.
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 11:02 PM.


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