[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: su and shutdown questions - Stop your hacks



I am rather new to this and am not really sure what you mean by this?
What is ifcfg-ppp? One other thing I am not completely familier with is
setuid. If you could explain this in a little more detail I would
greatly appreciate it.

Thanks,

Aaron

"Subscriber News1" wrote:
> 
> Allowing users to use ppp is easy. Just set  USERCTL=yes or no in the
> ifcfg-ppp scripts.
> The ifup script uses usernetctl to do the rest. Unless you use ppp-on/off
> which calls pppd directly, pppd does NOT have to be setuid. If feel the
> safer way is to use ifup since pppd is not permanently setuid.
> R.
> 
> >I have been trying to make it possible for a regular user to run the
> >ppp-on script, but can't seem to make it work. Every time I try to run
> >ppp-on from my user account I get a "permission denied" message. What I
> >originally tried to  was chmod +x ppp-on, but it seems like it didn't
> >work. So what I am currently do is su to root and start ppp-on, then
> >exit and log into my user account. That seems to solve my connecting
> >problems, but I would like to be able to do this as user. This leads me
> >to my second problem, once I have logged in as a user and I want to
> >shutdown I have to su to root to do it. This is fine except once I am
> >root and I type 'shutdown -h now' bash tells me 'command not found'. So
> >with some playing I descovered that I have to type '/sbin/shutdown -h
> >now'. I guess my question regarding this is why can I just type
> >'shutdown -h now' from any location when I log in as root, but if I have
> >to su to root I have to type '/sbin/shutdown -h now'?
> >
> >This seems very strange.
> >
> >Thanks,
> >
> >Aaron
> >
> >
> >--
> >  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> > http://www.redhat.com http://archive.redhat.com
> >         To unsubscribe: mail redhat-list-request redhat com with
> >                       "unsubscribe" as the Subject.
> >
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                 http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request redhat com with
>                        "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]