[lug] apache perms

Sean Reifschneider jafo at tummy.com
Thu Oct 2 19:37:06 MDT 2008


karl horlen wrote:
> i'd love to be able to temporarily login as my apache user/group
> when i make these changes so i don't have to worry about perms or

su -s /bin/sh apache

For example, on my laptop sshd is a good example, I don't have an apache
user.  So, for example:

   guin:~$ sudo su sshd
   This account is currently not available.
   zsh: exit 1     sudo su sshd
   guin:~$ sudo su -s /bin/sh sshd
   $ id
   uid=107(sshd) gid=65534(nogroup) groups=65534(nogroup)

Sean
-- 
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20081002/143a3bca/attachment.pgp>


More information about the LUG mailing list