LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-28-2005, 07: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, 09:10 AM   #2
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.


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

All times are GMT -5. The time now is 05:46 AM.

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