01-26-2018
Hmmmm........this is not easy to do but not too difficult either. Let me elaborate.
There's no standard way of achieving this with access rights, group rights, or different user setup.
What version of Solaris are we talking?
However, you can create a special read-only shell, a new mountpoint lower in the filesystem, and remount '/' on that mountpoint. A specially created userid can then login and be given a read-only shell and access to '/' remounted as read-only.
Look at this:
LNXHC: HowTo Create a read-only user (Solaris 10) - BigAdmin - wikis.sun.com
It depends whether you want to go to this amount of modification to achieve it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do you fsck the / filesystem? I know it does it automatically the next time I boot up following a switch on the wall shutdown but is there a flad somewhere that forces this on next boot up?
Thanks (2 Replies)
Discussion started by: DGK
2 Replies
2. UNIX for Advanced & Expert Users
Actually I want to display the entire output fired by ps command. My output gets trucated after 80 chars.
Thus, i am not able to see the entire command running when i give a ps -eaf ....
Does anyone know how do i display the entire output fired by ps command .. (i.e the command along with... (5 Replies)
Discussion started by: vinithepoo
5 Replies
3. Shell Programming and Scripting
Guys,
I am trying to read the whole file using while loop but when i run the ssh part of the script it reads only the first line and exit after that.
There are in total 134 lines in the file, but when the output is redirected, it does only for one line and comes to command prompt.
pls help..... (11 Replies)
Discussion started by: sdosanjh
11 Replies
4. Shell Programming and Scripting
I am using the time-honored construct "while read field1 field2 field3 ; do" to pull delimited fields from lines of data in a file, but there are a few places within the loop where I need to manipulate the entire, unsplit line of data. Does "while read" keep each entire record/line somewhere prior... (2 Replies)
Discussion started by: fitzwilliam
2 Replies
5. UNIX for Dummies Questions & Answers
Hello-
I am trying to view a file which is quite large. However, whenever I do 'cat (file name)' it shows me just the half.. I am using Putty to access my server.
Also, is it possible to edit a file from a unix system on a 'Gedit for Windows" text editor?
Thanks (7 Replies)
Discussion started by: DallasT
7 Replies
6. AIX
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
7. Shell Programming and Scripting
Hi
I am new to writing script and want to use a Bash Piped while-read and read from user input.
if something happens on server.log then do while loop or if something happend on user input then do while loop.
Pseudocode something like:
tail -n 3 -f server.log | while read serverline || read... (8 Replies)
Discussion started by: MyMorris
8 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,
I've installed RedHat 5 enterprise into a VirtualBox, but some how i can't eve create a single file, cause appear u message like this:
Read-only filesystem.
i'm logged as root.
Any idea (6 Replies)
Discussion started by: Newer
6 Replies
9. Shell Programming and Scripting
Hello,
I heva a problem creating a script that read specifc value from all the files of an entire folder
I have a number of email files into a directory and i need to extrect from each file 2 specific values.
After that i have to put them into a new file that looks like that:
To: value1
... (1 Reply)
Discussion started by: ahmenty
1 Replies
10. Solaris
Hi,
i just started few days ago to face the problem when the whole system is getting freeze. By freeze i mean:
* server is reachable (via network)
* i cannot connect to server via SSH or Telnet(when try to use SSH or telnet it will find server, try to connect, but it freeze after... (4 Replies)
Discussion started by: frankosun
4 Replies
LEARN ABOUT DEBIAN
gphotofs
GPHOTOFS(1) Debian GNU/Linux manual GPHOTOFS(1)
NAME
gphotofs - filesystem to mount digital cameras
DESCRIPTION
GPhotoFS is a filesystem client based on libgphoto2 that exposes supported cameras as filesystems; while some cameras implement the USB
Mass Storage class and already appear as filesystems (making this program redundant), many use the Picture Transfer Protocol (PTP) or some
other custom protocol. But as long as the camera is supported by libgphoto2, it can be mounted as a filesystem using this program.
As libgphoto2 is a userspace library for interacting with cameras, it is natural that if one to build a filesystem ontop of it, one should
use FUSE, and that is what I have done.
SYNOPSIS
mounting
gphotofs <mountpoint>
unmounting
fusermount -u <mountpoint>
NOTES
You must have permission to read and write the device. By default, devices recognized by libgphoto2 are created with read/write access for
group "plugdev", so users must be added to this group to use GPhotoFS.
LIMITATIONS
GPhotoFS currently can't add or remove directories, rename files or directories, add or modify files and get space information.
SEE ALSO
fusermount(1)
AUTHOR
This manpage was written by Florian Ragwitz <rafl@debian.org> for the Debian GNU/Linux distribution, but may be used by others under the
terms of the GNU General Public License version 2.
Debian Project 2011-07-17 GPHOTOFS(1)