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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-06-2012, 01:03 AM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 20
Rep:
|
Legacy Account in /etc/passwd
Hello
How we find the legacy account in /etc/passwd /etc/shadow /etc/group ?
|
|
|
06-06-2012, 10:30 AM
|
#2
|
Senior Member
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
|
If you want to find the account named 'legacy', then just
Code:
grep '^legacy:' /etc/passwd
Or have I misunderstood you?
EDIT: duplicate of https://www.linuxquestions.org/quest...estion-948821/, reported.
Last edited by Snark1994; 06-06-2012 at 10:32 AM.
|
|
|
06-06-2012, 12:35 PM
|
#3
|
LQ Newbie
Registered: Jun 2012
Posts: 20
Original Poster
Rep:
|
Hello Sir,
The right question is.
Verify no legacy '+' entries exist in passwd, shadow, and group files
regadrs,
lallit singhania
|
|
|
06-06-2012, 12:45 PM
|
#4
|
LQ Newbie
Registered: Jun 2012
Posts: 20
Original Poster
Rep:
|
hello sir,
Set retry limit for account lockout by setting RETRIES parameter to 5 and LOCK_AFTER_RETRIES parameter to YES. ? in redhat linux
Restrict root logins to system console by setting CONSOLE parmeter to /dev/console.?
Prevent Syslog from accepting messages from network by setting LOG_FROM_REMOTE parameter to NO. in linux
|
|
|
06-06-2012, 06:39 PM
|
#6
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate. Please, follow discussion here: https://www.linuxquestions.org/quest...estion-948821/
|
|
|
All times are GMT -5. The time now is 12:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|