On Wed, May 27, 2009 at 2:25 AM, Devarishi Kumar Mahadeva < dk_mahadeva@xxxxxxxxx> wrote: > Hi, > > > Can we have an unprivileged user's account without any password such that > the user can still login and perform tasks in the same way he or she would > do by entering a valid password. > > Well, as I am aware of it that when we create a user's account by giving > the following command: > > #useradd <UserName> > > We don't have to set a password for that account at this state. But if we > try to log in using that user name we are prompted to enter a valid > password. We can't log in without a password set for that account. > > So, is there any way to overcome it? > > it is not a good idea to login without password but still if some case you want to login without password or without being prompted for the password remove the :x: from /etc/passwd file.this :x: parameter checks /etc/shadow for the users password,when you remove this x it would not check the /etc/shadow & you would be able to login without password. Thanks kakkar > > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjectunsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- ~~~ 0Pen ~~~ S0uRce ~~~ -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list