I figured it out by looking at the source code for pcnfsd. It's checking that the last two letters of the users shell is "sh". So doing the following works:
ln -s /bin/false /usr/local/bin/nosh
then setting the users shell to /usr/local/bin/nosh.
Presumably they were disabled by just commenting out or removing the /etc/services entries and restarting or sending a HUP signal to inetd?
I don't particularly no why you need these messages since they can't get in anyway. But you could do the following:
1) Write a little C-program that just...
Sometimes NFS shares are set up to limit which machines can access them. On Solaris it is set by the "share" command or in /etc/dfs/dfstab file. If it is not set up like that you shouldn't have to do anything, otherwise you may need to /etc/dfs/dfstab file to add the new IP addresses or host...
Hi all,
I want users to be able to NFS mount a directory that's on a Solaris server but I don't want them to be able to login (and run a shell) on that Solaris server. They are mounting it from their Windows PC (using Hummingbird's NFS client and running a pcnfsd daemon on the Solaris server)...
On a quick glance your script looks OK. Questions:
1) Is it possible that the script is called before the file is fully created locally?
2) Is it possible that you can end up with multiple copies of this script running simultaneously, and one script FTPs the file and moves it before the second...
I found an answer on usenet (google groups). I don't have the link right now, but it involves using the "stat" command on the file and comparing the "dev" and "ino" entries with all those that can be found in /proc/*/fd/* (which contain file descriptors of all running processes).
If any of the...
How in Perl can you tell if a file is opened by another process? i.e. I'm looking for something similar to the unix "fuser" command.
I tried working with "flock" but it only works if the other process has explicitly acquired a lock on the file. If the other process has not then "flock" fails to...
You are trying to login as "root" directly, which is not allowed (except on the console) depending on an entry in a file (/etc/default/login I think it is). Can't remember which entry it is, someone else will know (or ask Google). It's a security thing.
If you want to become root via...
I think you can safely delete it. I think it's Java demo programs???
Anyway, rename it first just to be sure, that way if something breaks (unlikely) you can easily put it back. You can also "tar" it up or save it to tape for paranoia's sake.
FTP on Solaris is normally enabled by default. Have you tried FTPing to the box?
If it's disabled you need to make sure there are entries for it in /etc/services:
ftp-data 20/tcp
ftp 21/tcp
and /etc/inetd.conf:
ftp stream tcp nowait root /usr/sbin/in.ftpd...
View is saved to disk I believe, but it's data may be memory resident if the data is used a lot and SGA (memory) is big enough to hold it. Oracle data is kicked out of memory on a least-recently-used algorithm.
The downside is a materialized view is not always current, and if you make it always...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.