LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-19-2007, 03:26 PM   #1
rajaniyer123
Member
 
Registered: Feb 2004
Location: BARODA, GUJARAT
Posts: 259

Rep: Reputation: 30
About "nobody" ownsership in solaris


Hi

As we have one application in which it creates files with user& group as ownership "nobody", due to that there are issues in overwriting the same file.

Can anybody suggest how we can prevent this ownership assignment as "nobody"


Thanks
Rajan
 
Old 10-19-2007, 04:40 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
So, the application is running as user nobody. It creates files. Those files then are owned by nobody. nobody's primary group is nobody. so the group ownership is nobody. This also means that you have a directory that is writable by nobody (or, likely 777 which is writable by anybody).

The contradiction here is that you have an application you don't trust and run as nobody, yet you have a directory that you have set up to allow anyone to write to. You need to lock all of that down a bit.

Typically, if an application is running like that you want to know about it, and user nobody kind of hides it. Create a user for that application. Then if that application needs a log file or something to write to, create the log file for it and set the permissions so it can write to it. Don't have it world writable.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM
sed of "Solaris 9 Software companion CD" - problem with installation Tinkster Solaris / OpenSolaris 1 12-05-2005 09:35 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration