--- Jenny_Hopkins@toby-churchill.com wrote:
Hi all: I'm starting to look at various permission options. 1./ In order to be able to shut down as user other than root, I created a file /etc/shutdown.allow as per man shutdown help file. I then entered the users jenny and root. su back to jenny and try "shutdown -a now" but still get the message "shutdown: command not found".
export PATH=/sbin/:$PATH
should do the trick. Put a line similiar to this in your .bashrc file.
Or just use su like everyone else :o)
2./ I want to make my linux backup files more foolproof by backing up onto a spare directory on windows box using smbmount. But if I write a small script to do this, I'm going to have to include my password in the script. The best I can find written about doing this anywhere just says that if you have to include a password in a text file, make sure there are no read permissions for users. But would you say it is dodgy to write stuff with passwords at all? How else would you get round this?
Quote from linus "Real people don't use Tape backups, they just upload there data onto the web and let everyone else mirror it"
Depends what else you use the password for.
Its genereally good practice to adopt a "one password, one system" attitiude but I know alot of people don't.
If you put it in the file and just make it so it has
---x------ then you are away.
Alternatively, scan.co.uk sell CDRW drives from �65, get one and use for backup.
Thanks
D
Thanks
D
Thanks! Jen
alug, the Anglian Linux User Group list Send list replies to alug@stu.uea.ac.uk http://www.anglian.lug.org.uk/ http://rabbit.stu.uea.ac.uk/cgi-bin/listinfo/alug See the website for instructions on digest or unsub!
===== -------------------- "We all know Linux is great... it does infinite loops in 5 seconds." Linus Torvalds
__________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/