LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-23-2001, 10:47 PM   #1
philfighter
Member
 
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207

Rep: Reputation: 30
user modem authorization


After you ceate a new user, from the command line, how do you authorize that user access to them modem? or... even other files or directories?
 
Old 07-23-2001, 10:54 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
In netcfg there is an option to allow users to control the interface.

In this case it will be the ppp interface.

#netcfg

click on interfaces

select the ppp0 interface and hit edit

or doubleclick the ppp0 interface

select the allow any user to (de)activate interface

users have default permissions unless you add them to a user group that has more permissions.

You may want to check out the usermod command

Last edited by DavidPhillips; 07-23-2001 at 10:59 PM.
 
Old 07-24-2001, 08:41 AM   #3
philfighter
Member
 
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207

Original Poster
Rep: Reputation: 30
No netcfg...

DP... i tried netcfg and its not in my bundle. I also notice yu use RH as im sure netcfg is a RH thang or at least sounds like it.

Im intrigued tell me more about usermod...

by the way, what part of south alabama yu live in?
i used to live in chickasaw, saraland, and satsuma way back in the day until i moved up here to georgia. Just curious
 
Old 07-24-2001, 04:39 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Saraland, but I am from Mobile.



You may be able to dig around here for answers


http://axion.physics.ubc.ca/ppp-linux.html

there is a section called SUID that will do what you want.

chmod a+rx /usr/sbin/pppd

chmod +s /usr/sbin/pppd

chmod a+rw /dev/ttyS1

(If you have users who you do not want using your modems, edit /etc/group and insert a line like
ppp::25:<Comma separated List of names of users>
where the List of users is a comma separated list of the users you want to allow use of ppp. The group number -- 25 in the above example-- is arbitrary, but should not be the same as any other group in /etc/group. Then do
chown root.ppp /usr/sbin/pppd
chmod o-rx /usr/sbin/pppd
in addition to the above changes.)

If you have usermod try running it with no args for a list, it is used to set group, home directory, password, and other things pertaining to a user.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Authorization inescapeableus Linux - Networking 10 08-05-2005 01:35 PM
cannot print as normal user in kde without authorization thegeekster Debian 4 03-30-2005 07:31 PM
help in user authorization Rex_chaos Programming 2 10-04-2004 03:03 PM
authorization varunk123456 Linux - Newbie 2 03-31-2004 02:44 PM
authorization screw up xjphil Linux - Newbie 12 08-31-2003 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration