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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Wonboodoo

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

Part and Inventory Search

Back
Top