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
HotBot - Search smarter.
http://www.hotbot.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]