LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-28-2005, 06:21 AM   #1
Simon Adebisi
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Rep: Reputation: 0
Question The passwd command is usually set suid root. this is because,


this is a Linux certification practice test question.

here are my choices.

A. non root users wouldn't be able to change there group membership

B. non root users wouldn't be able to change there group password

C. non root users wouldn't be able to change there password

D. non root users wouldn't be able to change there uid

whats the real answer.
 
Old 06-28-2005, 08:10 AM   #2
gomerb
LQ Newbie
 
Registered: Jun 2005
Location: Traralgon, Victoria, Australia
Distribution: Mandrake 9.2
Posts: 3

Rep: Reputation: 0
Ignoring the suspect grammar the answer is C. The set suid allows any user to run the passwd command which will edit files owned by root. In this case the file containing the encrypted passwords - the /etc/shadow file I think.
 
  


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
passwd command is set in suid root. why??? Simon Adebisi Linux - Software 2 06-27-2005 10:02 PM
Only root can do that! (but i made it SUID root ?) qwijibow Linux - General 4 07-07-2004 10:51 AM
my mysql-3.23.58 can't set root passwd bear_bear Linux - General 1 01-05-2004 03:48 AM
how to set artswrapper suid root ? chokecherry Linux - General 3 11-27-2003 03:32 AM
su root command returns 'cannot set groups...' golgotha Linux - Newbie 2 04-08-2003 09:47 PM


All times are GMT -5. The time now is 06:29 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