Linux - NewbieThis 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.
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.
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
Click here to see the post LQ members have rated as the most helpful post in this thread.
That "rws" is the so-called super-user bit turned on, meaning that any user executing it has, for the duration of the execution, root's permissions; the two x's mean that anybody can execute the utility. So, "you" or "anybody else" can execute the passwd utility and will be able to change their own password (root can change anybody's password but a user can only change their own).
The file /etc/shadow mask is
Code:
-rw-r----- 1 root shadow 674 Jun 25 12:45 /etc/shadow
which means that only root can write to it, the x means that only the shadow group can read from it and there is no public access at all; i.e., "you" cannot see its content.
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).
1.If Windows is server and Linux as client then can we share the files
Yes, and this question has been asked/answered on this site MANY times. That's what Samba is for, letting Linux and Windows systems share files.
Quote:
Originally Posted by shravankumar
if we enter in to ftp> then what command is used to come from directory
No idea what you're asking. Doing a "dir" is the first answer that comes to mind, but you could also type in "help", and get a list of commands yourself...perhaps, look them up???
Quote:
Originally Posted by shravankumar
Anybody send me Linux Interview questions
No. First, because there's NO WAY anyone can know what you're going to get asked on an interview. Second, if you don't know the answers to the questions on your own, you're not qualified to have the job. If you want to know the answers for a 'Linux interview', then learn Linux first.
What is the difference between /home & /localusr directories?
---------- Post added 12-05-11 at 12:28 AM ----------
What is difference between systemuser & Normaluser?
/home is a default(not always) home directory for all user in unix based machine. while /localusr is package dependent, not all unix machines will have this directory.
"systemuser & Normaluser " these notations also package/distribution dependent.
Last edited by raju.mopidevi; 12-05-2011 at 09:36 PM.
/home is home directory for all user in unix based machine. while /localusr is package dependent, not all unix machines will have this directory.
"systemuser & Normaluser " these notations also package/distribution dependent.
Sorry, but these are not correct answers.
/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.
After getting the Answers I'm not getting clarity What is the difference between /home & /localusr directories?Can anybody explain what is /home & /localusr
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.