Unix Technical Forum

Strange problem - Permssion denied for directory /var/tmp when running vi

This is a discussion on Strange problem - Permssion denied for directory /var/tmp when running vi within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I'm trying to install some software on a system running on Solaris 10 I've created the user assigned Primary ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:45 AM
nortjed
 
Posts: n/a
Default Strange problem - Permssion denied for directory /var/tmp when running vi


I'm trying to install some software on a system running on Solaris 10
I've created the user assigned Primary Administrator rights and roo
group access.

The problem is this user cannot vi any files, even those the user owns
The system displays a Permission denied messages for director
/var/tmp.

I've checked the file system and ACL for this directory and this use
should have at least RW access to both.

Anyone have any ideas

--
nortje
-----------------------------------------------------------------------
nortjed's Profile: http://forums.yourdomain.com.au/member.php?userid=11
View this thread: http://forums.yourdomain.com.au/showthread.php?t=9465

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:45 AM
vipmishal
 
Posts: n/a
Default Re: Strange problem - Permssion denied for directory /var/tmp when running vi

can u give me the details of the user u created deatails can be found
in /etc/passwd and /etc/shadow?

Also chk permissions of /var


nortjed wrote:
> I'm trying to install some software on a system running on Solaris 10.
> I've created the user assigned Primary Administrator rights and root
> group access.
>
> The problem is this user cannot vi any files, even those the user owns.
> The system displays a Permission denied messages for directory
> /var/tmp.
>
> I've checked the file system and ACL for this directory and this user
> should have at least RW access to both.
>
> Anyone have any ideas?
>
>
> --
> nortjed
> ------------------------------------------------------------------------
> nortjed's Profile: http://forums.yourdomain.com.au/member.php?userid=116
> View this thread: http://forums.yourdomain.com.au/showthread.php?t=94652


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:45 AM
tunla
 
Posts: n/a
Default Re: Strange problem - Permssion denied for directory /var/tmp when running vi


nortjed wrote:
> I'm trying to install some software on a system running on Solaris 10.
> I've created the user assigned Primary Administrator rights and root
> group access.
>
> The problem is this user cannot vi any files, even those the user owns.
> The system displays a Permission denied messages for directory
> /var/tmp.
>
> I've checked the file system and ACL for this directory and this user
> should have at least RW access to both.
>
> Anyone have any ideas?


Are you trying to use RBAC ?

The way to use Role Based Access COntrol is to create a separate
ROLE account wich is not the users Login account, using roleadd(1M)
and then allow the user to access this new ROLE account,
this is done with usemod(1M)

There is no reason for the roleaccount to own any files.
it shoud be allowed to edit files accoridng to its priviledge.

The permission of /var/tmp is supposed to be
drwxrwxrwxt

//Lars

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:08 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com