[Précédent (date)] [Suivant (date)] [Précédent (sujet)] [Suivant (sujet)] [Index par date] [Index par sujet]
Problem setting users for my PPP server
- To:
- Subject: Problem setting users for my PPP server
- From: Gregg <>
- Date: Sun, 3 Oct 1999 18:17:11 -0400
Hi,
I am facing two options (when it comes to create ppp users/group) and it's
not clear to me whether I should use the first one or the second.
And why should I use one but not the other..or what is the implication of
both of them. And can I use both at the same time?
1st OPTION: : Add a group called modem:
# groupadd -g 800 modem
- Add each user with a false shell, a member of the group "modem":
# /usr/sbin/adduser -s /bin/false -g modem -n <user_name>
For ie, you wanna adduser the new user ericks with last policy:
Instead of a simple "adduser ericks" command, you can do:
/usr/sbin/adduser -s /bin/false -g modemuser -n ericks (-s: shell; -g:
group; -n: no_autogroup)
or simply..adduser -s /bin/false -g modemuser -n ericks
And dont forget :
# passwd ericks
Each user will have a blank passwd, copy the encrypted passwd from
that users bioserve account to the /etc/passwd file.
2nd OPTION: You can create a user, and in /etc/passwd, replace it's shell
(/bin/bash)
by /usr/sbin/pppd ( or a script file). Make sure
/usr/sbin/pppd (or that script file)
appears in /etc/shells