LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-28-2003, 01:00 AM   #16
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52

isn't the games entry for the group "games"? so you can add someone
to that group, and they can access the video card and sound card so
play games?

be very careful messing with the passwd file. if you mess it up, you may
not be able to log in as anyone.

if you remove the password entry for a user in the passwd file, they are
no longer protected by a password. just take it out, and leave the colons
like changing bob:iwjef**&^^^:101 to bob::101
 
Old 12-28-2003, 07:30 AM   #17
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, thanks all, i wasnt home yesterday, so i havent had time to try any of these things, so that's what i'm going to do now. i think i understand most of it, and if i dont you'll hear from me
E
 
Old 12-28-2003, 08:16 AM   #18
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, a couple of things. i used some of the commands previously put into this thread to delete the user whose passwd i was having trouble with. i then created a new user and password by doing:
[root@localhost root]# userdel username
[root@localhost root]# adduser newname
[root@localhost root]# passwd newname
then it prompted me for the new passwd, and i typed it in. it didnt reject it as something that was based on a word found in a dictionary, so that wasnt the problem. after the final password propmt, though it said:
passwd: user not known to the underlying authentication module
so i tried to view /etc/passwd with the cat command cause it's the only command i know that will view a file. when i viewed /etc/passwd, there were also other lines that had !! in the place where the password is. based on what whansard said about the games thing that i thought was a user actually being a group, i'm guessing that these are also groups, and that the exclamation points are a bad sign. the groups with !! are:
rpm, vcsa, rpc, xfs, and my newuser. any help would be wonderful.
Thanks! E
 
Old 12-28-2003, 08:17 AM   #19
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
one more question, non technical...
how do i subscribe to a thread?
E
 
Old 12-28-2003, 10:12 AM   #20
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, i've been researching my problem on other sites as well as this one, and somewhere i saw that the /etc/shadow file was important. so i looked for it on my computer, and it's not there. could this be causing my problem? if it is, how do i create this file?
thanks, E
 
Old 12-28-2003, 11:36 AM   #21
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Linux Mint 18
Posts: 7,809

Rep: Reputation: 294Reputation: 294Reputation: 294
"ok, i've been researching my problem on other sites as well as this one, and somewhere i saw that the /etc/shadow file was important. so i looked for it on my computer, and it's not there. could this be causing my problem? "

If you are missing /etc/shadow then you cannot log into anything and Linux is unrunnable. So I doubt that you are missing /etc/shadow.

If it really is missing then boot a rescue cd and restore both /etc/shadow and /etc/passwd back to the same point in time (i.e. /etc/passwd and /etc/shadow have to correspond).

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-28-2003, 12:17 PM   #22
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, how would i do that?
 
Old 12-28-2003, 12:33 PM   #23
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Linux Mint 18
Posts: 7,809

Rep: Reputation: 294Reputation: 294Reputation: 294
"ok, how would i do that?"

Do you have a rescue CD and a backup copy of your Linux system available?

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-28-2003, 12:48 PM   #24
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
yeah, i have the original 3 cd's with the downloaded files
 
Old 12-28-2003, 01:04 PM   #25
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Linux Mint 18
Posts: 7,809

Rep: Reputation: 294Reputation: 294Reputation: 294
"yeah, i have the original 3 cd's with the downloaded files"

If that is all that you have then you will have to reinstall Mandrake.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-28-2003, 01:09 PM   #26
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
there's no other way to get the /etc/shadow file?
 
Old 12-28-2003, 01:37 PM   #27
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Linux Mint 18
Posts: 7,809

Rep: Reputation: 294Reputation: 294Reputation: 294
"there's no other way to get the /etc/shadow file?"

LinuxQuestions does not post cracking techniques even if we know them.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-28-2003, 08:01 PM   #28
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
what i mean is, is there any other way to copy the file from the cd to the harddrive or sumthin so i dont have to totally reinstall my os again?
 
Old 12-29-2003, 05:01 AM   #29
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
the shadow file is encrypted and your real passwords are there.
so copying a different shadow file over the existing one would make
it where no one could log in.

some jobs on the computer exist in the /etc/passwd file because that's
the way those jobs work. you don't use them to login. like lp and cron
and rpm.

i haven't done it, but i bet you can switch from shadow passwords to
regular ones.
 
Old 12-29-2003, 08:20 AM   #30
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, how would i do that? and also, i don't really have any passwords. i have only created one user, and i havent been able to set taht password, and then i have root, and i haven't set a password for that yet either.
 
  


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
shadow password - password field ayhopkins Linux - Security 8 11-17-2005 05:25 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM


All times are GMT -5. The time now is 06:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration