Hi Kevin: This is just a matter of getting used to Linux/Unix principles. Any book on Linux/Unix System Administration would do you a world of good as a reference. Until then here are some essentials.
First read this link: http://www.gratisoft.us/sudo/man/visudo.html Also you can from within YDl do man visudo as in: $man visudo Doing this will result in getting the same information you'll read in the above link. I've got to create an alternate ID recognized in my sudoers file, as do you. So I'll do it and just follow what I do. Of course, create your own name. I'll use as a variable altid just so you can follow the example. Before you actually run vim you can run vimtutor instead and go through the coursework learning how to use vim. Do this: $vimtutor Hit the Enter key afterwards to execute the function and follow the learning process. Make sure you learn how to create, and save files within vi/vim. After the above learning has been completed then enter root or administrator mode. By the way, you did create an administrator password different from your common user or altid password, yes? For clarity there's a whole discussion which explains this in Unix/Linux System Administration. However the short version of doing this is here: [agu...@arakus ~]$ su - Password: [r...@arakus ~]# visudo Pressing the Enter key after doing the above brings you here into the actual file. Look for the line immediately under the line defining root access, on that line enter the same definition for your altid. ## Allow root to run any commands anywhere root ALL=(ALL) ALL altid ALL=(ALL) ALL After you have saved your changes in vi and exited you'll get something like. You have new mail in /var/spool/mail/root [r...@arakus ~]# Reminder after the above is done when you do invoke sudo, as in: [agu...@arakus ~]$ sudo yum install "gpg*" Password: The password you enter is not the system administrator or root password but the altid password. Clear? Well, good luck anyway. Read up on Linux/Unix System Administration principles. On Fri, 09 Jan 2009 14:58:15 -0600 Kevin McMahon <[email protected]> wrote: > Hello, can anyone help with this one. I think that I am supposed to > add or change the sudo users file or /etc/postfix/main.cf. This is > the read out -> > [butt...@localhost butters]$ sudo apt-get > Password: > sendmail: warning: My hostname localhost is not a fully qualified > name - set myhostname or mydomain in /etc/postfix/main.cf > postdrop: warning: My hostname localhost is not a fully qualified > name - set myhostname or mydomain in /etc/postfix/main.cf > butters is not in the sudoers file. This incident will be reported. > [butt...@localhost butters]$ > If you would help with the text file additions that would be great. I > think that I would use the VI text editor? > ~k
signature.asc
Description: PGP signature
_______________________________________________ yellowdog-general mailing list [email protected] http://lists.fixstars.com/mailman/listinfo/yellowdog-general HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
