Les Mikesell wrote at about 12:26:04 -0500 on Tuesday, May 3, 2011: > On 5/3/2011 12:11 PM, Jeffrey J. Kosowsky wrote: > > RYAN M. vAN GINNEKEN wrote at about 01:42:42 -0600 on Tuesday, May 3, 2011: > > > Running BackupPC on FreeBSD 8.1 doing some troubleshooting, but > > cannot seem to get this command to work. Also cannot seem to login as > > backuppc user no shell and all that, please help > > > > > > usr/local/bin/BackupPC_dump -v -f localhost > > > /usr/local/bin/BackupPC_dump: Wrong user: my userid is 0, instead of > > 300 (backuppc) > > > Please su backuppc first > > > BackupPC::Lib->new failed > > > > > > > Personally, I use 'sudo' -- as in: > > sudo -u backuppc .... > > Not sure though if sudo is a standard package with freebsd... > > Even it it is, it should try to run the shell specified in the passwd > file for the user. Apparently the way backuppc is installed it doesn't > have a valid shell or a simple su would have worked.
As (marginally) added security, I give my 'backuppc' /etc/passwd entry the shell '/sbin/nologin' -- which works with sudo but disallows simple 'su' login. So a real shell is not necessary... ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
