Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Wonboodoo

    /etc/passwd shell setting for NFS authentication

    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.
  2. Wonboodoo

    Help with sftp

    It's a java question, not a Sun Solaris question. Try the Java forum or search the Java API docs.
  3. Wonboodoo

    disabling telnet, rlogin... etc....

    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...
  4. Wonboodoo

    Connect to MS share from solaris

    You could run NFS server software on the Windows machine.
  5. Wonboodoo

    HP UNIX - NFS Maestro - Client

    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...
  6. Wonboodoo

    /etc/passwd shell setting for NFS authentication

    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)...
  7. Wonboodoo

    FTP: Uploading only partial file

    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...
  8. Wonboodoo

    Finding out if a file is opened by another process

    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...
  9. Wonboodoo

    Finding out if a file is opened by another process

    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...
  10. Wonboodoo

    remove a page break (^L) from a file

    &quot;strings -1 <file>&quot; would probably work.
  11. Wonboodoo

    Sendmail - World Writable Systems and Aliases

    Are the directories they're in world writeable? If so, change them to be world read-only as well.
  12. Wonboodoo

    Changing MAC address

    I thought MAC addresses were set in the hardware of the ethernet card? You sure you can do this at the OS level?
  13. Wonboodoo

    TAR backup of many files to remote tape

    What is in the include file? Do you have &quot;/&quot; or &quot;.&quot; or wildcards ('*', '?') that might include all files in the root directory?
  14. Wonboodoo

    Database 8i not restarting !!

    You got TWO_TASK set? Unset it and make sure ORACLE_SID is set .
  15. Wonboodoo

    ftp on v120

    You are trying to login as &quot;root&quot; 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...
  16. Wonboodoo

    Can I delete this directory?

    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 &quot;tar&quot; it up or save it to tape for paranoia's sake.
  17. Wonboodoo

    ftp on v120

    tcpv6 should be OK. Is your &quot;inetd&quot; process running? (&quot;ps -ef | grep inetd&quot;). What happens when you FTP to the Sun?
  18. Wonboodoo

    TAR backup of many files to remote tape

    Hugo, Your command looks OK to me. When you say it gives error, what error does it give?
  19. Wonboodoo

    ftp on v120

    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...
  20. Wonboodoo

    Can Oracle Views be Static and on disk

    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...

Part and Inventory Search

Back
Top