I'll just answer the easy one! 1. dnsdomainname --fqdn check http://linuxcommand.org/man_pages/dnsdomainname1.html for more details
All the best, Julian Luton Boff Ltd 10 Frith Street - opposite the Dog and Duck London UK +44 207 4343300 ......<<<computer people for creative people>>>...... -----Original Message----- From: Greg J. Zartman [mailto:[EMAIL PROTECTED]] Sent: 09 July 2002 18:28 To: Devinfo Subject: [e-smith-devinfo] Accounts question I'm working on a maintenance type script for my SME box and have hit a couple of hurdles. I'm sure each are quite easily answered. 1. Is there a way to determine the mail server name from the command line (e.g. mail.mydomainname.com)? 2. What is the correct method for creating a new account from the command line so that it fit's into the SME model? 3. Is it possible for a script running as root to access an account password for a given user? Thank you. -- Greg J. Zartman, P.E. Vice-President Logging Engineering International, Inc. 1243 West 7th Avenue Eugene, Oregon 97402 541-683-8383 541-683-8144 www.leiinc.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org