LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-02-2004, 10:01 PM   #1
dboogie
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
Changing Passwords


Hi I'm Kinda new to linux and in my office we have redhat 9 DNS Servers, I need to change the password on these boxes and make sure there are not any more user accounts. Can anyone let me know how to change the password and check for user accounts.

Thanks
D
 
Old 05-02-2004, 10:31 PM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi,

Once you log in as root or a superuser, just run passwd. This will change the password of the account you are currently logged in as.

passwd user1 will change the password for the user1 account if one exists.

To see what other user accounts are created. Look in the /etc/passwd file. This is where all account info is kept. You can look in the file by using cat or vi. so cat /etc/passwd or vi /etc/passwd.

This will show all accounts however. So system accounts will be shown too. If you want it really easy, jump into your gui and run redhat-config-users this will show you what user accounts are around.

Good luck.

>Craig
 
Old 05-02-2004, 10:45 PM   #3
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
To change a password use the "passwd" command, If they have a gui (which they prob don't). you could use "redhat-config-users" . If not you could use "userdel -r username" If you want to delete all users MAYBE userdel -r * (I'm not trying it )
 
  


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
chrooted users changing their passwords btmiller Linux - Security 2 07-16-2005 01:08 PM
Changing passwords via email and webforms psychobyte Linux - General 1 06-15-2005 05:00 PM
Samba 3 - changing passwords from windows michzap Linux - Networking 2 09-03-2004 01:48 AM
Changing passwords - URGENT Lloydlec Linux - Security 1 03-16-2004 07:22 AM
Changing Passwords TheRealDeal Linux - General 3 01-20-2004 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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