chtab is.. special... It bypasses xcatd and goes direct. The reason being is that otherwise we have chicken and egg situation (if site table not configured, can't start service, without policy table entry, can't change policy table).
There is, however, a tabch command which should serve that purpose, but through the API. From: "Pocina, Goran" <[email protected]> To: "[email protected]" <[email protected]> Date: 02/14/2014 04:12 PM Subject: [xcat-user] chtab only works for "root", not for ordinary users The users in question are defined in our policy table, and have no problems using "chdef", or "tabedit", for example. "6.7","fennm",,,,,,"allow",, But when running "chtab", they can't access the xcat mysql database: drdxcatm:~$ chtab node=labcm0001 nodetype.profile="cm-dev" DBI connect('/etc/xcat/nodetype.sqlite','',...) failed: unable to open database file at /opt/xcat/lib/perl/xCAT/Table.pm line 790 Can't call method "prepare" on an undefined value at /opt/xcat/lib/perl/xCAT/Table.pm line 807. This can be fixed by opening up read permissions on /etc/xcat/cfgloc, but given that this contains the mysql password, it's dangerous. Should non-root users be able to use the xcat "chtab" command? ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
