Renaming policy
Jorge Bernal
koke at sindominio.net
Mon Dec 13 12:51:30 CST 2004
On Monday 13 December 2004 15:34, Emil Oppeln-Bronikowski wrote:
> On Mon, 13 Dec 2004 06:12:13 -0800
>
> There's noexec for home directory plus no compilers for normal users. I
> agree with you, that there's a better way to achive this. But thanks to my
> question I gain new knowledge about preparing .dep packages, and even if my
> solution and code sucks, it's still plus on my side.
>
Just another Q&D idea. If I have understood correctly, you only want to allow
a group of users the use of last.
The workaround:
chown 750 /usr/bin/last
add the users to /etc/sudoers to allow them to run last without password
put in /etc/bash.bashrc
alias last="sudo /usr/bin/last"
I'm not sure if it's going to work this way but you can try :)
--
Jorge Bernal "Koke"
Personal: koke at sindominio.net
Jabber: koke at zgzjabber.ath.cx
Blog: http://www.amedias.org/koke/
"Computer Science is no more about computers than astronomy is about
telescopes." - Edsger Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20041213/e14eb729/attachment.pgp
More information about the ubuntu-devel
mailing list