Solaris setup sudo


















The second alias is SRV, to signify our web servers, and these are: black. Now we get to define what commands they may be able to run, also using some aliases:. Here we have a few aliases. Now you have to define how they all work together. This is where you give everyone permission to use certain commands on certain hosts. We do this with the same stanza we initially saw at the beginning, which gave root the ability to run everything on every host as root. Obviously, we want to limit access somewhat here.

This means that on the systems in the LAN or the mail server, Ankit and Sam do not have access to do this, only on the three systems defined in the SRV alias. The fourth tells sudo to let Ankit, who is our main sysadmin, to use the SU alias to run su on all machines without entering a password more on this in a moment.

So what does this all mean, from your point of view? Well, Ankit is pretty much able to do anything. Having su access on all machines via sudo grants him this right. Make sure that the system can find the sudo program: sudo -V that's an upper case "V" and that you can display the manual pages: man sudo man visudo man sudoers 5. The program has a rich selection of configuration options and you may like to read the man page for sudoers and examine the sample configuration file which you'll find in sample.

If you aren't already familiar with vi, you'll have to learn it sooner or later so now's a good time to start! But don't worry if you've never used it before - I'll include enough instruction here to enable you to edit the short file created by the installation process and append a couple of lines to it. If you're not familiar with vi, type the following exactly as it appears and note that commands in vi are case sensitive.

So don't type a lower-case "g" when the instructions show an upper-case "G". Social Profiles. Kernel 32 bit or 64 bit? Like us on Facebook. Follow unixmantra. After this operation, 3, kB of additional disk space will be used.

Selecting previously unselected package sudo. Reading database … files and directories currently installed. But it's not loading any changes. How to give sudo entry in. Hi all, In Solaris , What entry should I add in my. Please Advice How to configure sudoers in order to hide some sudo commands. Hi Unix. Anyone know something, or know where I can Configure a domain in Solaris. People i have 2 solaris 10 A webserver and a mailserver.

What i need to do is to send a mail inside de webserver to the domain company In the webserver When i use mailx -v -s Prueba me gmail. But when i try to send a mail to someone inside de company How to make it work. Thanks 1 Reply. Hi, I'm looking for the sites where i can download sudo to be installed on Solaris 9 sparc.



0コメント

  • 1000 / 1000