Results 1 to 1 of 1
Hi,
I have got answers to these questions please say whether they are right or wrong. If wrong suggest me where is the mistake. Thanks
Q)Configure sudoers in the following ...
- 01-25-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 3
Re: sudoers
Hi,
I have got answers to these questions please say whether they are right or wrong. If wrong suggest me where is the mistake. Thanks
Q)Configure sudoers in the following way:
3.a) it only allows the user adam and drew to have the root privilege to run /sbin/telinit;
3.b whenever the users use sudo to run some commands, this activity will be logged to file /var/log/sudolog
After you finish the above configuration, log into the system as user adam at runlevel 3, and run the command telinit 5, what will happen?
A)
3.a)
supposing current username is suman
suman (ALL) = adam, /sbin/telinit
suman (ALL) = drew, /sbin/telinit
3.b)
Telinit command will change the run level, so, Telinit 5 will make user adam to enter into multi-user mode and boot up in X Windows.
Please check and reply me boss.


Reply With Quote