Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
any programs or other devices that the modem needs
to connect have to be useable by the user too. like pppd
and or chat.
you could make some of the programs suid root, but
currently distributions make a group called ppp-users
or something similar, and add users to that group
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
ppp-users is a group, not a file.
check
man groups
if you have kuser on your system, run that, and
you will see the groups listed. It's old time unix
system admin stuff.
man chown
you make the devices and files necessary to run your
script owned by the group of your choice. you could
make a new group called faxusers or modemusers.
then make the all the programs you need to run your
modem stuff owned by the group modemusers, and
add any users that need access to that stuff to the
modemusers group.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
do you think possibly the lucent modem modules
don't load when you need them as a user?
i would say though to set whatever programs your
cu script needs to run as SUID root.
$ su -
$ password
# find / -type f \( -perm -4000 -o -perm -2000 \) -exec ls -l {}
\;
-rwx--S--t 1 root root 0 Sep 21 2002 /dev/pktcdvd0
find: /proc/1602/fd: No such file or directory
find: /proc/2153/fd/4: No such file or directory
-rwxr-sr-x 1 root mailman 7123 Aug 16 2002
/var/mailman/bin/clone_member
....
...
I think following files maybe relevant
-rwxr-sr-x 1 root mail 17477 Jun 24 2002
/usr/bin/lockfile
-rwxr-sr-x 1 root lock 12325 Jun 24 2002
/usr/sbin/lockdev
Shall I change their permission to 'rwxrwxsr-x'? What is 's'
representing for?
Kindly advise. Thanks in advance.
B.Regards
satimis
Complete suid.list
-rwxr-sr-x 1 root mailman 6620 Aug 16 2002
/var/mailman/bin/add_members
-rwxr-sr-x 1 root mailman 3838 Aug 16 2002
/var/mailman/bin/arch
-rwxr-sr-x 1 root mailman 2462 Aug 16 2002
/var/mailman/bin/check_db
-rwxr-sr-x 1 root mailman 8964 Aug 16 2002
/var/mailman/bin/check_perms
-rwxr-sr-x 1 root mailman 3519 Aug 16 2002
/var/mailman/bin/list_members
-rwxr-sr-x 1 root mailman 8090 Aug 16 2002
/var/mailman/bin/config_list
-rwxr-sr-x 1 root mailman 4474 Aug 16 2002
/var/mailman/bin/digest_arch
-rwxr-sr-x 1 root mailman 1282 Aug 16 2002
/var/mailman/bin/dumpdb
-rwxr-sr-x 1 root mailman 4915 Aug 16 2002
/var/mailman/bin/find_member
-rwxr-sr-x 1 root mailman 2957 Aug 16 2002
/var/mailman/bin/list_lists
-rwxr-sr-x 1 root mailman 3051 Aug 16 2002
/var/mailman/bin/remove_membe
rs
-rwxr-sr-x 1 root mailman 2386 Aug 16 2002
/var/mailman/bin/mmsitepass
-rwxr-sr-x 1 root mailman 2440 Aug 16 2002
/var/mailman/bin/move_list
-rwxr-sr-x 1 root mailman 6983 Aug 16 2002
/var/mailman/bin/newlist
-rwxr-sr-x 1 root mailman 1530 Aug 16 2002
/var/mailman/bin/paths.py
-rwxr-sr-x 1 root mailman 315 Aug 16 2002
/var/mailman/bin/paths.pyc
-rwxr-sr-x 1 root mailman 8234 Aug 16 2002
/var/mailman/bin/sync_members
-rwxr-sr-x 1 root mailman 2952 Aug 16 2002
/var/mailman/bin/rmlist
-rwxr-sr-x 1 root mailman 6245 Aug 16 2002
/var/mailman/bin/withlist
-rwxr-sr-x 1 root mailman 12809 Aug 16 2002
/var/mailman/bin/update
-rwxr-sr-x 1 root mailman 925 Aug 16 2002
/var/mailman/bin/version
-rwxr-sr-x 1 root mailman 35407 Aug 16 2002
/var/mailman/cgi-bin/admin
-rwxr-sr-x 1 root mailman 35407 Aug 16 2002
/var/mailman/cgi-bin/admindb
-rwxr-sr-x 1 root mailman 35423 Aug 16 2002
/var/mailman/cgi-bin/edithtml
-rwxr-sr-x 1 root mailman 35431 Aug 16 2002
/var/mailman/cgi-bin/handle_o
pts
-rwxr-sr-x 1 root mailman 35423 Aug 16 2002
/var/mailman/cgi-bin/listinfo
-rwxr-sr-x 1 root mailman 35407 Aug 16 2002
/var/mailman/cgi-bin/options
-rwxr-sr-x 1 root mailman 35407 Aug 16 2002
/var/mailman/cgi-bin/private
-rwxr-sr-x 1 root mailman 35407 Aug 16 2002
/var/mailman/cgi-bin/roster
-rwxr-sr-x 1 root mailman 35431 Aug 16 2002
/var/mailman/cgi-bin/subscribe
-rwxr-sr-x 1 root mailman 4089 Aug 16 2002
/var/mailman/cron/nightly_gzi
p
-rwxr-sr-x 1 root mailman 2279 Aug 16 2002
/var/mailman/cron/bumpdigests
-rwxr-sr-x 1 root mailman 3141 Aug 16 2002
/var/mailman/cron/checkdbs
-rwxr-sr-x 1 root mailman 1028 Aug 16 2002
/var/mailman/cron/crontab.in
-rwxr-sr-x 1 root mailman 8328 Aug 16 2002
/var/mailman/cron/gate_news
-rwxr-sr-x 1 root mailman 5824 Aug 16 2002
/var/mailman/cron/mailpasswds
-rwxr-sr-x 1 root mailman 1530 Aug 16 2002
/var/mailman/cron/paths.py
-rwxr-sr-x 1 root mailman 316 Aug 16 2002
/var/mailman/cron/paths.pyc
-rwxr-sr-x 1 root mailman 12044 Aug 16 2002
/var/mailman/cron/qrunner
-rwxr-sr-x 1 root mailman 2049 Aug 16 2002
/var/mailman/cron/senddigests
-rwxrwsr-x 1 root mailman 2 Aug 16 2002
/var/mailman/data/pending_sub
scriptions.db
-rwxrwsr-x 1 root mailman 1055 Aug 16 2002
/var/mailman/filters/bowa-str
ip
-rwxrwsr-x 1 root mailman 36104 Aug 16 2002
/var/mailman/mail/wrapper
-rwxr-sr-x 1 root mailman 2882 Aug 16 2002
/var/mailman/scripts/mailowne
r
-rwxr-sr-x 1 root mailman 9516 Aug 16 2002
/var/mailman/scripts/driver
-rwxr-sr-x 1 root mailman 1507 Aug 16 2002
/var/mailman/scripts/answer_m
ajordomo_mail
-rwxr-sr-x 1 root mailman 2351 Aug 16 2002
/var/mailman/scripts/mailcmd
-rwxr-sr-x 1 root mailman 1530 Aug 16 2002
/var/mailman/scripts/paths.py
-rwxr-sr-x 1 root mailman 319 Aug 16 2002
/var/mailman/scripts/paths.py
c
-rwxr-sr-x 1 root mailman 3316 Aug 16 2002
/var/mailman/scripts/post
-rwsr-xr-x 1 root root 37688 Aug 30 2002 /usr/bin/chage
-rwsr-xr-x 1 root root 35000 Aug 30 2002 /usr/bin/gpasswd
-rwsr-xr-x 1 root root 37140 Jul 25 2002 /usr/bin/at
-rwxr-sr-x 1 root mail 17477 Jun 24 2002
/usr/bin/lockfile
-rwxr-sr-x 1 root slocate 31661 Jun 24 2002 /usr/bin/slocate
-r-s--x--x 1 root root 15368 May 29 2002 /usr/bin/passwd
-r-xr-sr-x 1 root tty 10224 Jul 19 2002 /usr/bin/wall
-rws--x--x 1 root root 16835 Aug 31 2002 /usr/bin/chfn
-rws--x--x 1 root root 15664 Aug 31 2002 /usr/bin/chsh
-rws--x--x 1 root root 6999 Aug 31 2002 /usr/bin/newgrp
-rwxr-sr-x 1 root tty 18605 Aug 31 2002 /usr/bin/write
-rwsr-xr-x 1 root root 34662 Jul 20 2002 /usr/bin/crontab
-rwsr-xr-x 1 root root 18328 Aug 30 2002
/usr/bin/lppasswd
-rwsr-xr-x 1 root root 17743 Oct 22 2002
/usr/bin/kcheckpass
-rwxr-sr-x 1 root root 60955 Oct 22 2002 /usr/bin/kdesud
-rwsr-xr-x 1 root root 8345 Oct 22 2002
/usr/bin/desktop-create-kmenu
-rwsr-xr-x 1 root root 19131 Jun 24 2002 /usr/bin/rcp
-rwsr-xr-x 1 root root 15376 Jun 24 2002 /usr/bin/rlogin
-rwsr-xr-x 1 root root 10689 Jun 24 2002 /usr/bin/rsh
---s--x--x 1 root root 84984 Jun 28 2002 /usr/bin/sudo
-r-xr-s--x 1 root games 79675 Aug 14 2002
/usr/bin/gnome-stones
-r-xr-s--x 1 root games 52265 Aug 14 2002
/usr/bin/freecell
-r-xr-s--x 1 root games 54992 Aug 14 2002 /usr/bin/gataxx
-r-xr-s--x 1 root games 35497 Aug 14 2002 /usr/bin/glines
-r-xr-s--x 1 root games 82042 Aug 14 2002
/usr/bin/gnibbles
-r-xr-s--x 1 root games 93193 Aug 14 2002
/usr/bin/gnobots2
-r-xr-s--x 1 root games 36476 Aug 14 2002
/usr/bin/gnotravex
-r-xr-s--x 1 root games 51137 Aug 14 2002 /usr/bin/gnomine
-r-xr-s--x 1 root games 66708 Aug 14 2002
/usr/bin/mahjongg
-r-xr-s--x 1 root games 30743 Aug 14 2002 /usr/bin/gnotski
-r-xr-s--x 1 root games 253639 Aug 14 2002 /usr/bin/gtali
-r-xr-s--x 1 root games 61038 Aug 14 2002 /usr/bin/iagno
-r-xr-s--x 1 root games 30855 Aug 14 2002
/usr/bin/same-gnome
-r-xr-s--x 1 root games 71065 Aug 14 2002 /usr/bin/sol
-r-sr-xr-x 1 uucp uucp 122210 Jul 20 2002 /usr/bin/uucp
-r-sr-sr-x 1 uucp uucp 168260 Jul 20 2002 /usr/bin/cu
-r-sr-sr-x 1 uucp uucp 56799 Jul 20 2002 /usr/bin/uuname
-r-sr-xr-x 1 uucp uucp 132739 Jul 20 2002 /usr/bin/uustat
-r-sr-xr-x 1 uucp uucp 123438 Jul 20 2002 /usr/bin/uux
-rws--x--x 1 vcsa root 7491 Aug 24 2002
/usr/lib/mc/bin/cons.saver
-rwsr-xr-x 1 root root 5100 Sep 6 2002
/usr/libexec/pt_chown
-rws--x--x 1 root root 162476 Aug 14 2002
/usr/libexec/openssh/ssh-keys
ign
-rwsr-xr-x 1 root root 33071 Jun 24 2002 /usr/sbin/ping6
-rwsr-xr-x 1 root root 13718 Jun 24 2002
/usr/sbin/traceroute6
-rwxr-sr-x 1 root utmp 15570 Jun 24 2002
/usr/sbin/utempter
-rwxr-sr-x 1 root smmsp 754801 Aug 30 2002
/usr/sbin/sendmail.sendmail
-rws--x--x 1 root root 29676 Sep 5 2002
/usr/sbin/userhelper
-rwsr-xr-x 1 root root 15502 Sep 5 2002
/usr/sbin/usernetctl
-rwxr-sr-x 1 root utmp 13414 Aug 30 2002
/usr/sbin/gnome-pty-helper
-rwsr-xr-x 1 root root 10205 Jul 2 2002
/usr/sbin/userisdnctl
-rwsr-xr-x 1 root root 32076 Jun 24 2002
/usr/sbin/traceroute
-rwsr-sr-x 1 root root 734360 Nov 14 2002 /usr/sbin/kppp
-rwxr-sr-x 1 root lock 12325 Jun 24 2002
/usr/sbin/lockdev
-r-s--x--- 1 root apache 20469 Sep 5 2002 /usr/sbin/suexec
-rwxr-sr-x 1 root postdrop 95744 Jul 24 2002
/usr/sbin/postdrop
-rwxr-sr-x 1 root postdrop 84885 Jul 24 2002
/usr/sbin/postqueue
-r-sr-sr-x 1 uucp uucp 287182 Jul 20 2002 /usr/sbin/uucico
-r-sr-sr-x 1 uucp uucp 136759 Jul 20 2002 /usr/sbin/uuxqt
-rws--x--x 1 root root 1884018 Sep 6 2002
/usr/X11R6/bin/XFree86
-rwsr-xr-x 1 root root 35302 Jun 24 2002 /bin/ping
-rwsr-xr-x 1 root root 81996 Aug 31 2002 /bin/mount
-rwsr-xr-x 1 root root 40700 Aug 31 2002 /bin/umount
-rwsr-xr-x 1 root root 19132 Aug 30 2002 /bin/su
-r-sr-xr-x 1 root root 119592 Aug 2 2002
/sbin/pwdb_chkpwd
-r-sr-xr-x 1 root root 17180 Aug 2 2002
/sbin/unix_chkpwd
-rwxr-sr-x 1 root root 12578 Sep 5 2002 /sbin/netreport
-r-s--x--x 1 root root 7132 Aug 2 2002
/sbin/pam_timestamp_check
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
i'm sorry. i didn't mean for you to list suid stuff, i just
wanted you to read a little about it before you set
your programs suid and see how to set and unset them.
if your program is suid, you might have luck with it deleting
the lock file itself, or whatever is going on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.