LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-24-2009, 12:18 PM   #1
malini_1
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
/etc/shadow


In /etc/shadow there are entries for all the users ...? This entry is created when an account is created..right..?
Can it be manually edited...to override values like MAXDAYS in /etc/login.defs

Thanks for help
 
Old 03-24-2009, 12:30 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,628

Rep: Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568Reputation: 2568
Use usermod and/or see 'man shadow' in man5

Last edited by Didier Spaier; 03-24-2009 at 12:36 PM.
 
Old 03-24-2009, 04:27 PM   #3
JaksoDebr
Member
 
Registered: Mar 2009
Distribution: Fedora, Slackware
Posts: 104

Rep: Reputation: 21
You can certainly edit /etc/shadow in any text editor (vi or similar), though you need to be root and should know what you are doing. Rather do not mess with the password field, read /etc/passwd documentation before doing anything and also rather make a backup of the original file. It also helps if you keep another terminal open with a logged in root account, jut to correct any problems

Linux Archive

Last edited by JaksoDebr; 04-02-2009 at 05:01 AM.
 
Old 03-24-2009, 04:33 PM   #4
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Hi malini

You can edit for sure the etc/passwd files etc/shadow files but etc/passwd is readable but etc/shadow will be **** etc. So i guess you will not know what you are doing. This is my knowledge only. Other friends may help you too. All the best.
 
  


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
Shadow file honey bee Linux - Newbie 4 01-05-2008 03:14 AM
/etc/shadow throwapart Linux - Security 2 01-18-2006 08:43 PM
shadow file os2 Linux - Security 3 10-18-2005 03:20 PM
/etc/shadow- (notice the dash after the word shadow) shellcode Linux - Security 1 09-03-2004 04:54 AM
no shadow entry? netquest1 Linux - General 9 02-22-2004 06:39 PM

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

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