[rancid] Re: su - rancid doesn't work.. What am I doing wrong here?

Sam Munzani smunzani at comcast.net
Tue Apr 29 02:48:22 UTC 2008


I figured out that it has to do with /bin/false in /etc/passwd entry 
instead of a real shell. Is that normal? If I can't su to rancid, how 
can I run the scripts? Should I change that to /bin/sh?

Thanks,
Sam
> Hi,
>
> Please tell me what am I doing wrong here? Its simple thing but for 
> some reason it doesn't work.
>
> smunzani at ubuntu:/var/lib/rancid$ sudo bash
> root at ubuntu:/var/lib/rancid# id
> uid=0(root) gid=0(root) groups=0(root)
> root at ubuntu:/var/lib/rancid# su - rancid
> root at ubuntu:/var/lib/rancid# id
> uid=0(root) gid=0(root) groups=0(root)
> root at ubuntu:/var/lib/rancid# more /etc/passwd
> << snip >>
> rancid:x:111:122::/var/lib/rancid:/bin/false
>
>
> I tried to su from my own account too and that doesn't work either.
> smunzani at ubuntu:/var/lib/rancid$ su - rancid
> Password:
> smunzani at ubuntu:/var/lib/rancid$ id
> uid=1000(smunzani) gid=1000(smunzani) 
> groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),107(fuse),119(lpadmin),120(admin),1000(smunzani)
>
> Why is not my su - rancid command working here? Any suggestions on 
> what should I be looking at? I am running ubuntu server 8.0.4.
>
> Thanks,
> Sam
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080428/c2bd1802/attachment.html 


More information about the Rancid-discuss mailing list