LinuxQuestions.org
Help answer threads with 0 replies.
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 08-27-2004, 10:54 AM   #1
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Rep: Reputation: 30
Password setings and files


You know how Windows XP or 2000 has this security feature called the Local Security Policy were you could limit the number of bas login attempts, set the min. pass lenght, max. pass lenght etc.....????

Where could I go in Mandrake Linux to set these policies?

And does Linux store password info in file somewhere? If so, then where would I clear it or delete those password files?
 
Old 08-27-2004, 11:53 AM   #2
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
You may want to visit the following locaiton to check for password file.

/etc/password and /etc/shadow

Hope this helps.

--Hitesh
 
Old 08-27-2004, 12:53 PM   #3
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
But what do I need remove from there as far as removing sensitive data or passwords???
 
Old 08-27-2004, 01:04 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
do you want to just lock the accnt, or remove it entirely?

To lock the accnt, use (see man passwd)
passwd -l username

To remove the user (see man userdel)
userdel -r username

of course you have to be root to do either.
passwd has a whole list of options, so have a good read
 
Old 08-27-2004, 01:08 PM   #5
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
I just want to remove any stored passwords in the one of the password files.

How could I do that without removing my User Account? I do not want to remove my User Account.
 
Old 08-27-2004, 03:36 PM   #6
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
As i understand u want the user to login with out entering passwd(passwdless).

Here is the steps :

if you are in GUI (login as root user) to open a console and type :

press alt+f2 [run command]

type : konsole [to open konsole]

Now type:

[root@mail root]# passwd -d <username> [enter]

It will show you some thing like this:

[root@mail root]# passwd -d hitesh
Removing password for user hitesh.
passwd: Success
[root@mail root]#

Now press Ctrl + Alt + F3 [to go terminal]

Login with that user <username> [i.e. hitesh] and check it.

Hope this helps.

-Hitesh
 
Old 08-29-2004, 01:30 AM   #7
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
I think there's a misunderstanding here. I do want to be logged in as a User Account with logging in with my password. Yes.

But, here is what I'm asking. Incase a hacker or someone snoops around, I am afraid that they will look in a file that passwords are kept and stored. How could I prevent that from happening?
 
Old 08-29-2004, 05:47 AM   #8
lone_nut
Member
 
Registered: Dec 2003
Location: Denmark
Distribution: Mandrake
Posts: 179

Rep: Reputation: 30
they are stored as oneway hashes, and the file need to exist.
 
  


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
Password - files shutuphuman Linux - Newbie 5 02-01-2005 02:43 PM
group and password files in /etc Raphael M Slackware 2 08-14-2004 11:53 AM
Doing alsactl to restore mixer setings Maurice Arthur Linux - Software 0 11-11-2003 12:56 AM
Password files JBDM Linux - Software 1 04-30-2003 11:45 AM
Network setings aaronluke Linux - Networking 6 08-26-2002 10:29 AM

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

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