LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 06-27-2005, 09:57 PM   #1
Simon Adebisi
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Rep: Reputation: 0
passwd command is set in suid root. why???


why is this.
 
Old 06-27-2005, 10:00 PM   #2
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
so than non-root users can change their password...
 
Old 06-27-2005, 10:02 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
In order to write to the password files? Alternatively, you could make /etc/passwd and /etc/shadow world writable so anyone can change anyone's passwords.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The passwd command is usually set suid root. this is because, Simon Adebisi Linux - Software 1 06-28-2005 08:10 AM
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 07:35 AM.

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
Open Source Consulting | Domain Registration