.Creating a New User in Debian Sarge 3.1

  • Thread starter Thread starter Omid
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the process of creating a new user in Debian Sarge 3.1, specifically for establishing a dial-in connection using PPP (Point-to-Point Protocol). Participants are troubleshooting issues related to user authentication and configuration steps outlined in a HOWTO guide.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant describes the steps to create a new user and group for PPP, but encounters an error when trying to set the password for the new user.
  • Another participant suggests correcting the user entry format by removing the 'x' in the password field, indicating that it may be causing authentication issues.
  • A participant reports that they still cannot log in after following the instructions and receives an "Access denied" message when attempting to dial in from a Windows machine.
  • Another participant asks if the PPP daemon (pppd) was restarted after changing the password, suggesting that this could be necessary for the changes to take effect.
  • One participant humorously notes the importance of restarting the machine or reloading configurations when making changes, sharing their experience with the pppd configuration.
  • A participant attempts to connect from a Linux box but still faces authentication failures.
  • Another participant inquires if the user can log in directly from the server using the 'su' command to check the user's access.
  • A participant shares their experience trying to log in directly via terminal, noting an error message related to authentication and the inability to find a password for the remote client.

Areas of Agreement / Disagreement

Participants express various troubleshooting steps and corrections, but there is no consensus on the root cause of the authentication issues or a definitive solution to the problem.

Contextual Notes

Participants mention specific configurations and commands that may depend on the version of Debian and the setup of the PPP service, which could introduce limitations or assumptions not fully explored in the discussion.

Omid
Messages
181
Reaction score
0
In a HOWTO page, I'm told to define a new user this way:
(I'm using Debian Sarge 3.1 Official)
1. Create new group ppp, for this you need to edit file /etc/group and add this line on the end of file:

ppp:x:1001:

2. Create new system user for dialin connection pppuser: Simple create new system user and when using shell command vipw change line of user pppuser to this:

pppuser:x:1001:1001:,,,:/home/pppuser:/usr/sbin/ppplogin

3. Use Passwd command to change the password to whatever you want.

When I typed
passwd pppuser (return)
I got the following error:
passwd Authentication service cannot retrive authentication.

What's wrong?

I don't why but, when I emailed the auther and asked to use "adduser". He told me not to ! And told me again to follow those steps:
follow 1 and 2 step, not using adduser and then change password using
command passwd to whatever you want.

Thanks
 
Computer science news on Phys.org
The line should read:

pppuser::1001:1001:,,,:/home/pppuser:/usr/sbin/ppplogin

I got rid of the x after "pppuser:"

Where you have x that is where the md5 hashed password goes. You might be confusing the authenication to thinking you actually have a nonstandard password.
 
As always you'r right dduardo :D
The problem solved but still I can't login.
I followed the structions on the page:
http://tvilda.stilius.net/callback_en.php
But when I want to dial from a win box, I get Access denied, the user or pass is unknown on the domain.
 
Last edited by a moderator:
Did you restart pppd when you changed the password?

/etc/init.d/pppd restart

Also, I would try from another linux box to try to dial into the server using kppp or something similar. Windows can be funny with authentication.
 
You know, I think one of the most important tasks of a good programmer is to restart his machine at least once in a hour :D Whenever I changed the configurations I either typed "init q" or restarted the machine.

You know when I set the pppd without "login" option. It works well. It shows that I'm very close to it. But without authentication all that I've done in last 3 days is nothing :((
 
I tried to connect via a linux box as ddura told me. The authentication failed again :((
 
Can you login to pppuser from the server directly?

su pppuser
 
Tomorrow I'll check it with "su". But I tried to login in a terminal directly, I don't remember exactly but it was something like this:

Debianserver $: login: pppuser
Debianserver $: password: 123
Debianserver $: pppd: the remoet client must athenticate itself
Debianserver $: pppd: but I can't find any secret(password) for it


Debianserver: login:
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
14K
Replies
10
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 31 ·
2
Replies
31
Views
12K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 23 ·
Replies
23
Views
37K