Re: [nottingham] su mode

From: Tom Allender (txa99c@cs.nott.ac.uk)
Date: Mon 30 Apr 2001 - 23:55:37 BST


Paul Mellors wrote:
>
> just realised what i said.......doh..
>
> what i meant is how do i make a standard "KDE" user have root etc etc

If you mean -
How do I let any user run an application as root without authentication?

You can set the 'set user ID on execution' bit with 'chmod' to the application
by typing:
 chmod u+s the_application
 [assuming the application is owned by root]
Do be careful with what you change to setuid root. :)
 
> silly question really, i've just (finally) figured out how to connect to a
> novell server using ncpmount, but i need to be su to do it. How do i make
> a stardard user have root privaliges?

You might be able to just do the above to ncpmount.
 chmod u+s ncpmount
It is _not_ the best way. Is there not a config file for ncpmount akin to
/etc/fstab that you can add the servers that you want to mount to, so that is
all done while booting?

Tom.
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Thu 22 Nov 2001 - 13:11:17 GMT