READ Free Dumps For RedHat- RH302
Question ID 17496 | One User named peter working with you as your assistance. His main responsibility |
Option A | Answer : 1.visudo # User alias Specification User_alias LIMITEDTRUST=peter # Cmnd alias Specification Cmnd_alias MINIMUM=/usr/sbin/useradd, /usr/bin/passwd, /usr/sbin/groupadd, /usr/sbin/userdel, /usr/sbin/groupdel, /usr/sbin/usermod #User Privilege Specification LIMITEDTRUST ALL=MINIMUM 2.Login as peter user and run sudo useradd username Using Sudo we can give root level privilege on commands. Visudo is the sudo editor. In user alias Specification we create the user alias and in Cmnd alias Specification, we create the command alias. In User Privilege Specification section, list the users, groups allowed to use the sudo. |
Correct Answer | A |
Question ID 17497 | There are mixed lots of System running on Linux and Windows OS. Some users are |
Option A | Answer : 1.vi /etc/samba/smb.conf [global] netbios name=station? workgroup=linuxgroup security=share printcap name=/etc/printcap load printers=yes printing=cups [printers] path=/var/spool/samba browsable=yes printable=yes guest ok=no writable=no Samba servers helps to share the data between linux and windows. Configuration file is /etc/samba/smb.conf. There are some pre-defined section, i. global use to define the global options, ii. Printers use to share the printers, iii. homes use to share the users home directory. /etc/printcap file contains all installed printers name. Printing is print system used on server. |
Correct Answer | A |