LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-25-2009, 01:26 PM   #1
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Re;sudoers


Hi,
I have got answers to the questions i asked previously, 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.
 
Old 01-25-2009, 01:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Shouldn't you be able to answer your questions by doing
what it suggests?

Please do your own homework.



Cheers,
Tink
 
Old 01-25-2009, 01:48 PM   #3
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Original Poster
Rep: Reputation: 33
Re: sudoers

Hi,

You told me to try. I worked on my own and got the answer. I just asked you to say whether it is right or wrong. If you don't suggest even now, Whats the use of joining a forum? Nobody gave me answer to my question till now except very few. Its very bad and saddening.
 
Old 01-25-2009, 02:44 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
On the contrary - you should rejoice in having accomplished it yourself.

If the changes you made result in the desired outcome all is well, and
you don't need any confirmation?



Cheers,
Tink
 
Old 01-27-2009, 11:25 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by palisetty_suman View Post
Hi,

You told me to try. I worked on my own and got the answer. I just asked you to say whether it is right or wrong. If you don't suggest even now, Whats the use of joining a forum? Nobody gave me answer to my question till now except very few. Its very bad and saddening.
Excuse me---you have not followed up on some of your previous homework threads--even after I mentioned it to you.

Have you read the forum rules on homework? (Hint: You CAN get help on homework, but typically only when you demonstrate that you have done some work on your own.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sudoers madwac Linux - Newbie 1 03-10-2007 06:54 PM
sudoers texerasmo Linux - General 3 08-04-2006 09:57 AM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 05:03 PM
sudoers usa1234 Linux - General 1 10-24-2004 03:07 PM
sudoers???? yenonn Slackware 6 02-10-2004 03:09 AM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration