Shadow file
If shadow file no permissions, Owner & Group owner also a root,but how it can update if another user change its password and that user unable to login shadow file
|
The passwd utility, /usr/bin/passwd, has this permission mask:
Code:
ls -l /usr/bin/passwd The file /etc/shadow mask is Code:
-rw-r----- 1 root shadow 674 Jun 25 12:45 /etc/shadow The passwd utility is written so that the only thing a user can do with it is change their own password but can't fiddle with anything else (the utility "knows" who you are when you execute it, by your numeric user identification number, your UID, which is the third field on the line in /etec/passwd; if your UID is not zero, you're not root and you're restricted as to what you can and cannot do). That's pretty much that. Hope this helps some. |
1.If Windows is server and Linux as client then can we share the files
|
if we enter in to ftp> then what command is used to come from directory
|
Anybody send me Linux Interview questions
|
Quote:
Quote:
Quote:
|
What is the difference between /home & /localusr directories?
---------- Post added 12-05-11 at 12:28 AM ---------- What is difference between systemuser & Normaluser? |
Quote:
"systemuser & Normaluser " these notations also package/distribution dependent. |
Quote:
/home *USUALLY* is the location where home directories for users are created. However, the partition can be named ANYTHING, and the users home directories can be ANYWHERE, so this is a guideline, not an absolute. There is no /localusr directory on most installations...but if you mean /usr/local, that's where some shared files that you want users to be able to read/execute (but not necessarily write) are stored. System users are built for system services...things like FTP users, NFS users, etc., that need to be present for a service to run, but don't have a person associated with them, and don't need to ever log in. "Normal" users are just that...regular users that are set up to use the system. Again, OP...you need to try to look these things up. All of your questions thus far sound like homework, and you need to show some effort to answer them on your own. |
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
I kindly invite other members to avoid posting answers, until the OP demonstrates a good commitment and provides some feedback. Thank you. |
Quote:
|
Quote:
|
After getting the Answers I'm not getting clarity What is the difference between /home & /localusr directories?Can anybody explain what is /home & /localusr
|
Shravan kumar,
You keep asking the same questions repeatedly , even though few Senior Members and Gurus gave you some answers and advised you to find the information on your own.(Because the questions which you ask are very basic questions) This website is not for providing Linux Training/Courses. If you really want to learn Linux then I strongly suggest you to use Basic Linux books or guides available online. As a member of LQ , we should adhere to LQ Rules. Here are some books and guides which can help you learn Basics of Linux Operating System. http://tldp.org/LDP/intro-linux/html/ http://www.linuxhomenetworking.com/ http://www.linux-tutorial.info/modul...ent&pageid=224 |
I think he has been posting questions in right forum - newbie.
I am all for asking questions - no discouraging of any kind - BUT - Misuse of "helping" spirit/willingness to assist - should not be extended beyond whats needed - unless "commitment" and "feedback" are apparent |
All times are GMT -5. The time now is 07:29 AM. |