<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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?<br>
<br>
Thanks,<br>
Sam<br>
<blockquote cite="mid:48168957.7070609@comcast.net" type="cite">Hi,<br>
  <br>
Please tell me what am I doing wrong here? Its simple thing but for
some reason it doesn't work.<br>
  <br>
smunzani@ubuntu:/var/lib/rancid$ sudo bash<br>
root@ubuntu:/var/lib/rancid# id<br>
uid=0(root) gid=0(root) groups=0(root)<br>
root@ubuntu:/var/lib/rancid# su - rancid<br>
root@ubuntu:/var/lib/rancid# id<br>
  <font color="#990000"><big>uid=0(root) gid=0(root) groups=0(root)</big></font><br>
root@ubuntu:/var/lib/rancid# more /etc/passwd<br>
&lt;&lt; snip &gt;&gt;<br>
rancid:x:111:122::/var/lib/rancid:/bin/false<br>
  <br>
  <br>
I tried to su from my own account too and that doesn't work either.<br>
smunzani@ubuntu:/var/lib/rancid$ su - rancid<br>
Password: <br>
smunzani@ubuntu:/var/lib/rancid$ id<br>
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)<br>
  <br>
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.<br>
  <br>
Thanks,<br>
Sam<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a></pre>
</blockquote>
<br>
</body>
</html>