logo elektroda
logo elektroda
X
logo elektroda

Removing Password from Linux User Account for Internet Browsing Purposes

buri147 22620 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 6051711
    buri147
    Level 16  
    Hello I have a question. Is it possible to remove the password from the user's account because the computer is to be used by a person who does not know Linux but only to browse the Internet?
    Please help.

    Moderated By Mery84:

    I corrected the totally disastrous spelling for my friend. The next post written in this way is automatically receiving a warning.

  • ADVERTISEMENT
  • #2 6051944
    marek003
    Level 40  
    If entering the password when logging in is so complicated for this person, how will he or she navigate the Internet?

    I don't know Linux exactly, but I think to change the password (to none) use the "passwd" command.

    Here is a simple description of how to use the command:

    passwd
    | - Purpose: password change
    | -Parameters: passwd [user]
    | adduser - changes the password of the login you are logged in to
    | adduser thomson - changes the thomson password if you are logged in as root and not
    | you need to know the previous regular user's password
    | -Description: if you are logged in as root you have permission to access this command if you do not have to
    | to log into root first
    | -See also: [adduser]

    The description is from the first page that appeared in google after entering the command "linux- user's password"

    Link

    Here is one more description (more detailed):
    http://www.digipedia.pl/man/passwd.1.html
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 6052085
    Mery84
    VIP Meritorious for electroda.pl
    Kolobos has rightly written the passwords are stored in the / etc / passwd file.
    Also know that such a procedure is theoretically dangerous.
    If someone is to use your PC only for internet use, create an account with restrictions.
  • ADVERTISEMENT
  • #5 6052939
    mikuk
    Level 1  
    Not in / etc / passwd only in / etc / shadow

    an example entry in / etc / passwd

    marek: x: 502: 1000: Marek Kowalski: / home / users / marek: / bin / bash

    a sample / etc / shadow entry

    brands: $ 1 $ qb / waABk $ F3Y6dKw / 6ekZPfcoTpzks /: 12575: 0: 99999: 5 :::

    you delete all the characters from the first colon to the second after the mark, and you get something like this:

    brands :: 12575: 0: 99999: 5 :::

    what you remove is your password
  • #6 6059412
    Driver-
    Level 38  
    One more thing that some have forgotten. We have to take care of the security of our files, so the user "some-that" should not be a member of other users' groups, God forbid, a member of the "root" group. The account should be configured in such a way that the "jakistam" user is a member of only one own group, preferably with the same name as the name of this user, and it must stay that way. If we have other users, such as the "mimuk" user and the "minuk" group, the "some" user cannot be a member of the "mimuk" group, otherwise all directories with drwxrwx-rx 775 access rights and files in these directories with permissions - rw-rw-r- 664 will be available for modification, and thus we run the risk of unintentionally or intentionally deleting them or changing their content. Therefore, when creating any new user who logs in without a password, he must limit the rights to our resources so that he cannot modify them. In order to have access to files of such a user without the need to log in to his account, it is enough to add the "mimuk" user to the group of the user "mimuk" and the user "mimuk" will be in the group "jakistam" and will have access to his files. For security reasons, you must also remember to prevent the user from logging in via the network.
    For the purposes of sharing files in the network, I set up an account called "guest" and a group "guest". My "guest" doesn't even have a home directory, I put all entries below for illustrative purposes, also a member of the "guest" group called "mimuk". To do this, I didn't need a console, I didn't edit any files in / etc for that there are windows, the times of editing configuration files are practically over. After all, for security reasons, I would leave the password in your place, entering a few characters is not that difficult. When he browses the Internet, he will log in to his e-mail in some cases anyway. One more login to the system is not a fad.
ADVERTISEMENT