[Stgt-devel] tgt-admin tool development ...

FUJITA Tomonori fujita.tomonori
Fri Jul 25 13:16:51 CEST 2008

On Fri, 25 Jul 2008 12:59:19 +0200
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> FUJITA Tomonori schrieb:
> > On Thu, 24 Jul 2008 23:44:21 +0200
> > Tomasz Chmielewski wrote:
> (...)
> >> Obviously, it wouldn't show passwords, as tgtadm doesn't show them.
> > 
> > Well, if many people think that tgtadm should show the passowrds, I
> > have no problem about it.
> Yeah, it's debatable if it should show passwords or not. Would it be a 
> security risk?
> On the other hand, tgtadm requires root privileges, and the passwords 
> are perhaps in clear text written somewhere (i.e., config file)?

We can change tgtadm not to require root privileges.

I have no preference about showing or not showing passwords.

> In either case, *if* tgtadm supported showing passwords, it should only 
> do so with an additional switch (--mode target --op show-all?).

I prefer to add another option like '--show--password' rather than
adding another operation like show-all.

Well, I think that just showing passwords is not a bad idea. If anyone
is not against it, I'll change the code some time next week.

> >> Do you think such feature would be useful?
> > 
> > Converting the current configuration to a configuration file sounds
> > useful.
> OK, in that case, I should have it ready by Monday.

Cool, thanks in advance!

More information about the stgt mailing list