home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / admin / 6983 < prev    next >
Encoding:
Text File  |  1993-01-08  |  952 b   |  25 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!uotcsi2!news
  3. From: glenn@popeye.genie.uottawa.ca (Glenn Warnock 789-3225 Algonquin Associate)
  4. Subject: Shell script to invoke su and mount CD-ROM
  5. Message-ID: <1993Jan8.173010.18598@csi.uottawa.ca>
  6. Originator: glenn@shamin.genie.uottawa.ca
  7. Keywords: su, csh, cd-rom
  8. Sender: news@csi.uottawa.ca
  9. Nntp-Posting-Host: popeye.genie.uottawa.ca
  10. Organization: MCRLab - University of Ottawa
  11. Date: Fri, 8 Jan 93 17:30:10 GMT
  12. Lines: 11
  13.  
  14.  
  15. We would like to allow all users to mount CD-ROM on our netwrok. It seems the only way to do this is to use mount which requires super user provileges.
  16.  
  17. We are trying to write a script which will invoke su and mount the CD-ROM, but we cannot invoke su in the script and automatically give it the password.
  18.  
  19. Any suggestions on how to solve this problem?
  20.  
  21. -- 
  22. Glenn Warnock
  23. mail:    glenn@popeye.genie.uottawa.ca
  24. Phone:    (613) 789-3225
  25.