Find the answer to your Linux question:
Results 1 to 4 of 4
Hello everybody!! I created email account with commands "adduser -s /sbin/nologin test; passwd test"; Is there any way to grant permission to user "test" to change his password by himself? ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    1

    Email account change password permission

    Hello everybody!!

    I created email account with commands "adduser -s /sbin/nologin test; passwd test";

    Is there any way to grant permission to user "test" to change his password by himself?

    Please help me if somebody can.

    Thank you in advance.

  2. #2
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    How does this user access its email?

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2
    You should be able to change password by doing:

    as root:
    passwd test

    as user test:
    passwd

  4. #4
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    Quote Originally Posted by imagine1437 View Post
    You should be able to change password by doing:

    as root:
    passwd test

    as user test:
    passwd

    With a shell of /sbin/nologin, test is not going to be able to run the passwd command. But depending on how the user accesses mail it may be possible through the mail interface.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...