LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2004, 04:06 PM   #1
LongName
Member
 
Registered: Aug 2004
Posts: 33

Rep: Reputation: 15
Allow program to access parallel port


Is it possible to allow a specific program access to a parallel port, not on root?

Thanks in advance!
 
Old 08-27-2004, 04:22 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You could run the program with root privileges,
either using sudo or have it run SUID.



Cheers,
Tink
 
Old 08-27-2004, 04:35 PM   #3
LongName
Member
 
Registered: Aug 2004
Posts: 33

Original Poster
Rep: Reputation: 15
whats sudo and SUID?
 
Old 08-27-2004, 04:41 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
sudo is a program & config-file combo that
allows normal users to run programs as if
they were run by root.
SUID is a special flag in a files permissions
that tells Linux to run a program with root's
privileges, regardless of who started it.


Cheers,
Tink
 
Old 08-27-2004, 05:16 PM   #5
LongName
Member
 
Registered: Aug 2004
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks very much
 
Old 08-27-2004, 06:08 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Pleasure! :)


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
alternate methods of parallel port access bobbens Programming 9 10-25-2005 08:47 AM
Parallel port program not working correctly zaheer031 Linux - Networking 0 10-07-2004 08:40 AM
Parallel port pin access Robert0380 Linux - Hardware 5 07-29-2003 04:11 PM
urgent help please (parallel port access) yahya Programming 1 08-12-2002 12:36 PM
urgent help please ( parallel port access) yahya Linux - Software 1 08-12-2002 12:32 PM


All times are GMT -5. The time now is 04:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration