LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-16-2015, 06:53 PM   #1
mrohl
LQ Newbie
 
Registered: Jul 2009
Location: Alaska
Posts: 6

Rep: Reputation: 0
Need a simple linux website that allows users to change their system password


I am trying to give my users a simple way for them to change their system account passwords without logging in via command line.

What I'd like is a very simple web UI that lets them log in with username and password, reset their password, and save it back into /etc/shadow.

I've been searching for something like this for a few hours, but figured I'd just ask the experts here.

Thanks

Mike
 
Old 07-16-2015, 07:23 PM   #2
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
Here is an article about open source web hosting panels. The top choices can change system passwords.

http://www.gnutomorrow.com/best-free...l-alternative/
 
Old 07-16-2015, 09:01 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I guess someone could make a webpage to do that without too much fuss.

What distro do you have and are the people locally logged in to the local system? (redundant)
 
Old 07-17-2015, 05:56 PM   #4
mrohl
LQ Newbie
 
Registered: Jul 2009
Location: Alaska
Posts: 6

Original Poster
Rep: Reputation: 0
Most of what we are using is rhel/centos 6. We also have some Ubuntu 14.04 servers as well.
 
Old 07-17-2015, 05:59 PM   #5
mrohl
LQ Newbie
 
Registered: Jul 2009
Location: Alaska
Posts: 6

Original Poster
Rep: Reputation: 0
Yeah I've looked at a lot of these interfaces. However, most are for website hosting administration and password changes are usually specifically for this admin interface, not the actual system accounts.

Quote:
Originally Posted by BenCollver View Post
Here is an article about open source web hosting panels. The top choices can change system passwords.

http://www.gnutomorrow.com/best-free...l-alternative/
 
Old 07-17-2015, 06:21 PM   #6
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
As jefro says, you could probably write a simple web interface for that easily enough. I am not aware of one that already exists.

But you would want to be careful how you implement that, and how users would access it, because it would be a non-priv'd web server process that also needs to run as a system user or root at least in part, to be able to make those changes. That is always a big potential security issue.

You would also want to make it use a secure connection only (SSL/TLS) to prevent user passwords from being exposed to man in the middle attacks, etc...

Offhand, it seems to me to be a fairly major headache/exposure security-wise, for a very small convenience for login users when you could simply have them use the passwd command when logged in. It would seem like a non-issue for most non-login users. Of course, your requirements are your own.
 
Old 07-18-2015, 07:14 AM   #7
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
Quote:
Originally Posted by mrohl View Post
not the actual system accounts.
The article has two cpanels labeled "top choice": VestaCP and Webmin. Coincidentally, they are at the top of the article. As I wrote before, they both do system accounts.
 
  


Reply



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
[SOLVED] Force change password for users in linux, without terminating the shell session BhushanPathak Linux - Newbie 14 02-20-2018 04:30 AM
view current password on system - I'm root, need to see users password cilbuper Ubuntu 3 09-16-2014 09:17 AM
NIS users can't change own password vinotha Linux - Networking 1 06-30-2013 03:43 PM
Avoid users to change password sinchan_ Linux - General 10 10-21-2009 02:48 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:53 PM.

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